From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F603C3A59C for ; Fri, 16 Aug 2019 07:43:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 77CCE20644 for ; Fri, 16 Aug 2019 07:43:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Qass6xeI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77CCE20644 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sKmHmy6cZXZMuFa+QxLhZJtBPEJ0eNic2x0zL4XzGWw=; b=Qass6xeI+ilUWd jj1lU3jNyBR6IGHM1oq2YZGmM7gzywjSgDvdW/T9XwPQTHrzagQCPy9XOJ2U15pYtF4n1+wzv0uZF i37jgeRNLwZ29l2tpBQidWO8wHJnmhGQF39SKT/BAfqGybbgYb7R6aAEVpQkwEkNieL4/xhpIYr6D lXBhrIWlWHsZyjt+qapznpmoIb2NH14jGO6YUmeG80qNjxNvA2kmmDXVABG5/rbO6jh6+fW0QsFaS NeNWI3nFio8qiJzB6/EWAWWBIKuu4M7r4aSs9v/NSWKqwfWZL7p5PlDF/RclaNpQc6ZnbkzmM3bnU ZjYeuS6YWCSnkNjH4vHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hyWtu-0002X4-Qa; Fri, 16 Aug 2019 07:43:54 +0000 Received: from mail-oi1-f193.google.com ([209.85.167.193]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hyWts-0002Wk-6b for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2019 07:43:53 +0000 Received: by mail-oi1-f193.google.com with SMTP id y8so4168142oih.10 for ; Fri, 16 Aug 2019 00:43:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bvAyBsUlIJF0bF+3UmDVqzcZaxe3TRuVyFQ4SKm03Ag=; b=hWfMTlkOn9iBvx8mmjk6zrH2lzJl0mt7R8j2/pleKlY6GMHqQAEpG4wPeyAlXrR3ki GULsw6vAEl1wmAcbWfZ94/iSe0MAL/sBd+r+EhgBgGzsbhrbEE3R8UXjYhRfP4pwN9jr Sn4pFoKYWH4n3V3E5jAPINQsqVtF+Wezja05w7RlQ70mYg6mMIjcCwKy6YZ4q4srJwO8 Mo5R4XOC4+fcq0kQWRFgyUXD0yGyOR0qzzGVLdHpEfJ8OxMF88/DzDeKie7wdYoDrMwS zOr6Rss05C7uFTNHEtpfbhUP8nKPsze0yskPXwju1s7RFwg4j3sMzquhxirUZ3W4h3cI 66cw== X-Gm-Message-State: APjAAAUsjcHZS82BMnsxTca4VSArsGhWRRVISU48p+1te0kqhrA5ZRhq E3qVsz3zTWUNK6fTzV5BQSTtaF91KWm8tusk6sc= X-Google-Smtp-Source: APXvYqxDhwWwhe23FnPOhfwBJdvvv1RZQ4uxY4zTeFQQdGxuUoRdT5WMzdETbuNlDvSjEY17/b21joZDSXi2Bi1nfwg= X-Received: by 2002:a54:478d:: with SMTP id o13mr4253177oic.54.1565941431065; Fri, 16 Aug 2019 00:43:51 -0700 (PDT) MIME-Version: 1.0 References: <20190816070754.15653-1-hch@lst.de> <20190816070754.15653-5-hch@lst.de> In-Reply-To: <20190816070754.15653-5-hch@lst.de> From: Geert Uytterhoeven Date: Fri, 16 Aug 2019 09:43:40 +0200 Message-ID: Subject: Re: [PATCH 4/6] dma-mapping: remove arch_dma_mmap_pgprot To: Christoph Hellwig X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190816_004352_245178_6ECFD578 X-CRM114-Status: GOOD ( 12.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Shawn Anastasio , linux-m68k , Will Deacon , linuxppc-dev , Linux Kernel Mailing List , Linux IOMMU , Paul Burton , Catalin Marinas , James Hogan , Russell King , linux-mips@vger.kernel.org, Guan Xuetao , Linux ARM , Robin Murphy Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 16, 2019 at 9:19 AM Christoph Hellwig wrote: > arch_dma_mmap_pgprot is used for two things: > > 1) to override the "normal" uncached page attributes for mapping > memory coherent to devices that can't snoop the CPU caches > 2) to provide the special DMA_ATTR_WRITE_COMBINE semantics on older > arm systems > > Replace one with the pgprot_dmacoherent macro that is already provided > by arm and much simpler to use, and lift the DMA_ATTR_WRITE_COMBINE > handling to common code with an explicit arch opt-in. > > Signed-off-by: Christoph Hellwig > arch/m68k/Kconfig | 1 - > arch/m68k/include/asm/pgtable_mm.h | 3 +++ > arch/m68k/kernel/dma.c | 3 +-- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel