Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp721968rwl; Wed, 12 Apr 2023 03:13:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZYZVFkYuGHNlZJTnw+8XfV2X2bL/HuLCDoObAX+UdrLHSWkbxgL6O2tBmkRZIYRtLwxA11 X-Received: by 2002:a62:3803:0:b0:623:8592:75c4 with SMTP id f3-20020a623803000000b00623859275c4mr6092569pfa.29.1681294393067; Wed, 12 Apr 2023 03:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681294393; cv=none; d=google.com; s=arc-20160816; b=bKsMQRd31ATX+EjAMQeLlfteFLz9KgXiSnznBjBzFfTwv0suQZ4KZZi98/ihLzcLX2 0U/+Mc2NZrvv4nNTkDVJKCRrW1iMPBvz9QvoYue2727xzzxUn4GU4jcVyPPWqifhDADA dm0VnA/+w5fRNQkoOCivdtz09KY6+1tZ1INw+n/banvQ9Y0fJTCSg3OAyKK2baZeqVEu wzx580BRpI2d6WhFHXPUxHwVflwam9zKqa2egH2kj179N9QWmspswdTGSYQ5A+3deaTE tRBfB5jeoNfL+yaH11zmydRfkPVcv3lLzLvM2oBbnXFNxE9gGsGxNVXUmjcR7aFo3KI/ XqqA== 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=E8Dyl4+NdOephBJ8a5CGLrM2Bu7+ex2R8fnMkaTpqs4=; b=haiC/9mMPVARIPJ1HSA5LPWJ8rmly3QMXPfExI5O8fmiNhZq2CRJkCSQJEOxz2KpB8 fCrgox1i441/225sVUiaT2jHBRqQH0e94ir3tkrhXMKFkIV9jKxsS8rmzdgls+NmKg/a shJ4Jv3MYd7xAZ0MUqbcm7Oxgv2Ls7H0lelhl/rIXRjoGg4IGK8rvlBFAOz+5lxlpvgD 2vzdSzFgUbGf52NmlX1D11mUmHEhLE6b586CG60Bvywg2YiJiey+yh3+XfD/9W9u/O94 n9Yt2Z92/m4xQXaEUubvfknkkiuHZeKY6K0m4khnGXwtqcasF3BqT0qYm9/oBrzGzAtZ TOeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mz5OpN3y; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w27-20020aa79a1b000000b00627e9ad5918si15547985pfj.193.2023.04.12.03.13.02; Wed, 12 Apr 2023 03:13:13 -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=@linaro.org header.s=google header.b=mz5OpN3y; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230260AbjDLKL2 (ORCPT + 99 others); Wed, 12 Apr 2023 06:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229947AbjDLKL1 (ORCPT ); Wed, 12 Apr 2023 06:11:27 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EF91F1 for ; Wed, 12 Apr 2023 03:11:22 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id n14so35968391plc.8 for ; Wed, 12 Apr 2023 03:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681294282; x=1683886282; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=E8Dyl4+NdOephBJ8a5CGLrM2Bu7+ex2R8fnMkaTpqs4=; b=mz5OpN3ySFLWfaIDtFk+QVy7GrbLBKNedf9Vu+hPa+TK0mu13m7MrIQ8OEe6pbJAWQ fbNT7LpAG2fd4KTvtHfzUu6jof2ugDDGynUWoavd+e/Jt3PY6P5L+vYcwrabo+RSYWri ILmzz2EOWH/mZlpfbeU2MtvwJUMnUsDeK0FDzNJtDxRnR6SbeaMGJil5T9RGDlncPbib uAC5ZIexDvQORv2cI+I38V/ubGCDciwBgIFDqlFLf5Ia4SOWcFXnIYWEmKKQBgcIi/vy c86DUgPPBy+nlDR9ZeEfbfqxyM6Y9R7QN+6mFnclLLmy/UjO/QlzcGXgQ3uMC2tgB3Ib 86NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681294282; x=1683886282; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E8Dyl4+NdOephBJ8a5CGLrM2Bu7+ex2R8fnMkaTpqs4=; b=owsiyeQhALywiQfzNrnvjaQBAoJGnwH2TcMuF/Y9aBSozjnKamlDpzqaXo7wWC4tQK I7jz1c0XTeBIYYRF/vsW9tQSRIdh8/oQvOBt3qtnV+kEKM95PbWMwHwyR9pSh5phQLy3 ndf0yOvKPIANGL98KNVTH9WIfsfigLVAA89zjWXSSJLgA25cjGw9kW+Dj51Xgz1l1/Jo D+aYY4u6DigG2THOo6Ys3vr3nxUkwJlXhmiU0Gv29jtxvyGE/cMWD0FKu0RiIymAYvVY PYEwH0vMVrzrS390z3AGQtTNwQGMT/AwPOcYam4iBPzV0c4ovKRimaUFSN0Gj2hI0AEp 2Fqw== X-Gm-Message-State: AAQBX9cnMj5iaDZBM0+KcSwsqmETUTn9NOdLNUf4AcalkbapdXUr9hI5 XRINE+gIDgRewpklY0mFBtLj X-Received: by 2002:a17:902:ce86:b0:1a6:4532:1159 with SMTP id f6-20020a170902ce8600b001a645321159mr7580106plg.63.1681294281569; Wed, 12 Apr 2023 03:11:21 -0700 (PDT) Received: from thinkpad ([117.216.120.128]) by smtp.gmail.com with ESMTPSA id iz15-20020a170902ef8f00b001a1dc2be791sm6121654plb.259.2023.04.12.03.11.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 03:11:21 -0700 (PDT) Date: Wed, 12 Apr 2023 15:41:12 +0530 From: Manivannan Sadhasivam To: Lorenzo Pieralisi 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: <20230412101112.GA9463@thinkpad> References: <20230411121533.22454-1-manivannan.sadhasivam@linaro.org> <20230411174742.GA3428751-robh@kernel.org> <20230411184231.GA59982@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 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. - 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 > > > > > > > > -- > > மணிவண்ணன் சதாசிவம் -- மணிவண்ணன் சதாசிவம்