2024-05-01 02:28:22

by Bjorn Andersson

[permalink] [raw]
Subject: [PATCH] firmware: qcom: uefisecapp: Allow on sc8180x Primus and Flex 5G

From: Bjorn Andersson <[email protected]>

Testing indicates that qseecom and uefisecapp are working on both the
SC8180X Primus and Lenovo Flex 5G, providing EFI variable access.

Add the two to the allow list.

Signed-off-by: Bjorn Andersson <[email protected]>
---
drivers/firmware/qcom/qcom_scm.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 06e46267161b..68f4df7e6c3c 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -1646,7 +1646,9 @@ EXPORT_SYMBOL_GPL(qcom_scm_qseecom_app_send);
+ any potential issues with this, only allow validated machines for now.
*/
static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
+ { .compatible = "lenovo,flex-5g" },
{ .compatible = "lenovo,thinkpad-x13s", },
+ { .compatible = "qcom,sc8180x-primus" },
{ }
};


---
base-commit: d04466706db5e241ee026f17b5f920e50dee26b5
change-id: 20240430-uefisecapp-allowlist-sc8180x-0eaa2adde501

Best regards,
--
Bjorn Andersson <[email protected]>



2024-05-01 13:14:28

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] firmware: qcom: uefisecapp: Allow on sc8180x Primus and Flex 5G

On 1.05.2024 4:33 AM, Bjorn Andersson wrote:
> From: Bjorn Andersson <[email protected]>
>
> Testing indicates that qseecom and uefisecapp are working on both the
> SC8180X Primus and Lenovo Flex 5G, providing EFI variable access.
>
> Add the two to the allow list.
>
> Signed-off-by: Bjorn Andersson <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

2024-05-01 20:21:08

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] firmware: qcom: uefisecapp: Allow on sc8180x Primus and Flex 5G


On Tue, 30 Apr 2024 19:33:12 -0700, Bjorn Andersson wrote:
> Testing indicates that qseecom and uefisecapp are working on both the
> SC8180X Primus and Lenovo Flex 5G, providing EFI variable access.
>
> Add the two to the allow list.
>
>

Applied, thanks!

[1/1] firmware: qcom: uefisecapp: Allow on sc8180x Primus and Flex 5G
commit: 4b34d4c25da289712d9a5bd5bac5888f099cbc5c

Best regards,
--
Bjorn Andersson <[email protected]>