Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3832989pxk; Tue, 22 Sep 2020 03:58:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQVQK89LQz9tywYA2PYaCLPpUCIrTR/BBbvfrUPApiE+0OyRbHEJkfkHTAXmHoVBPPbAci X-Received: by 2002:a05:6402:228c:: with SMTP id cw12mr3400817edb.174.1600772296043; Tue, 22 Sep 2020 03:58:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600772296; cv=none; d=google.com; s=arc-20160816; b=EMSiZe21dc3SXIuMXEg9vQ4rz3ihK1ITX4IgPkiGv2Fy9BZecEwmvEyo9s9vbMsHM2 XmqkeHeoC21x4breoMFOImbkNJRHvNIof6jnwp9XFaYFPvT9gVn751k6Ug4xIOYLte+w HndiRzDcr5nS378pMN4KfNFjEe4oUOlHoJWXiKUAbHZVXg5PDnTCglWGWB9/wB14lwdH D0Qw6MHmMFyDin/c77BCP/e0jGlCMiF3N8GHH7EDigU/DRA9uVWQZGWE09Z8JPJamqwq Wfb7ll7kzM5RjCtVOmQMj3eOrL0icAppOWF3zn8KnzP6IKkNlKMHUhF3FSZJhmhlrxi9 IAyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=nScqm32e7HUynaKDuh4dWXgLUr9s+sF2fzTyU1XeAeI=; b=VpsAEdspC5xJdJOKrOnCqqNynbHA+hI6hC61v/Kt11yRUdCwoOsgE/PRjv+14Fq/cS Do2Spg9ofpRvtJ+68aznjv1enJBS4pl3ln8Uxm4G6EbWTDpbIcKNKjyMZzocWUpZhm38 zDz4+p11cKX02+mR9BnP9keVR3Uq66Kmkpgnjf3V/HNJ1nyfi1paVp4k3C2pAnli4kQW 4obAe3B2cL8NFdjd4LqMwunh0fSHsmQwmfJLlbTjSYK4TLe+Ocd7anygd8SatkPaSnLI FrjpQD3y8S+KUWhX+h/MU44zBrpyyGoAzb68OGjI9Bbq58RJ/dHA56UUngmRlkXklWYS vikQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si9735869ejq.644.2020.09.22.03.57.52; Tue, 22 Sep 2020 03:58:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726673AbgIVK4h (ORCPT + 99 others); Tue, 22 Sep 2020 06:56:37 -0400 Received: from elvis.franken.de ([193.175.24.41]:51154 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbgIVK4a (ORCPT ); Tue, 22 Sep 2020 06:56:30 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1kKfxr-000822-06; Tue, 22 Sep 2020 12:56:03 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 4F214C0FFF; Tue, 22 Sep 2020 10:51:34 +0200 (CEST) Date: Tue, 22 Sep 2020 10:51:34 +0200 From: Thomas Bogendoerfer To: Christoph Hellwig Cc: Mauro Carvalho Chehab , "James E.J. Bottomley" , Joonyoung Shim , Seung-Woo Kim , Ben Skeggs , Marek Szyprowski , Tomasz Figa , Matt Porter , iommu@lists.linux-foundation.org, Stefan Richter , linux1394-devel@lists.sourceforge.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, nouveau@lists.freedesktop.org, netdev@vger.kernel.org, linux-scsi@vger.kernel.org, linux-mm@kvack.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 13/18] 53c700: convert to dma_alloc_noncoherent Message-ID: <20200922085134.GG8477@alpha.franken.de> References: <20200915155122.1768241-1-hch@lst.de> <20200915155122.1768241-14-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200915155122.1768241-14-hch@lst.de> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 05:51:17PM +0200, Christoph Hellwig wrote: > Use the new non-coherent DMA API including proper ownership transfers. > > Signed-off-by: Christoph Hellwig > --- > drivers/scsi/53c700.c | 20 ++++++++++++++------ > 1 file changed, 14 insertions(+), 6 deletions(-) Tested-by: Thomas Bogendoerfer -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]