Commit 4a03b85b authored by Ling Xu's avatar Ling Xu Committed by Bjorn Andersson

arm64: dts: qcom: sm8550: Add dma-coherent property

Add dma-coherent property to fastRPC context bank nodes to pass dma
sequence test in fastrpc sanity test, ensure that data integrity is
maintained during DMA operations.
Signed-off-by: default avatarLing Xu <quic_lxu5@quicinc.com>
Link: https://lore.kernel.org/r/20240125102413.3016-2-quic_lxu5@quicinc.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 4a8efd8a
...@@ -4283,6 +4283,7 @@ compute-cb@3 { ...@@ -4283,6 +4283,7 @@ compute-cb@3 {
reg = <3>; reg = <3>;
iommus = <&apps_smmu 0x1003 0x80>, iommus = <&apps_smmu 0x1003 0x80>,
<&apps_smmu 0x1063 0x0>; <&apps_smmu 0x1063 0x0>;
dma-coherent;
}; };
compute-cb@4 { compute-cb@4 {
...@@ -4290,6 +4291,7 @@ compute-cb@4 { ...@@ -4290,6 +4291,7 @@ compute-cb@4 {
reg = <4>; reg = <4>;
iommus = <&apps_smmu 0x1004 0x80>, iommus = <&apps_smmu 0x1004 0x80>,
<&apps_smmu 0x1064 0x0>; <&apps_smmu 0x1064 0x0>;
dma-coherent;
}; };
compute-cb@5 { compute-cb@5 {
...@@ -4297,6 +4299,7 @@ compute-cb@5 { ...@@ -4297,6 +4299,7 @@ compute-cb@5 {
reg = <5>; reg = <5>;
iommus = <&apps_smmu 0x1005 0x80>, iommus = <&apps_smmu 0x1005 0x80>,
<&apps_smmu 0x1065 0x0>; <&apps_smmu 0x1065 0x0>;
dma-coherent;
}; };
compute-cb@6 { compute-cb@6 {
...@@ -4304,6 +4307,7 @@ compute-cb@6 { ...@@ -4304,6 +4307,7 @@ compute-cb@6 {
reg = <6>; reg = <6>;
iommus = <&apps_smmu 0x1006 0x80>, iommus = <&apps_smmu 0x1006 0x80>,
<&apps_smmu 0x1066 0x0>; <&apps_smmu 0x1066 0x0>;
dma-coherent;
}; };
compute-cb@7 { compute-cb@7 {
...@@ -4311,6 +4315,7 @@ compute-cb@7 { ...@@ -4311,6 +4315,7 @@ compute-cb@7 {
reg = <7>; reg = <7>;
iommus = <&apps_smmu 0x1007 0x80>, iommus = <&apps_smmu 0x1007 0x80>,
<&apps_smmu 0x1067 0x0>; <&apps_smmu 0x1067 0x0>;
dma-coherent;
}; };
}; };
...@@ -4417,6 +4422,7 @@ compute-cb@1 { ...@@ -4417,6 +4422,7 @@ compute-cb@1 {
iommus = <&apps_smmu 0x1961 0x0>, iommus = <&apps_smmu 0x1961 0x0>,
<&apps_smmu 0x0c01 0x20>, <&apps_smmu 0x0c01 0x20>,
<&apps_smmu 0x19c1 0x10>; <&apps_smmu 0x19c1 0x10>;
dma-coherent;
}; };
compute-cb@2 { compute-cb@2 {
...@@ -4425,6 +4431,7 @@ compute-cb@2 { ...@@ -4425,6 +4431,7 @@ compute-cb@2 {
iommus = <&apps_smmu 0x1962 0x0>, iommus = <&apps_smmu 0x1962 0x0>,
<&apps_smmu 0x0c02 0x20>, <&apps_smmu 0x0c02 0x20>,
<&apps_smmu 0x19c2 0x10>; <&apps_smmu 0x19c2 0x10>;
dma-coherent;
}; };
compute-cb@3 { compute-cb@3 {
...@@ -4433,6 +4440,7 @@ compute-cb@3 { ...@@ -4433,6 +4440,7 @@ compute-cb@3 {
iommus = <&apps_smmu 0x1963 0x0>, iommus = <&apps_smmu 0x1963 0x0>,
<&apps_smmu 0x0c03 0x20>, <&apps_smmu 0x0c03 0x20>,
<&apps_smmu 0x19c3 0x10>; <&apps_smmu 0x19c3 0x10>;
dma-coherent;
}; };
compute-cb@4 { compute-cb@4 {
...@@ -4441,6 +4449,7 @@ compute-cb@4 { ...@@ -4441,6 +4449,7 @@ compute-cb@4 {
iommus = <&apps_smmu 0x1964 0x0>, iommus = <&apps_smmu 0x1964 0x0>,
<&apps_smmu 0x0c04 0x20>, <&apps_smmu 0x0c04 0x20>,
<&apps_smmu 0x19c4 0x10>; <&apps_smmu 0x19c4 0x10>;
dma-coherent;
}; };
compute-cb@5 { compute-cb@5 {
...@@ -4449,6 +4458,7 @@ compute-cb@5 { ...@@ -4449,6 +4458,7 @@ compute-cb@5 {
iommus = <&apps_smmu 0x1965 0x0>, iommus = <&apps_smmu 0x1965 0x0>,
<&apps_smmu 0x0c05 0x20>, <&apps_smmu 0x0c05 0x20>,
<&apps_smmu 0x19c5 0x10>; <&apps_smmu 0x19c5 0x10>;
dma-coherent;
}; };
compute-cb@6 { compute-cb@6 {
...@@ -4457,6 +4467,7 @@ compute-cb@6 { ...@@ -4457,6 +4467,7 @@ compute-cb@6 {
iommus = <&apps_smmu 0x1966 0x0>, iommus = <&apps_smmu 0x1966 0x0>,
<&apps_smmu 0x0c06 0x20>, <&apps_smmu 0x0c06 0x20>,
<&apps_smmu 0x19c6 0x10>; <&apps_smmu 0x19c6 0x10>;
dma-coherent;
}; };
compute-cb@7 { compute-cb@7 {
...@@ -4465,6 +4476,7 @@ compute-cb@7 { ...@@ -4465,6 +4476,7 @@ compute-cb@7 {
iommus = <&apps_smmu 0x1967 0x0>, iommus = <&apps_smmu 0x1967 0x0>,
<&apps_smmu 0x0c07 0x20>, <&apps_smmu 0x0c07 0x20>,
<&apps_smmu 0x19c7 0x10>; <&apps_smmu 0x19c7 0x10>;
dma-coherent;
}; };
compute-cb@8 { compute-cb@8 {
...@@ -4473,6 +4485,7 @@ compute-cb@8 { ...@@ -4473,6 +4485,7 @@ compute-cb@8 {
iommus = <&apps_smmu 0x1968 0x0>, iommus = <&apps_smmu 0x1968 0x0>,
<&apps_smmu 0x0c08 0x20>, <&apps_smmu 0x0c08 0x20>,
<&apps_smmu 0x19c8 0x10>; <&apps_smmu 0x19c8 0x10>;
dma-coherent;
}; };
/* note: secure cb9 in downstream */ /* note: secure cb9 in downstream */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment