Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C860C433EF for ; Tue, 14 Dec 2021 16:35:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236070AbhLNQf6 (ORCPT ); Tue, 14 Dec 2021 11:35:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235592AbhLNQf4 (ORCPT ); Tue, 14 Dec 2021 11:35:56 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C04B4C061574; Tue, 14 Dec 2021 08:35:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TJHlVmEwt9Yn7nAUG6DPNm043cF9utC+xQV8paAaWAM=; b=40+u+vmk+XOCdOggCN3h/j84ei /3cHk7zQUUWAjO9te9WovB6Bm/2TRYibL9UYnuGoXbVv1dGpp6g0qxveO48vRpmDPDVjJhLHOEWfk 0XrgFgVrH55QKwNv81pFeHEkSd+T8oAVZ1JIzjCUkHjvO65HvwV/7suK97kACt6P3P9v6gfT0ZEBT NznjhIZg166Wf794uvCH9pqUFup+y7kF8gvWq5mvli3vA7JwtSTnuDgj97K5PiN92TEYmzwTxNOEK xko6UTXcPDjqnmahdq2wM6v0+Dd71MgY20Z28Hw8LrAu4Fa3ooFyg1ASL7/ChmuCoqyDUjNAiXdbG Ahx4xg1Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxAm8-00Ev5n-T0; Tue, 14 Dec 2021 16:35:36 +0000 Date: Tue, 14 Dec 2021 08:35:36 -0800 From: Christoph Hellwig To: Lu Baolu Cc: Jason Gunthorpe , Greg Kroah-Hartman , Christoph Hellwig , Joerg Roedel , Alex Williamson , Bjorn Helgaas , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Dan Williams , rafael@kernel.org, Diana Craciun , Cornelia Huck , Eric Auger , Liu Yi L , Jacob jun Pan , Chaitanya Kulkarni , Stuart Yoder , Laurentiu Tudor , Thierry Reding , David Airlie , Daniel Vetter , Jonathan Hunter , Li Yang , Dmitry Osipenko , iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 04/18] driver core: platform: Add driver dma ownership management Message-ID: References: <20211206015903.88687-1-baolu.lu@linux.intel.com> <20211206015903.88687-5-baolu.lu@linux.intel.com> <20211206150647.GE4670@nvidia.com> <56a63776-48ca-0d6e-c25c-016dc016e0d5@linux.intel.com> <20211207131627.GA6385@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This approach looks much better to me.