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

From: Bjorn Andersson
Date: Tue Apr 30 2024 - 22:28:22 EST


From: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>

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 <quic_bjorande@xxxxxxxxxxx>
---
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 <quic_bjorande@xxxxxxxxxxx>