firmware: qcom: scm: Allow QSEECOM on Dell XPS 13 9345
authorAleksandrs Vinarskis <alex.vinarskis@gmail.com>
Thu, 3 Oct 2024 21:10:08 +0000 (23:10 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Oct 2024 23:45:04 +0000 (18:45 -0500)
Allow particular machine accessing eg. efivars.

Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Stefan Schmidt <stefan.schmidt@linaro.org>
Link: https://lore.kernel.org/r/20241003211139.9296-3-alex.vinarskis@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/firmware/qcom/qcom_scm.c

index 671b07c..bf86df2 100644 (file)
@@ -1731,6 +1731,7 @@ 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 = "dell,xps13-9345" },
        { .compatible = "lenovo,flex-5g" },
        { .compatible = "lenovo,thinkpad-t14s" },
        { .compatible = "lenovo,thinkpad-x13s", },