]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: qcom: sc7280: Mark PCIe controller as cache coherent
authorKrishna chaitanya chundru <quic_krichai@quicinc.com>
Tue, 28 Feb 2023 11:49:12 +0000 (17:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:29 +0000 (12:49 +0200)
commit267b899375bf38944d915c9654d6eb434edad0ce
tree46a6e35301c94bee7c3b5ad61c7c08b3e15b2079
parent0156ad2a60fe92373164399fc9a66976db4e60d1
arm64: dts: qcom: sc7280: Mark PCIe controller as cache coherent

commit 8a63441e83724fee1ef3fd37b237d40d90780766 upstream.

If the controller is not marked as cache coherent, then kernel will
try to ensure coherency during dma-ops and that may cause data corruption.
So, mark the PCIe node as dma-coherent as the devices on PCIe bus are
cache coherent.

Cc: stable@vger.kernel.org
Fixes: 92e0ee9f83b3 ("arm64: dts: qcom: sc7280: Add PCIe and PHY related node")
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1677584952-17496-1-git-send-email-quic_krichai@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi