[PATCH] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency

Bjorn Andersson posted 1 patch 2 years, 4 months ago
drivers/firmware/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency
Posted by Bjorn Andersson 2 years, 4 months ago
The newly introduced QSEECOM driver fail to link if the system is built
without CONFIG_AUXILIARY_BUS, make sure it is selected.

Fixes: 00b1248606ba ("firmware: qcom_scm: Add support for Qualcomm Secure Execution Environment SCM interface")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/r/9f156fa6-e5aa-4cb2-ab2b-b67fd8fc4840%40infradead.org
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
---
 drivers/firmware/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index a94202229a71..8c608be30060 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -229,6 +229,7 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT
 config QCOM_QSEECOM
 	bool "Qualcomm QSEECOM interface driver"
 	depends on QCOM_SCM=y
+	select AUXILIARY_BUS
 	help
 	  Various Qualcomm SoCs have a Secure Execution Environment (SEE) running
 	  in the Trust Zone. This module provides an interface to that via the

---
base-commit: dfa449a58323de195773cf928d99db4130702bf7
change-id: 20230915-qseecom-auxiliary-fix-1574abe3bc98

Best regards,
-- 
Bjorn Andersson <quic_bjorande@quicinc.com>
Re: [PATCH] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency
Posted by Bjorn Andersson 2 years, 4 months ago
On Fri, 15 Sep 2023 15:50:14 -0700, Bjorn Andersson wrote:
> The newly introduced QSEECOM driver fail to link if the system is built
> without CONFIG_AUXILIARY_BUS, make sure it is selected.
> 
> 

Applied, thanks!

[1/1] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency
      commit: d74612b6da61aeb32e81bcf762b8be4e3c41bda5

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency
Posted by Maximilian Luz 2 years, 4 months ago
On 9/16/23 00:50, Bjorn Andersson wrote:
> The newly introduced QSEECOM driver fail to link if the system is built
> without CONFIG_AUXILIARY_BUS, make sure it is selected.
> 
> Fixes: 00b1248606ba ("firmware: qcom_scm: Add support for Qualcomm Secure Execution Environment SCM interface")
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Closes: https://lore.kernel.org/r/9f156fa6-e5aa-4cb2-ab2b-b67fd8fc4840%40infradead.org
> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>

Thanks for the quick fix!

Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>

> ---
>   drivers/firmware/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
> index a94202229a71..8c608be30060 100644
> --- a/drivers/firmware/Kconfig
> +++ b/drivers/firmware/Kconfig
> @@ -229,6 +229,7 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT
>   config QCOM_QSEECOM
>   	bool "Qualcomm QSEECOM interface driver"
>   	depends on QCOM_SCM=y
> +	select AUXILIARY_BUS
>   	help
>   	  Various Qualcomm SoCs have a Secure Execution Environment (SEE) running
>   	  in the Trust Zone. This module provides an interface to that via the
> 
> ---
> base-commit: dfa449a58323de195773cf928d99db4130702bf7
> change-id: 20230915-qseecom-auxiliary-fix-1574abe3bc98
> 
> Best regards,
Re: [PATCH] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency
Posted by Randy Dunlap 2 years, 4 months ago

On 9/15/23 15:50, Bjorn Andersson wrote:
> The newly introduced QSEECOM driver fail to link if the system is built
> without CONFIG_AUXILIARY_BUS, make sure it is selected.
> 
> Fixes: 00b1248606ba ("firmware: qcom_scm: Add support for Qualcomm Secure Execution Environment SCM interface")
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Closes: https://lore.kernel.org/r/9f156fa6-e5aa-4cb2-ab2b-b67fd8fc4840%40infradead.org
> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  drivers/firmware/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
> index a94202229a71..8c608be30060 100644
> --- a/drivers/firmware/Kconfig
> +++ b/drivers/firmware/Kconfig
> @@ -229,6 +229,7 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT
>  config QCOM_QSEECOM
>  	bool "Qualcomm QSEECOM interface driver"
>  	depends on QCOM_SCM=y
> +	select AUXILIARY_BUS
>  	help
>  	  Various Qualcomm SoCs have a Secure Execution Environment (SEE) running
>  	  in the Trust Zone. This module provides an interface to that via the
> 
> ---
> base-commit: dfa449a58323de195773cf928d99db4130702bf7
> change-id: 20230915-qseecom-auxiliary-fix-1574abe3bc98
> 
> Best regards,

-- 
~Randy