Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp756144rwl; Wed, 12 Apr 2023 03:48:19 -0700 (PDT) X-Google-Smtp-Source: AKy350YboMenJi4lyMDqYBiGS37bLxNydvYWzQU2Cpcr6mHoBmBN5px+ahmrA6gpVkKBFkxGmh87 X-Received: by 2002:a05:6a20:85a4:b0:d9:2827:b65a with SMTP id s36-20020a056a2085a400b000d92827b65amr13669329pzd.5.1681296498921; Wed, 12 Apr 2023 03:48:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681296498; cv=none; d=google.com; s=arc-20160816; b=qr7r+0yPXcrwjn86e2xrsFs9IPsx/FnyCUUkVN3nH7191eib1HE3TIyswtqAOKx3YG 6INQmwn2fWcG4dYRXxPCkcLg2aSnFr0yu4f6dgSFTV5ZI+X+hJ1NeEb6wzB6gYTMnfLD ALuBWQ+cqMiAJRSu6iwNHUgEUw153whiwO64eyh3Fv8ulMcSx9oG2yNHB7iVdOACyljb 9T2V1r6qWCmwM1SB2c46+vjjOMov+L1/HPsxgZRFIoPiGYqHTtBLr/s59t3tHPUBzVLc rs9QYLB/JtykcgDFk7kR6iv7gcclr9TT5kBjDYZIOXQ8sR5+gQ7r9MCantcGzXuTqAyZ nL3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DuFngdUeoAG2B+mHJrRontWyXzsXtI+sysE3ywvZC3o=; b=yBMMTXcCm1SYzw/iu5rT1W6aMSznUGCybvAJlgXS1xylZAvZuMFZL9vtoBFOhzF4Rt dNHxqQMgGulcp7JAO9JVvi0qKmXIFt1iYMWaedeLbdWmK13+ap0vDHnzSZ6+kZ8Qotz/ WdGA7v8Hn01Q2U+4CrUqb044dbXHFWxguVTojQsPGQWA9fzhhI/NuTN0tA4Ze8S5+ahB fRly9RgBAU2i1OinnsSuS3BA5eUo6JkzG7seLS77IXqFEc35jn1Lniinid1U9M5xpakL IGmk47wWLw40dm2mi+21jcUEzZPs/0Hx9MVArvEFLX/Mh75yQUAYXBVdVh4J/A5K/YHu zCow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vPicg3eV; 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 21-20020a630015000000b00517ce377586si10971384pga.270.2023.04.12.03.48.05; Wed, 12 Apr 2023 03:48:18 -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=vPicg3eV; 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 S229936AbjDLKqv (ORCPT + 99 others); Wed, 12 Apr 2023 06:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230155AbjDLKqn (ORCPT ); Wed, 12 Apr 2023 06:46:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 712736EAD; Wed, 12 Apr 2023 03:46:42 -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 026A2632E3; Wed, 12 Apr 2023 10:46:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1DBCC433D2; Wed, 12 Apr 2023 10:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681296401; bh=Tr7sV3WyZ6on9eEvc7Hx0VuBM8bAoYrBgT9VuZrFKkA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vPicg3eVeTDzbveoDfulpmZHOZi2awyobEqabPWEJY1aSq7NkoxiiX5WZSlGLXAh/ RAKAywOwVdpaT+TwxqyPUK/j8GwPBYcaRi/kpX47h9BmEj4MFoVo+wLrNb2vLiW2V8 pMfAFTUrWgUBAZ+rjoV+EB+rCvb26a8DpHoAegcckY/OVqISbOVAMEy7rGuPqo+uJN wJNg1sCS0Ca1RYq/zlJOXI0hc1378bX3la53LSmO0qS1JfHN0SE9B6w4QbARQypMJi ZGx2ZOXlqhehpQ70c7D+Mu1q0sXxlhc/OhQo7ITZow9eZrfUiYn7KQvE9Vq2eFpimP 3FcEfZ/UXqMDw== Date: Wed, 12 Apr 2023 12:46:33 +0200 From: Lorenzo Pieralisi To: Manivannan Sadhasivam Cc: Rob Herring , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, bhelgaas@google.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "dt-bindings: PCI: qcom: Add iommu-map properties" Message-ID: References: <20230411121533.22454-1-manivannan.sadhasivam@linaro.org> <20230411174742.GA3428751-robh@kernel.org> <20230411184231.GA59982@thinkpad> <20230412101112.GA9463@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230412101112.GA9463@thinkpad> X-Spam-Status: No, score=-7.1 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 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, Apr 12, 2023 at 03:41:12PM +0530, Manivannan Sadhasivam wrote: > On Wed, Apr 12, 2023 at 10:15:53AM +0200, Lorenzo Pieralisi wrote: > > On Wed, Apr 12, 2023 at 12:12:31AM +0530, Manivannan Sadhasivam wrote: > > > On Tue, Apr 11, 2023 at 12:47:42PM -0500, Rob Herring wrote: > > > > On Tue, Apr 11, 2023 at 05:45:33PM +0530, Manivannan Sadhasivam wrote: > > > > > This reverts commit 6ebfa40b63ae65eac20834ef4f45355fc5ef6899. > > > > > > > > > > "iommu-map" property is already documented in commit > > > > > > > > Need the commit hash here. > > > > > > > > > ("dt-bindings: PCI: qcom: Add SM8550 compatible") along with the "iommus" > > > > > property. > > > > > > > > Shouldn't there be a patch removing "iommus" as discussed? > > > > > > > > > > Yeah, that was my intention after the dts patches were merged. And since the > > > dts patches are in linux-next now, I could finally send the patch. > > > > I don't understand what's the plan here. By the way, instead of merging > > this revert I just dropped the commit that this patch is reverting from > > the controller/qcom branch, please have a look to check if everything is > > what you expect it to be there. > > > > This is fine. The plan is to remove the "iommus" property from Qcom PCI binding > since we have removed the usage of that property from devicetree [1]. Initially > the iommu properties were not documented at all in the binding. But commit, > "dt-bindings: PCI: qcom: Add SM8550 compatible" added them to the binding to > satisfy dtbs check. But in parallel, the patch removing "iommus" property from > dts got merged to qcom tree. > > So now we have 2 options here: > > 1. Amend the commit "dt-bindings: PCI: qcom: Add SM8550 compatible" to remove > the "iommus" property. > > 2. I will submit a separate patch removing that property. > > Lorenzo, let me know what works for you. Sorry for the mess! Confusion happened > due to patches getting applied without sync. You can inline a diff here for (1), I will amend the commit. Thanks, Lorenzo > - Mani > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6340b391e15094575911ab0d96bfff09deadafba > > > Lorenzo > > > > > - Mani > > > > > > > > > > > > > So let's revert the commit that just added "iommu-map" to avoid > > > > > duplication. > > > > > > > > > > Signed-off-by: Manivannan Sadhasivam > > > > > --- > > > > > Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 2 -- > > > > > 1 file changed, 2 deletions(-) > > > > > > > > > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > > > > index 5d236bac99b6..a1318a4ecadf 100644 > > > > > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > > > > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > > > > @@ -78,8 +78,6 @@ properties: > > > > > > > > > > dma-coherent: true > > > > > > > > > > - iommu-map: true > > > > > - > > > > > interconnects: > > > > > maxItems: 2 > > > > > > > > > > -- > > > > > 2.25.1 > > > > > > > > > > > -- > > > மணிவண்ணன் சதாசிவம் > > -- > மணிவண்ணன் சதாசிவம்