mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1] arm64: dts: qcom: Remove FastRPC compute CB9 entries
@ 2026-10-16  5:20 Abhinav Parihar
  2026-10-16  8:45 ` Konrad Dybcio
  2026-10-16 10:03 ` Ekansh Gupta
  0 siblings, 2 replies; 3+ messages in thread
From: Abhinav Parihar @ 2026-10-16  5:20 UTC (permalink / raw)
  To: srinivas.kandagatla, linux-arm-msm
  Cc: Abhinav Parihar, gregkh, quic_bkumar, ekansh.gupta, linux-kernel,
	quic_chennak, dri-devel, arnd

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 <abhinav.parihar@oss.qualcomm.com>
---
 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] arm64: dts: qcom: Remove FastRPC compute CB9 entries
  2026-10-16  5:20 [PATCH v1] arm64: dts: qcom: Remove FastRPC compute CB9 entries Abhinav Parihar
@ 2026-10-16  8:45 ` Konrad Dybcio
  2026-10-16 10:03 ` Ekansh Gupta
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2026-10-16  8:45 UTC (permalink / raw)
  To: Abhinav Parihar, srinivas.kandagatla, linux-arm-msm
  Cc: gregkh, quic_bkumar, ekansh.gupta, linux-kernel, quic_chennak,
	dri-devel, arnd

On 10/16/26 7:20 AM, Abhinav Parihar wrote:
> 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.

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] arm64: dts: qcom: Remove FastRPC compute CB9 entries
  2026-10-16  5:20 [PATCH v1] arm64: dts: qcom: Remove FastRPC compute CB9 entries Abhinav Parihar
  2026-10-16  8:45 ` Konrad Dybcio
@ 2026-10-16 10:03 ` Ekansh Gupta
  1 sibling, 0 replies; 3+ messages in thread
From: Ekansh Gupta @ 2026-10-16 10:03 UTC (permalink / raw)
  To: Abhinav Parihar, srinivas.kandagatla, linux-arm-msm
  Cc: gregkh, quic_bkumar, linux-kernel, quic_chennak, dri-devel, arnd

On 16-10-2026 10:50, Abhinav Parihar wrote:
> 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
<abhinav.parihar@oss.qualcomm.com>
> ---
>  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(-)
> 
> 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>;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-16 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16  5:20 [PATCH v1] arm64: dts: qcom: Remove FastRPC compute CB9 entries Abhinav Parihar
2026-10-16  8:45 ` Konrad Dybcio
2026-10-16 10:03 ` Ekansh Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®