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-Tag: v6.12.5~221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0104b5cac44653023853b29195cc5d564cd3bd4a;p=thirdparty%2Fkernel%2Fstable.git firmware: qcom: scm: Allow QSEECOM on Dell XPS 13 9345 [ Upstream commit 304c250ba121f5c505be3fc13dec984016f3c032 ] 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 Signed-off-by: Sasha Levin --- diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c index f019e0b787cb7..14afd68664a91 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -1742,6 +1742,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", },