Context bank 9 is reserved for secure use cases and must not be exposed as a FastRPC compute context bank for non-secure offloading. Remove the compute-cb@9 nodes from the Lemans and Monaco device trees to prevent clients from selecting a secure context bank for normal FastRPC workloads.
Secure use case support is not currently implemented upstream. Signed-off-by: Abhinav Parihar <[email protected]> --- arch/arm64/boot/dts/qcom/lemans.dtsi | 16 ---------------- arch/arm64/boot/dts/qcom/monaco.dtsi | 7 ------- 2 files changed, 23 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index 695eae1b7256..5481dfb73454 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -7861,14 +7861,6 @@ compute-cb@8 { dma-coherent; }; - compute-cb@9 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <9>; - iommus = <&apps_smmu 0x2149 0x04a0>, - <&apps_smmu 0x2189 0x0400>; - dma-coherent; - }; - compute-cb@11 { compatible = "qcom,fastrpc-compute-cb"; reg = <11>; @@ -8000,14 +7992,6 @@ compute-cb@8 { dma-coherent; }; - compute-cb@9 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <9>; - iommus = <&apps_smmu 0x2949 0x04a0>, - <&apps_smmu 0x2989 0x0400>; - dma-coherent; - }; - compute-cb@10 { compatible = "qcom,fastrpc-compute-cb"; reg = <10>; diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi index cfe39f923224..e73a735f2f13 100644 --- a/arch/arm64/boot/dts/qcom/monaco.dtsi +++ b/arch/arm64/boot/dts/qcom/monaco.dtsi @@ -7822,13 +7822,6 @@ compute-cb@8 { dma-coherent; }; - compute-cb@9 { - compatible = "qcom,fastrpc-compute-cb"; - reg = <9>; - iommus = <&apps_smmu 0x19c9 0x0400>; - dma-coherent; - }; - compute-cb@11 { compatible = "qcom,fastrpc-compute-cb"; reg = <0xb>; -- 2.34.1
