arm64: dts: qcom: Remove FastRPC compute CB9 entries
PATCH 1/1 arm64: dts: qcom: Remove FastRPC compute CB9 entries
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.
--- arch/arm64/boot/dts/qcom/lemans.dtsi | 16 ---------------- arch/arm64/boot/dts/qcom/monaco.dtsi | 7 ------- 2 files changed, 23 deletions(-)
arch/arm64/boot/dts/qcom/lemans.dtsi +0 -16
@@ -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>;
arch/arm64/boot/dts/qcom/monaco.dtsi +0 -7
@@ -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>;
Signature · 1 line
2.34.1
Quoted 2 lines · Abhinav Parihar
Context bank 9 is reserved for secure use cases and must not be exposed as a FastRPC compute context bank for non-secure offloading.
The lack of a platform name in the commit message and a split over that suggests this is a universal truth for all Qualcomm platforms, yet the patch only limits this to some of those who currently define a cb@9.
Please make it more clear which one is intended.
Quoted 5 lines
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.
Ordering this sentence before the previous paragraph would make the commit message read more naturally
Konrad
Quoted 8 lines · Konrad Dybcio
Quoted 2 lines · Abhinav Parihar
Context bank 9 is reserved for secure use cases and must not be exposed as a FastRPC compute context bank for non-secure offloading.
The lack of a platform name in the commit message and a split over that suggests this is a universal truth for all Qualcomm platforms, yet the patch only limits this to some of those who currently define a cb@9.
Please make it more clear which one is intended.
Ack, patch v2 will have patch series including removal from all platforms having cb@9
Quoted 9 lines
Quoted 5 lines
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.
Ordering this sentence before the previous paragraph would make the commit message read more naturally
Konrad
Ack
Quoted 9 lines · Abhinav Parihar
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.
can you add Fixes: tag as well?> Signed-off-by: Abhinav Parihar <[email protected]>
Quoted 3 lines
--- arch/arm64/boot/dts/qcom/lemans.dtsi | 16 ---------------- arch/arm64/boot/dts/qcom/monaco.dtsi | 7 -------
separate the patch both different platforms, also please include other applicable platforms in your next spin> 2 files changed, 23 deletions(-)
Quoted 53 lines
arch/arm64/boot/dts/qcom/lemans.dtsi +0
-16@@ -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>;arch/arm64/boot/dts/qcom/monaco.dtsi +0
-7@@ -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>;
Quoted 4 lines · Ekansh Gupta
Quoted 3 lines · Abhinav Parihar
Context bank 9 is reserved for secure use cases and must not be exposed as a FastRPC compute context bank for non-secure offloading.
Quoted 8 lines
Quoted 6 lines
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.
can you add Fixes: tag as well?> Signed-off-by: Abhinav Parihar <[email protected]>
Ack
Quoted 5 lines
Quoted 3 lines
--- arch/arm64/boot/dts/qcom/lemans.dtsi | 16 ---------------- arch/arm64/boot/dts/qcom/monaco.dtsi | 7 -------separate the patch both different platforms, also please include other applicable platforms in your next spin> 2 files changed, 23 deletions(-)
Ack
Quoted 52 lines
Quoted 52 lines
arch/arm64/boot/dts/qcom/lemans.dtsi +0
-16@@ -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>;arch/arm64/boot/dts/qcom/monaco.dtsi +0
-7@@ -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>;