Tegra234 fabric fixes
Subsystems (3)
v2 cover Tegra234 fabric fixes
From: Yi Ju Huang <[email protected]>
These patches fix issues related to sce-fabric and dce-fabric nodes of Tegra234.
v2:
- Add explanation why typo fix is needed
- Add fixes and CC stable
Sumit Gupta (2):
arm64: tegra: fix typo in Tegra234 dce-fabric compatible
arm64: tegra: disable Tegra234 sce-fabric node
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1
PATCH v2 1/2 arm64: tegra: fix typo in Tegra234 dce-fabric compatible
From: Sumit Gupta <[email protected]>
The compatible string for the Tegra DCE fabric is currently defined as 'nvidia,tegra234-sce-fabric' but this is incorrect because this is the compatible string for SCE fabric. Update the compatible for the DCE fabric to correct the compatible string.
This compatible needs to be correct in order for the interconnect to catch things such as improper data accesses.
--- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra234.dtsi +1 -1
@@ -3995,7 +3995,7 @@ bpmp-fabric@d600000 { }; dce-fabric@de00000 { - compatible = "nvidia,tegra234-sce-fabric"; + compatible = "nvidia,tegra234-dce-fabric"; reg = <0x0 0xde00000 0x0 0x40000>; interrupts = <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>; status = "okay";
Signature · 1 line
2.25.1
Re: [PATCH v2 1/2] arm64: tegra: fix typo in Tegra234 dce-fabric compatible
Quoted 7 lines · Ivy Huang
From: Sumit Gupta <[email protected]>
The compatible string for the Tegra DCE fabric is currently defined as 'nvidia,tegra234-sce-fabric' but this is incorrect because this is the compatible string for SCE fabric. Update the compatible for the DCE fabric to correct the compatible string.
Quoted 7 lines
This compatible needs to be correct in order for the interconnect to catch things such as improper data accesses.
Fixes 302e154000ec ("arm64: tegra: Add node for CBB 2.0 on Tegra234")Signed-off-by Sumit Gupta <[email protected]>Signed-off-by Ivy Huang <[email protected]>
PATCH v2 2/2 arm64: tegra: disable Tegra234 sce-fabric node
In reply to Ivy HuangFrom: Sumit Gupta <[email protected]>
Access to safety cluster engine (SCE) fabric registers was blocked by firewall after the introduction of Functional Safety Island in Tegra234. After that, any access by software to SCE registers is correctly resulting in the internal bus error. However, when CPUs try accessing the SCE-fabric registers to print error info, another firewall error occurs as the fabric registers are also firewall protected. This results in a second error to be printed. Disable the SCE fabric node to avoid printing the misleading error. The first error info will be printed by the interrupt from the fabric causing the actual access.
--- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra234.dtsi +1 -1
@@ -3815,7 +3815,7 @@ sce-fabric@b600000 { compatible = "nvidia,tegra234-sce-fabric"; reg = <0x0 0xb600000 0x0 0x40000>; interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; - status = "okay"; + status = "disabled"; }; rce-fabric@be00000 {
Signature · 1 line
2.25.1
Re: [PATCH v2 2/2] arm64: tegra: disable Tegra234 sce-fabric node
Quoted 13 lines · Ivy Huang
From: Sumit Gupta <[email protected]>
Access to safety cluster engine (SCE) fabric registers was blocked by firewall after the introduction of Functional Safety Island in Tegra234. After that, any access by software to SCE registers is correctly resulting in the internal bus error. However, when CPUs try accessing the SCE-fabric registers to print error info, another firewall error occurs as the fabric registers are also firewall protected. This results in a second error to be printed. Disable the SCE fabric node to avoid printing the misleading error. The first error info will be printed by the interrupt from the fabric causing the actual access.
Quoted 4 lines
Fixes 302e154000ec ("arm64: tegra: Add node for CBB 2.0 on Tegra234")Signed-off-by Sumit Gupta <[email protected]>Signed-off-by Ivy Huang <[email protected]>
I think disabling this block is the right thing to do. No need to remove it entirely. While at the moment I do not expect it to be used, I don't think anyone could say with certainty that it will never be used again.
Thierry Reding
AppliedFrom: Thierry Reding <[email protected]>
Quoted 9 lines · Ivy Huang
From: Yi Ju Huang <[email protected]>
These patches fix issues related to sce-fabric and dce-fabric nodes of Tegra234.
v2:
- Add explanation why typo fix is needed
- Add fixes and CC stable[...]
Applied, thanks!
[1/2] arm64: tegra: fix typo in Tegra234 dce-fabric compatible
commit: 604120fd9e9df50ee0e803d3c6e77a1f45d2c58e
[2/2] arm64: tegra: disable Tegra234 sce-fabric node
commit: a5e6fc0a10fe280989f1367a3b4f8047c7d00ea6Best regards,
Signature · 1 line
Thierry Reding <[email protected]>