Commit ed8ff046 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'qcom-arm64-fixes-for-6.4-2' of...

Merge tag 'qcom-arm64-fixes-for-6.4-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes

One last Qualcomm ARM64 DeviceTree fix for v6.4

Changes related to cache management for DMA memory caused WiFi to stop
work on SC7180 and SC7280 based products, using TF-A. These changes
marks the relevant device dma-coherent to correct the behavior.

* tag 'qcom-arm64-fixes-for-6.4-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  arm64: dts: qcom: sc7280: Mark SCM as dma-coherent for chrome devices
  arm64: dts: qcom: sc7180: Mark SCM as dma-coherent for trogdor
  arm64: dts: qcom: sc7180: Mark SCM as dma-coherent for IDP
  dt-bindings: firmware: qcom,scm: Document that SCM can be dma-coherent

Link: https://lore.kernel.org/r/20230622203248.106422-1-andersson@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 5b017b5e 7b59e8ae
...@@ -71,6 +71,8 @@ properties: ...@@ -71,6 +71,8 @@ properties:
minItems: 1 minItems: 1
maxItems: 3 maxItems: 3
dma-coherent: true
interconnects: interconnects:
maxItems: 1 maxItems: 1
......
...@@ -393,6 +393,11 @@ &remoteproc_mpss { ...@@ -393,6 +393,11 @@ &remoteproc_mpss {
qcom,spare-regs = <&tcsr_regs_2 0xb3e4>; qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;
}; };
&scm {
/* TF-A firmware maps memory cached so mark dma-coherent to match. */
dma-coherent;
};
&sdhc_1 { &sdhc_1 {
status = "okay"; status = "okay";
......
...@@ -892,6 +892,11 @@ &remoteproc_mpss { ...@@ -892,6 +892,11 @@ &remoteproc_mpss {
qcom,spare-regs = <&tcsr_regs_2 0xb3e4>; qcom,spare-regs = <&tcsr_regs_2 0xb3e4>;
}; };
&scm {
/* TF-A firmware maps memory cached so mark dma-coherent to match. */
dma-coherent;
};
&sdhc_1 { &sdhc_1 {
status = "okay"; status = "okay";
......
...@@ -369,7 +369,7 @@ CLUSTER_SLEEP_0: cluster-sleep-0 { ...@@ -369,7 +369,7 @@ CLUSTER_SLEEP_0: cluster-sleep-0 {
}; };
firmware { firmware {
scm { scm: scm {
compatible = "qcom,scm-sc7180", "qcom,scm"; compatible = "qcom,scm-sc7180", "qcom,scm";
}; };
}; };
......
...@@ -79,6 +79,11 @@ &remoteproc_wpss { ...@@ -79,6 +79,11 @@ &remoteproc_wpss {
firmware-name = "ath11k/WCN6750/hw1.0/wpss.mdt"; firmware-name = "ath11k/WCN6750/hw1.0/wpss.mdt";
}; };
&scm {
/* TF-A firmware maps memory cached so mark dma-coherent to match. */
dma-coherent;
};
&wifi { &wifi {
status = "okay"; status = "okay";
......
...@@ -656,7 +656,7 @@ memory@80000000 { ...@@ -656,7 +656,7 @@ memory@80000000 {
}; };
firmware { firmware {
scm { scm: scm {
compatible = "qcom,scm-sc7280", "qcom,scm"; compatible = "qcom,scm-sc7280", "qcom,scm";
}; };
}; };
......
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