]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:40 +0000 (20:03 +0100)
[ Upstream commit 304c250ba121f5c505be3fc13dec984016f3c032 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/qcom/qcom_scm.c

index f019e0b787cb76c88fb6e81bf6c962e68e3f70c0..14afd68664a911c57cb54a050fe56544b6082876 100644 (file)
@@ -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", },