Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9305055rwl; Wed, 11 Jan 2023 04:12:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuJQHLHXnpMRJ+ipdmyv41d7s7iJBQ9hiywTi9mwel4OeRK/NDRhgpUt9Dz2gHA/Xg1Qzbi X-Received: by 2002:a17:907:86a6:b0:7c0:fd1a:79f0 with SMTP id qa38-20020a17090786a600b007c0fd1a79f0mr86263614ejc.21.1673439126539; Wed, 11 Jan 2023 04:12:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673439126; cv=none; d=google.com; s=arc-20160816; b=SQufJTvFoTcCA58NXlmPQeQMpY2rAty8+yR0tgkigysfnymN6yEWzy9+RDgo5yN1zb 0rlvzIWozGlPYkG6JV28nGZbYIc7yPDcwEkYPRygZGYzO/tMMC9Sp/OJbFOmKX9oXma4 BWD7U/+p8GUnD58XYCW5Skl77rRLudiZBiJBUnxKndpLLe4xvZBXmMfGYk1BiPeVPIXh yUXrLLtuJ2az8EVT5HHmzh4+4MgwhnxYoQUA7HseMJ/Fs2uvQVbohyBt66D4wWl0QMEn Usu2kwUJHgh4wIYEjjepjXsokh6h1NUFZYom6l+FFtUvW2CB5z9t2DlqiKrIdwpZiF6f KCvw== 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=fv2lNIsN5RpdQca9OCm9rk90hHk7bweKV30f5J8WYYQ=; b=vr583wxZMnbk7GkSyq91EKR56+/cXnx7BUuub52o/Nl9oqgWS8i7eI6SpHozDKMXPt rFf6T9HQZi+2lc8OnPrEDnmEUxnxwYvx2dxkfDWpZGLyuYr5jB+x+aBOdmRZ2lkU6Sf4 Ep4opqPP84P2WrJYUrpM3ZI8/obgqK4o6Sx1nF+pdrnk4SnyPGXGBAn3kiZewpTcau+X nTCSNBMoWrqTJCOSlNxzLO2dAlhsQbaCBUncTp83oXHE57xVf9QGoKxIYtDNBg8iqov5 z9qtAVxudXNqBYv6wBgfJ+L9knnxLfhthp+3MrThF8ptChwwcl0Sis8aq0oyjHmJPOsG ascQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VieXLAyv; 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 he10-20020a1709073d8a00b007c1b8be370bsi16323355ejc.710.2023.01.11.04.11.53; Wed, 11 Jan 2023 04:12:06 -0800 (PST) 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=VieXLAyv; 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 S233485AbjAKLgf (ORCPT + 55 others); Wed, 11 Jan 2023 06:36:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233184AbjAKLfu (ORCPT ); Wed, 11 Jan 2023 06:35:50 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECDAF1C931 for ; Wed, 11 Jan 2023 03:33:14 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id o1-20020a17090a678100b00219cf69e5f0so19717908pjj.2 for ; Wed, 11 Jan 2023 03:33:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=fv2lNIsN5RpdQca9OCm9rk90hHk7bweKV30f5J8WYYQ=; b=VieXLAyvO2y4YPOm+zc7KcDX0PVHDgjfApEMJu0ylXH5BmdgjvdvOKxl8yyGBi95sq 4JZ26LQEdFA0H8UjBEBzTSM0rTz9l8vohHxXfGISDOyE5jOHZL7CafWvix7eu7tGkgj6 +91SapGiL2oyzKJaH2aW4os0TvMCrDvVLDFCqk9hGtSixJoxZCn8OQvMa+LC06xOTTGT Qx4L6kSjNOFGgJd31oV/lyvobTPCfoY22IVTBtmsfQ+t+YScVuJh7vgwKQuN+E5QCopG ThTzKcmDs0qoBNDZnYx/e+TjsQN41n7++hxI3uxGlZ64tyahB2xHa2gYdBk7VmqtFjbb 1z2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=fv2lNIsN5RpdQca9OCm9rk90hHk7bweKV30f5J8WYYQ=; b=IqVP0hVlyk7rGyXzLsBP1hBrdREicl1tXUTLGv4SEIH/QoVlXCdvrjgA+7xi0Dqa90 /zrrMzURf19g53cXVD0OgDkmxJ9LwtAEbl5XeneZNk96yCpYrhl/xW4aP42Yu1VpjaWt 3cWHSIw+CIVPvrtcwXNBL47ccXuPmxyW2y1/ue8aHFkGhkyR1nXiFGSaDe7vwpUX95wQ fISpQEHPQLAMpS+HIgr2SmcV9crMc9WkWmnLQiPRWErMLU0EEoilUQ5DMRkc5hkI2gqq Htbuqws1L23XTkPQc1caNM9O4WBSSDwmU0eKDZsjgr9i6h7SNdb2n9riAQYMQnyYaRtL bMCQ== X-Gm-Message-State: AFqh2koI6W/BjYz/+G/x7G2c/ugx2wKUi4vLA5kkdg23eHt/Yv3AtG3+ MRTzl6oLeGXy/JttTgSQbcl7 X-Received: by 2002:a17:902:7c8a:b0:192:835d:c861 with SMTP id y10-20020a1709027c8a00b00192835dc861mr52121497pll.68.1673436789834; Wed, 11 Jan 2023 03:33:09 -0800 (PST) Received: from thinkpad ([117.217.177.1]) by smtp.gmail.com with ESMTPSA id m18-20020a170902db1200b00192d07b8222sm9985139plx.100.2023.01.11.03.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 03:33:08 -0800 (PST) Date: Wed, 11 Jan 2023 17:03:01 +0530 From: Manivannan Sadhasivam To: Rob Herring Cc: 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, lpieralisi@kernel.org Subject: Re: [PATCH v3 2/3] dt-bindings: PCI: qcom: Document msi-map and msi-map-mask properties Message-ID: <20230111113301.GC4873@thinkpad> References: <20230102105821.28243-1-manivannan.sadhasivam@linaro.org> <20230102105821.28243-3-manivannan.sadhasivam@linaro.org> <20230108203340.GA229573-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230108203340.GA229573-robh@kernel.org> 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 autolearn=unavailable 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 Sun, Jan 08, 2023 at 02:33:40PM -0600, Rob Herring wrote: > On Mon, Jan 02, 2023 at 04:28:20PM +0530, Manivannan Sadhasivam wrote: > > The Qcom PCIe controller is capable of using either internal MSI controller > > or the external GIC-ITS for signaling MSIs sent by endpoint devices. > > Currently, the binding only documents the internal MSI implementation. > > > > Let's document the GIC-ITS imeplementation by making use of msi-map and > > msi-map-mask properties. Only one of the implementation should be used > > at a time. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 12 +++++++++--- > > 1 file changed, 9 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > index a3639920fcbb..01208450e05c 100644 > > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > @@ -114,14 +114,20 @@ required: > > - compatible > > - reg > > - reg-names > > - - interrupts > > - - interrupt-names > > - - "#interrupt-cells" > > - interrupt-map-mask > > - interrupt-map > > - clocks > > - clock-names > > > > +oneOf: > > anyOf > > The OS should have the option of both being present and pick which MSI > path it wants to use. > Makes sense. Given that the current series merged by Bjorn, I'll send a follow-up patch. Thanks, Mani > Rob -- மணிவண்ணன் சதாசிவம்