Skip to contentSkip to conversation

tee: qcom: depend on ARCH_QCOM

PATCH In review Peter Robinson 2 participants 3 messages Oct 3, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tee: qcom: depend on ARCH_QCOM

Add a dependency on ARCH_QCOM, and compile test, as the driver depnds on QCom specific Trusted Applications (TAs) and it's only, currently at least, supported on QCom hardware.

Fixes d6e290837e50f ("tee: add Qualcomm TEE driver")
---
 drivers/tee/qcomtee/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/tee/qcomtee/Kconfig +1 -0
index 927686abceb15..9f19dee08db49 100644
@@ -2,6 +2,7 @@
 # Qualcomm Trusted Execution Environment Configuration
 config QCOMTEE
 	tristate "Qualcomm TEE Support"
+	depends on ARCH_QCOM || COMPILE_TEST
 	depends on !CPU_BIG_ENDIAN
 	select QCOM_SCM
 	select QCOM_TZMEM_MODE_SHMBRIDGE
Signature · 1 line
2.51.0
#1 lore raw
Quoted 3 lines · Peter Robinson

Add a dependency on ARCH_QCOM, and compile test, as the driver depnds on QCom specific Trusted Applications (TAs) and it's only, currently at least, supported on QCom hardware.

Thanks, but this is already taken care. https://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git/commit/?h=next&id=3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177

Quoted 19 lines
Fixes d6e290837e50f ("tee: add Qualcomm TEE driver")
---
  drivers/tee/qcomtee/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/tee/qcomtee/Kconfig +1 -0
index 927686abceb15..9f19dee08db49 100644
@@ -2,6 +2,7 @@
  # Qualcomm Trusted Execution Environment Configuration
  config QCOMTEE
  	tristate "Qualcomm TEE Support"
+	depends on ARCH_QCOM || COMPILE_TEST
  	depends on !CPU_BIG_ENDIAN
  	select QCOM_SCM
  	select QCOM_TZMEM_MODE_SHMBRIDGE
#2 lore raw
Quoted 10 lines · Kathiravan Thirumoorthy
Quoted 3 lines · Peter Robinson

Add a dependency on ARCH_QCOM, and compile test, as the driver depnds on QCom specific Trusted Applications (TAs) and it's only, currently at least, supported on QCom hardware.

Thanks, but this is already taken care.
https://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git/commit/?h=next&id=3b63efa21bc6acc1a0fadd1dd0f0e1988a4c0177

Awesome, thanks, a quick search and I failed to find it when looking.

Quoted 19 lines
Quoted 19 lines
Fixes d6e290837e50f ("tee: add Qualcomm TEE driver")
---
  drivers/tee/qcomtee/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/tee/qcomtee/Kconfig +1 -0
index 927686abceb15..9f19dee08db49 100644
@@ -2,6 +2,7 @@
  # Qualcomm Trusted Execution Environment Configuration
  config QCOMTEE
      tristate "Qualcomm TEE Support"
+     depends on ARCH_QCOM || COMPILE_TEST
      depends on !CPU_BIG_ENDIAN
      select QCOM_SCM
      select QCOM_TZMEM_MODE_SHMBRIDGE