* [PATCH] firmware: QCOM interfaces should depend on ARCH_QCOM
@ 2026-08-06 10:35 Geert Uytterhoeven
2026-08-17 8:56 ` Konrad Dybcio
2026-08-17 8:57 ` Konrad Dybcio
0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-08-06 10:35 UTC (permalink / raw)
To: Sumit Garg, Bjorn Andersson, Konrad Dybcio, Johannes Berg,
Arnd Bergmann, Krzysztof Kozlowski, Alexandre Belloni,
Linus Walleij
Cc: linux-arm-msm, linux-wireless, linux-arm-kernel, linux-kernel,
Geert Uytterhoeven
The various Qualcomm firmware interfaces are only present on Qualcomm
systems. Hence add dependencies on ARCH_QCOM, to prevent asking the
user about them when configuring a kernel without Qualcomm SoC support.
Make QCOM_PAS invisible instead, as it is already selected by its users
when needed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
I wondered whether QCOM_SCM should be made invisible, too, as it seems
to be selected by its users? But apparently commit 5c1a2975d23c51c0
("firmware: qcom_scm: Migrate to generic PAS service") in net-next/main
and soc/for-next made it visible on purpose?
---
drivers/firmware/qcom/Kconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/firmware/qcom/Kconfig b/drivers/firmware/qcom/Kconfig
index c7f8413ab996cf12..691db0ded8e8cf63 100644
--- a/drivers/firmware/qcom/Kconfig
+++ b/drivers/firmware/qcom/Kconfig
@@ -7,7 +7,7 @@
menu "Qualcomm firmware drivers"
config QCOM_PAS
- tristate "Qualcomm generic PAS interface driver"
+ tristate "Qualcomm generic PAS interface driver" if COMPILE_TEST
help
Enable the generic Peripheral Authentication Service (PAS) provided
by the firmware. It acts as the common layer with different TZ
@@ -16,6 +16,7 @@ config QCOM_PAS
config QCOM_PAS_TEE
tristate "Qualcomm PAS TEE interface driver"
+ depends on ARCH_QCOM || COMPILE_TEST
select QCOM_PAS
depends on TEE
depends on !CPU_BIG_ENDIAN
@@ -26,6 +27,7 @@ config QCOM_PAS_TEE
config QCOM_SCM
tristate "Qualcomm PAS SCM interface driver"
+ depends on ARCH_QCOM || COMPILE_TEST
select QCOM_PAS
select QCOM_TZMEM
default y if ARCH_QCOM
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] firmware: QCOM interfaces should depend on ARCH_QCOM
2026-08-06 10:35 [PATCH] firmware: QCOM interfaces should depend on ARCH_QCOM Geert Uytterhoeven
@ 2026-08-17 8:56 ` Konrad Dybcio
2026-08-17 8:57 ` Konrad Dybcio
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2026-08-17 8:56 UTC (permalink / raw)
To: Geert Uytterhoeven, Sumit Garg, Bjorn Andersson, Konrad Dybcio,
Johannes Berg, Arnd Bergmann, Krzysztof Kozlowski,
Alexandre Belloni, Linus Walleij
Cc: linux-arm-msm, linux-wireless, linux-arm-kernel, linux-kernel
On 8/6/26 12:35 PM, Geert Uytterhoeven wrote:
> The various Qualcomm firmware interfaces are only present on Qualcomm
> systems. Hence add dependencies on ARCH_QCOM, to prevent asking the
> user about them when configuring a kernel without Qualcomm SoC support.
> Make QCOM_PAS invisible instead, as it is already selected by its users
> when needed.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> I wondered whether QCOM_SCM should be made invisible, too, as it seems
> to be selected by its users? But apparently commit 5c1a2975d23c51c0
> ("firmware: qcom_scm: Migrate to generic PAS service") in net-next/main
> and soc/for-next made it visible on purpose?
For some context, that commit was part of a series that introduced a
second back-end to the functions that previously only the QCOM_SCM
driver provided ("qcom proprietary TZ interface" vs "what TF-A is
going to provide"), and the author's intention was to make the
former possible to disable
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] firmware: QCOM interfaces should depend on ARCH_QCOM
2026-08-06 10:35 [PATCH] firmware: QCOM interfaces should depend on ARCH_QCOM Geert Uytterhoeven
2026-08-17 8:56 ` Konrad Dybcio
@ 2026-08-17 8:57 ` Konrad Dybcio
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2026-08-17 8:57 UTC (permalink / raw)
To: Geert Uytterhoeven, Sumit Garg, Bjorn Andersson, Konrad Dybcio,
Johannes Berg, Arnd Bergmann, Krzysztof Kozlowski,
Alexandre Belloni, Linus Walleij
Cc: linux-arm-msm, linux-wireless, linux-arm-kernel, linux-kernel
On 8/6/26 12:35 PM, Geert Uytterhoeven wrote:
> The various Qualcomm firmware interfaces are only present on Qualcomm
> systems. Hence add dependencies on ARCH_QCOM, to prevent asking the
> user about them when configuring a kernel without Qualcomm SoC support.
> Make QCOM_PAS invisible instead, as it is already selected by its users
> when needed.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Acked-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-17 8:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 10:35 [PATCH] firmware: QCOM interfaces should depend on ARCH_QCOM Geert Uytterhoeven
2026-08-17 8:56 ` Konrad Dybcio
2026-08-17 8:57 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox