On 6/26/26 3:34 PM, Sumit Garg wrote:
> From: Sumit Garg <[email protected]>
> 
> Select PAS generic service driver to enable support for multiple PAS
> backends like OP-TEE in addition to SCM.
> 
> Tested-by: Mukesh Ojha <[email protected]> # Lemans
> Tested-by: Vignesh Viswanathan <[email protected]> # 
> IPQ9650
> Signed-off-by: Sumit Garg <[email protected]>
> ---
>  drivers/remoteproc/Kconfig | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
> index c521c744e7db..65befdbfa5f7 100644
> --- a/drivers/remoteproc/Kconfig
> +++ b/drivers/remoteproc/Kconfig
> @@ -210,6 +210,7 @@ config QCOM_Q6V5_MSS
>       select QCOM_Q6V5_COMMON
>       select QCOM_RPROC_COMMON
>       select QCOM_SCM
> +     select QCOM_PAS

This is a NOP, SCM already requires QCOM_PAS

>       help
>         Say y here to support the Qualcomm self-authenticating modem
>         subsystem based on Hexagon V5. The TrustZone based system is
> @@ -230,6 +231,7 @@ config QCOM_Q6V5_PAS
>       select QCOM_Q6V5_COMMON
>       select QCOM_RPROC_COMMON
>       select QCOM_SCM
> +     select QCOM_PAS

Likewise

>       help
>         Say y here to support the TrustZone based Peripheral Image Loader for
>         the Qualcomm remote processors. This is commonly used to control
> @@ -282,7 +284,7 @@ config QCOM_WCNSS_PIL
>       select QCOM_MDT_LOADER
>       select QCOM_PIL_INFO
>       select QCOM_RPROC_COMMON
> -     select QCOM_SCM
> +     select QCOM_PAS

This is OK

_however_

It leads to a situation where no back-ends can be enabled

Konrad

Reply via email to