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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7095FEB64DA for ; Sat, 22 Jul 2023 14:02:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:Cc: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KunHdj4Oo61kThYnqcM1j5xsQAuzBRYuEQePUlxq7t4=; b=3fczLsj1VGtlDn Vfj1Q9SIHS707PYKOlaKwegHAJ0sK5zEaBjwrqhNNjBtXZLvjXDJ/7aduYg1Z61oJE0TM6brxYNRg TxPAASBJdPpIy8dNUztrDDqsJYtxy2gWqxgJPPBE3QMCr1s+Zdrw7aY6afvRaEwBD7Ap/jpKN6CI2 p9OJ8N85t+y6meLB/+JW5iGX8kr4Dq1UWJ9urznuf60Xd9wUNqdtuB297fMRmJ30dzx/PQQmHVxP3 rdj67lM1P3kTCV0+Q9ZsKYre79e4GJ/hbfVegGBJZLSPVrH4acbnq1WxaczuxMh6TBfGXY32W984L +CuUARkAlCN+JppvOSbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qNDBR-00Gp2K-39; Sat, 22 Jul 2023 14:02:09 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qNDBP-00Gp1Z-23; Sat, 22 Jul 2023 14:02:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690034527; x=1721570527; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=SqJ+O+atMOXabuGL4Lbq05LADBIKGyitXrMQM1qr5Ho=; b=kbQRsmlwzH0Ll4MJ0JkO5wP3pcW1l3VP2xhPTML9wYBdtiYz2rWwGurC VWjUi/Ky2UuxsxqWmgv3AgCQ7udZ5R9mN6ejB1/nuXgp75LJ3ajB1Pk7C hxD/jB7b492ANxE4Vu8n5LJaGtzAtJsgK/rtJKyKIWR+HZ+TKREe7yu32 QcwIwILtzZAhWv1jh53SZspu6+FT4oQxV8boLUEsj0iXFTb8/zJEci6y7 t9+zLKS+1hWMLhClfq+9f3DXvYwo4Ep2/0N1iacOtplbj0Gi/JEDVxQUZ 0WcuNYiDrXC0YABPjARZ0G9WmpYHBylEh1IyzdyPSGU09bUA454KFJ988 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10779"; a="398090055" X-IronPort-AV: E=Sophos;i="6.01,224,1684825200"; d="scan'208";a="398090055" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2023 07:02:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10779"; a="760278822" X-IronPort-AV: E=Sophos;i="6.01,224,1684825200"; d="scan'208";a="760278822" Received: from blu2-mobl.ccr.corp.intel.com (HELO [10.249.173.108]) ([10.249.173.108]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2023 07:02:02 -0700 Message-ID: <218edab7-ea1f-8629-4270-046e8b7c7fcc@linux.intel.com> Date: Sat, 22 Jul 2023 22:02:00 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: baolu.lu@linux.intel.com, Alex Williamson Subject: Re: [PATCH 03/10] iommu: Add generic_single_device_group() Content-Language: en-US To: Jason Gunthorpe , Baolin Wang , David Woodhouse , Heiko Stuebner , iommu@lists.linux.dev, Jernej Skrabec , Joerg Roedel , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, Orson Zhai , Robin Murphy , Samuel Holland , Chen-Yu Tsai , Will Deacon , Chunyan Zhang References: <3-v1-3c8177327a47+256-iommu_group_locking_jgg@nvidia.com> From: Baolu Lu In-Reply-To: <3-v1-3c8177327a47+256-iommu_group_locking_jgg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230722_070207_684372_1D363635 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2023/7/19 3:05, Jason Gunthorpe wrote: > This implements the common pattern seen in drivers of a single > iommu_group for the entire iommu driver. Implement this in core code > so the drivers that want this can select it from their ops. > > Signed-off-by: Jason Gunthorpe > --- > drivers/iommu/iommu.c | 25 +++++++++++++++++++++++++ > include/linux/iommu.h | 3 +++ > 2 files changed, 28 insertions(+) Reviewed-by: Lu Baolu Best regards, baolu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel