firmware: qcom: uefisecapp: Allow on sc8180x Primus and Flex 5G
authorBjorn Andersson <quic_bjorande@quicinc.com>
Wed, 1 May 2024 02:33:12 +0000 (19:33 -0700)
committerBjorn Andersson <andersson@kernel.org>
Wed, 1 May 2024 18:39:57 +0000 (13:39 -0500)
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>
drivers/firmware/qcom/qcom_scm.c

index 5ff62f57aa55e93f468fdfe957b261b82397b56f..9cb02cd94c04209f93854777c905bd6cb02196c6 100644 (file)
@@ -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" },
        { }
 };