Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7233466rwb; Tue, 6 Dec 2022 03:07:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Xh9Ja2cuQ/B1D1JMvCtR/tj6vyQRAzhxYrsIZgMhxyWT1FB3ihmuFCIsEpNaxs59jAP87 X-Received: by 2002:aa7:cad9:0:b0:461:60e8:7ac1 with SMTP id l25-20020aa7cad9000000b0046160e87ac1mr29836309edt.45.1670324834195; Tue, 06 Dec 2022 03:07:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670324834; cv=none; d=google.com; s=arc-20160816; b=tjozwX157lxGIqrQBqC4OOkbvy2ORpslgyIczW9uj+5Zv1CyLWXV+o3vC8rBAkzW3x UXmyFBfE7+jG8CQGhp320ITqbdfYOzEQ14YDkg/BbMpFZcHpPwEzXQqUtciKTOK7wshV So9WydL5Luk7qQuk6GgXYBBe4PywO0vXYzTZz/Rn2akJa+4AE2USuDuoy0yXdOP1ZVml XCl8hlV/yByBqZiQWuPJtSe6rKccrgThq+5g3M/lneAP7Uu+s5dQsuBS8We1gU77AwWr CYGcRfeXK4UFx3geO9iLxthZ2inB1futUzpnk+nP7NY2bhaXSHWni0y8vTjR92baGLVM yvAg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tfvmNLipsJZ64skBckPljd4f5r2Wgiq6cODoDH3qGZo=; b=lzNUT9BUvRrqKwysMDsyfVRwAEzwRs1DKGkjjI6754zed0P53l26M1ymGTiWSbVmTS TuJG05eXFNjLneY2CrZSureaOXKKfidWIRnq1MizlKJg0BD8FU0YCpxsLezJFVktG9wh oF7rkhnpHUBvCJz9S9R6T7O/f2REYmwk73zDoyjCX4SGGBYA8j5GQnPIwozEQrSD97Qt G38oQ7qFQ5cuKJT1C+O6Lub7plT0wEohLVJOPEuaq4S4Waf4OiRdkJ8vQidN6EBtkAqZ 8/7UBUtHasf7V+oU96OUC2Ifj2BRPEk0JgF6KcY8Z4DWM878FE3V44xS4riNqDt2HgVm xrsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kYcIZ5Nn; 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 he39-20020a1709073da700b00782627f37d6si5368872ejc.778.2022.12.06.03.06.54; Tue, 06 Dec 2022 03:07:14 -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=@kernel.org header.s=k20201202 header.b=kYcIZ5Nn; 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 S234452AbiLFK4q (ORCPT + 79 others); Tue, 6 Dec 2022 05:56:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbiLFK4m (ORCPT ); Tue, 6 Dec 2022 05:56:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02D0D38AC; Tue, 6 Dec 2022 02:56:42 -0800 (PST) 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 91CB661648; Tue, 6 Dec 2022 10:56:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF0EFC433C1; Tue, 6 Dec 2022 10:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670324200; bh=7ls6/K3/852A+4TeLFUd3O/wBZF1AkjFJ6Ub7H+PRlk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kYcIZ5NnGXtzfGHMtMsYKIyF14FjmmyTDMt8auiNxUBpQAJDdL4xzCqgtKu9P2Kfl D/idGK+aHa+0LJTyIvrEwJKx40l1tDwRQJ50kqYvpXAJq1E4kj0P3QrAxPhw5V/m0I UgqnGR2nFFnqiJ2T6QSOtfTW07ofBSvQF7Q0EUDYkMNDevpyomYB01iAUp1yFtEUlQ YIywv0oY1wTNbwWREfdPUqJnuylv7Z2P8ozdOFtrBnpYtko8mI28PMj8WWFbtSfSep QdkPn69i2pdEC6wU1aRLfNHxVxQ1m3UjHzwnVAHQ56Zih4ctyJLNP+NA/aqiXCOROg uLnEErQ5E2VKg== Date: Tue, 6 Dec 2022 11:56:34 +0100 From: Lorenzo Pieralisi To: Johan Hovold Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: PCI: qcom: Allow 'dma-coherent' property Message-ID: References: <20221205094530.12883-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221205094530.12883-1-johan+linaro@kernel.org> 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 Mon, Dec 05, 2022 at 10:45:30AM +0100, Johan Hovold wrote: > Devices on some PCIe buses may be cache coherent and must be marked as > such in the devicetree to avoid data corruption. > > This is specifically needed on recent Qualcomm platforms like SC8280XP. > > Signed-off-by: Johan Hovold > --- > > Lorenzo, the corresponding SC8280XP DT fix is heading for 6.2 so it > would be nice if this one could be merged for 6.2-rc1 (or -rc2) as well > to avoid the corresponding DT validation warnings. What's the commit base for this patch ? I tried applying to my pci/dt branch to no avail, please let me know and I will merge it. Lorenzo > > Johan > > > Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > index 2f851c804bb0..a5859bb3dc28 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > @@ -62,6 +62,8 @@ properties: > minItems: 3 > maxItems: 13 > > + dma-coherent: true > + > interconnects: > maxItems: 2 > > -- > 2.37.4 >