aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Andersson <quic_bjorande@quicinc.com>2024-04-30 19:33:12 -0700
committerBjorn Andersson <andersson@kernel.org>2024-05-01 13:39:57 -0500
commit4b34d4c25da289712d9a5bd5bac5888f099cbc5c (patch)
tree2ca3683e7999ba53f54db98b2125a9fed551801b
parent9329933699b32d467a99befa20415c4b2172389a (diff)
downloadlinux-4b34d4c25da289712d9a5bd5bac5888f099cbc5c.tar.gz
firmware: qcom: uefisecapp: Allow on sc8180x Primus and Flex 5G
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@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240430-uefisecapp-allowlist-sc8180x-v1-1-1a626ea9c5f1@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--drivers/firmware/qcom/qcom_scm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 5ff62f57aa55e9..9cb02cd94c0420 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -1671,7 +1671,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" },
{ }
};