From: Aleksandrs Vinarskis Date: Thu, 3 Oct 2024 21:10:08 +0000 (+0200) Subject: firmware: qcom: scm: Allow QSEECOM on Dell XPS 13 9345 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=304c250ba121f5c505be3fc13dec984016f3c032;p=users%2Fwilly%2Fxarray.git firmware: qcom: scm: Allow QSEECOM on Dell XPS 13 9345 Allow particular machine accessing eg. efivars. Signed-off-by: Aleksandrs Vinarskis Reviewed-by: Dmitry Baryshkov Tested-by: Stefan Schmidt Link: https://lore.kernel.org/r/20241003211139.9296-3-alex.vinarskis@gmail.com Signed-off-by: Bjorn Andersson --- diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c index 671b07ca04d2..bf86df2a0639 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -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", },