Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4566623ybb; Tue, 24 Mar 2020 00:53:35 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtJi14zAsRIPMtouZYAjF6gW/OlE9jqDa2PIaeVToMIrcpC5bDMKb4E3tIB4j8cGKwNt4R8 X-Received: by 2002:aca:5596:: with SMTP id j144mr2559055oib.62.1585036415362; Tue, 24 Mar 2020 00:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585036415; cv=none; d=google.com; s=arc-20160816; b=ipyCYEBtL0A3nPN40uaneBSFVqHCz+/WzNAeKO2H9hcuu5XdWDXkEm1iF6z7DWyJ3T j+rcTGe1v6hpPB0aQVC4d0ytd7/MKb+38jvOw10I7faE6yV5oFp7foDEwC3k/zU0Ceh7 gPhd6XK8CZwd6PHj31tWLwj8dz914Zg2pVtc86uO/6YDrSTXMZ/yzNlZqEv9GvTXgcth w7YvXDMCCOvWQBIdXd7OswbrScKLAJIJOHhJfit+AdHTrzf+eToq/ZrrtbbJiIJzrREI +e+riADlgPmV63Jsj1hPlI5DszVgxuredWd9tctRH2ARI/LcAD9GnwN8R5bGKjsUHS97 u8uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5qBubX+AmgjqpcO+w5ACvZ2hTzJ/BaG/Rpc2ZjCA6uQ=; b=g7idMZbQ6essUgcmtjNFwxuQU/Y91Zn/fh1hhZ7jN7/Z7YoMxZHOrclMhGu88rQ0F9 Ifoe0G9Y10xw3Iais3P37lrOAs+lH1ffpiyZsJR6ti1HvYwE3REBJAPlCQKJziEjUYKH ixhOP3gm8gpTCsOs+lQKf1GjgFKlSLr6zFjuXw1PoS200dKw3zEOfEgkMDKsYj7HVJO/ ID8nIqCbhpxAo7+xM64Mwalq6NwPdSjMgik2LrrSIHyi0PHfdzAkDlgqYVdlXPmTQji5 su29urX6kkQvRvkHIamOKRhl2CrC3zBLqDgPPiyO/wOUA8ss9NfrT6hGvFNQs31OIE91 l0mA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m126si8357846oig.177.2020.03.24.00.53.19; Tue, 24 Mar 2020 00:53:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727525AbgCXHwa (ORCPT + 99 others); Tue, 24 Mar 2020 03:52:30 -0400 Received: from verein.lst.de ([213.95.11.211]:34286 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726094AbgCXHw3 (ORCPT ); Tue, 24 Mar 2020 03:52:29 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id DE3EB68BFE; Tue, 24 Mar 2020 08:52:25 +0100 (CET) Date: Tue, 24 Mar 2020 08:52:25 +0100 From: Christoph Hellwig To: Alexey Kardashevskiy Cc: Christoph Hellwig , iommu@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, Lu Baolu , Greg Kroah-Hartman , Joerg Roedel , Robin Murphy , linux-kernel@vger.kernel.org, "Aneesh Kumar K.V" Subject: Re: [PATCH 1/2] dma-mapping: add a dma_ops_bypass flag to struct device Message-ID: <20200324075225.GI23447@lst.de> References: <20200320141640.366360-1-hch@lst.de> <20200320141640.366360-2-hch@lst.de> <2f31d0dd-aa7e-8b76-c8a1-5759fda5afc9@ozlabs.ru> <20200323083705.GA31245@lst.de> <37ce1b7e-264d-292d-32b1-093b24b3525c@ozlabs.ru> <20200323172014.GA31269@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 24, 2020 at 02:37:59PM +1100, Alexey Kardashevskiy wrote: > dma_alloc_direct() and dma_map_direct() do the same thing now which is > good, did I miss anything else? dma_alloc_direct looks at coherent_dma_mask, dma_map_direct looks at dma_mask.