Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5678390rwb; Mon, 5 Dec 2022 02:32:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf45CWE6Pf2PAnwk4orN3L2gf5MQPQDaY26qJwK7iUr2ajKcHNO8rMIq6iFL6a7LWUyAwCXn X-Received: by 2002:a17:902:e886:b0:188:fb19:5f39 with SMTP id w6-20020a170902e88600b00188fb195f39mr67649127plg.21.1670236365749; Mon, 05 Dec 2022 02:32:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670236365; cv=none; d=google.com; s=arc-20160816; b=PPYSFG2BH5wCvXBJs/03+kzSXK7U/s/qT0vJ7ZKUJBdZ2VgB3ekxuiNRgRNi6qzg81 57paTu7jcZUN4AAmeBd2bvsovxdwH2cUQ9c0ljj0R43/N890k36z8BBSHgNcXkL8bL8C cpiT4kj/LCX3sDA2PiOX5z0bZSm750aL35f0xpSRgHb0+2EPGMq1JnuHXl5N2Z2oW8IY G8ygsoA0rX+zvjw6RYAn8wh6LYHYccj6HHE9fpbknyw2Q+nDn7dVWIZflL7doe6wRqfH l4z8+2Ii1hax9qI5vg1614maIT+tZsfoihIGjxOD98QZsE+w0kAKZqKTyec0vTWkPuGq X5SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QHp7Cjuk1gdYbjoNDqdCfJ9h/cYbx/WisHAW8bXL8Ns=; b=RM2+NnVVLNqMHar7z3a4SNV7XKpHfDkNUMkhxS0Wr/y4UsLOjSwOyhCqKEyC+Hu9Fg eHdlTFpc9RAfJgpw2eskH3nj5geMP+ue+fTHgUm5UMDzRv5AK3w6VhgTcN9IN0ueAlVY mWpFqsF6GNOqGwVlYtqj0KcgtV4rS/rZcvkeSpGwdOEOmx9Y9F3E/tS2kg55FLEmgt9a mlWslPJqnZTB0Go962YTqFU0m3rSA+UHBS6TEI2KmZ/DopofCapiY0xYRkmXu1cfBCdi Jj1WBHmGz0GVqeQMNVcDnKDhwIxV0amhKE5ZpPakezMUhmPCdAQYua/IubgdqfrlkPW/ hoXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bMM7gHLW; 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 j13-20020a056a00174d00b00572789f89b6si15761732pfc.156.2022.12.05.02.32.34; Mon, 05 Dec 2022 02:32:45 -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=bMM7gHLW; 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 S231346AbiLEJqe (ORCPT + 82 others); Mon, 5 Dec 2022 04:46:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231366AbiLEJqb (ORCPT ); Mon, 5 Dec 2022 04:46:31 -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 1982319284; Mon, 5 Dec 2022 01:46:29 -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 6761760FFB; Mon, 5 Dec 2022 09:46:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6519C433C1; Mon, 5 Dec 2022 09:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670233588; bh=vlbWmQAQsqVoCP5/iGG9T+Mh7FPLIm+omDon8p2JA10=; h=From:To:Cc:Subject:Date:From; b=bMM7gHLW3WMCRoSscjKR3d5B7dFagYLse28B06cubnjjcjtgrJoAZ+mozdLgS7ydy y5ZCvY/WCTD6z2bVf0C1W9CFnw59bAxUF9kadLyEG+2HzQMm5/HYH7bd49MnBMdfKR 1tUBwdYYB96V8fKRqnLE7PL+41HSeabo+7seDSyYP7esxY81ZbM7zLbDny4pH5HZk+ y4KdxMaWjF2YIU0+lVh1Z5UVdSsnd8Fuh68iEMqfXaZyaga+vK/ZDp5V+38ankjxya +YoHo9+l/4aIqIJhEV6dNz+CPgjzQen0DRn7EjrZWkEWWpqeZOc7B23iJdH0Z7M/0F talFkUPKSoOlQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p283U-0003MH-Im; Mon, 05 Dec 2022 10:46:33 +0100 From: Johan Hovold To: Lorenzo Pieralisi Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH] dt-bindings: PCI: qcom: Allow 'dma-coherent' property Date: Mon, 5 Dec 2022 10:45:30 +0100 Message-Id: <20221205094530.12883-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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. 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