Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2389893imw; Wed, 6 Jul 2022 05:15:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t8oQi1Xua/gNP6Vl3eM8ePNHPghSEyTAUyLAugwrnVMauIRBXyVWSgJZQrjrn8F+mO0iJi X-Received: by 2002:a17:906:c5:b0:722:e65d:770d with SMTP id 5-20020a17090600c500b00722e65d770dmr38978045eji.330.1657109750156; Wed, 06 Jul 2022 05:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657109750; cv=none; d=google.com; s=arc-20160816; b=SRxV6WTd3Gc6uH+zUVqqslT/cb8I1vIrjjKmqOVSF1+dYotK4IhBkuREmX2iNEFS0P /o+V5XmldiB+/axkak6+9tW15lZ4SBiJqhV9WsWjLV6wR7/ux+oI2q24J5vdniabUNfQ k6c2MRQWg+OJ+t7jTrqGCeq6BakswSiRhCJF6QB0KQ8AMsCFwUGxAcBqwLYfzuvPAkF2 5BX2SbqzWjqqTIAZEOS1OY5iBd7jF2JDoyep8IQjFRJQXi4+cr/a7v5tKobZkNkt2T3e PcBFoxGT5Z7v1hUSzBzasNtigxS90kqJLnBhfAIsiOJ+DftB50YsOvBfkuB9mrGkqsm6 39kg== 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 :dkim-signature; bh=wPiFaDZwTkV8Sv30hd4ERfTQI3LuHRaQEsqiL5IOxIc=; b=mzMef6N7sZEtWJQjnOJrtX7BQPrBgf915OvFQf6zl+/VwZ1ZFatrvHUsOxty1mtM2b vAj4EHykMDWDSKqnoJ9oJdmO7ZqO+VLw0lMo81RaTIhq6VKmsEkeSrGexLUZLneLlu03 30XKJQ9ADiie9/xcssEeNnPVU9LG+keZxgow7ZU9vr7RwZxMl9FaQtdfrZc949KEXdkV OCtM1l6C3Wl8tAqWCb2drWXuijQ6Jq/1c9OOY/zNfzjUGyQ+O1+J1M5ozEjiRsF5HACN RDkwDfUbbUaWWsk6UAintmQq3+ZPHFaK4Rmla+Li3mtPK0hyNSAnz4jV91RNxP9U2a5J ucSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T+SyMH5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ew13-20020a056402538d00b0043a6c591f6esi9015681edb.378.2022.07.06.05.15.25; Wed, 06 Jul 2022 05:15:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T+SyMH5m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233694AbiGFMNe (ORCPT + 99 others); Wed, 6 Jul 2022 08:13:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233663AbiGFMNO (ORCPT ); Wed, 6 Jul 2022 08:13:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E1E52A42A for ; Wed, 6 Jul 2022 05:12:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3A2DD6091A for ; Wed, 6 Jul 2022 12:12:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7099DC3411C; Wed, 6 Jul 2022 12:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657109570; bh=QHpLGHyLyN/b6QbnN5swFE8qHq/MeprwbhETMjBS7NE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T+SyMH5mpkB1jQPKZy9F50UjS50/4YjeuHJYjvUv2DYwxnaaKls/y4hMo4epqHQ+N nXrqLg8WAxiBDcR11EcnsHO0IbItEPu5p7bBpjq8G89OEtSjQt4Fm4QXcy+WnWsu9U g0YLb967hCr+xPt/Vttjvc0yZSs/BvlXv29Hmu+G+6UFEDpYEke0PySivW5fQgKgTV 4qS84j6q4oBPrq5AtZyYOuhM0R3HsDmnB/7jsYvQUwhHTVM0viUzMMnE/e6OqTjdPg HC68cCRm/klseXQQvbL3fUPZi4XeCgH1HESUml55uM8B6ODnI2rjHiTziS3/w6l49R WPafFdUDf6wzA== Date: Wed, 6 Jul 2022 13:12:44 +0100 From: Will Deacon To: John Garry Cc: joro@8bytes.org, robin.murphy@arm.com, mst@redhat.com, jasowang@redhat.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, chenxiang66@hisilicon.com, thunder.leizhen@huawei.com, jean-philippe@linaro.org, linuxarm@huawei.com Subject: Re: [PATCH RESEND v5 1/5] iommu: Refactor iommu_group_store_type() Message-ID: <20220706121244.GH2403@willie-the-truck> References: <1649071634-188535-1-git-send-email-john.garry@huawei.com> <1649071634-188535-2-git-send-email-john.garry@huawei.com> <20220706120059.GE2403@willie-the-truck> <5ab934ff-0b16-0b55-e0f1-36366cd33e84@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ab934ff-0b16-0b55-e0f1-36366cd33e84@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 06, 2022 at 01:03:44PM +0100, John Garry wrote: > On 06/07/2022 13:00, Will Deacon wrote: > > On Mon, Apr 04, 2022 at 07:27:10PM +0800, John Garry wrote: > > > Function iommu_group_store_type() supports changing the default domain > > > of an IOMMU group. > > > > > > Many conditions need to be satisfied and steps taken for this action to be > > > successful. > > > > > > Satisfying these conditions and steps will be required for setting other > > > IOMMU group attributes, so factor into a common part and a part specific > > > to update the IOMMU group attribute. > > > > > > No functional change intended. > > > > > > Some code comments are tidied up also. > > > > > > Signed-off-by: John Garry > > > --- > > > drivers/iommu/iommu.c | 96 ++++++++++++++++++++++++++++--------------- > > > 1 file changed, 62 insertions(+), 34 deletions(-) > > Acked-by: Will Deacon > > > > Thanks, but currently I have no plans to progress this series, in favour of > this https://lore.kernel.org/linux-iommu/1656590892-42307-1-git-send-email-john.garry@huawei.com/T/#me0e806913050c95f6e6ba2c7f7d96d51ce191204 heh, then I'll stop reviewing it then :) Shame, I quite liked it so far! Will