summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2022-03-22 19:35:37 +0100
committerMarc Zyngier <maz@kernel.org>2022-04-06 11:39:39 +0200
commit827c2ab3314814e1c7d873372c0fe0cad50ba1c5 (patch)
treeababe6af1072773cc5fec01343a0c61bae836018 /.gitignore
parentKVM: arm64: Generally disallow SMC64 for AArch32 guests (diff)
downloadlinux-827c2ab3314814e1c7d873372c0fe0cad50ba1c5.tar.xz
linux-827c2ab3314814e1c7d873372c0fe0cad50ba1c5.zip
KVM: arm64: Actually prevent SMC64 SYSTEM_RESET2 from AArch32
The SMCCC does not allow the SMC64 calling convention to be used from AArch32. While KVM checks to see if the calling convention is allowed in PSCI_1_0_FN_PSCI_FEATURES, it does not actually prevent calls to unadvertised PSCI v1.0+ functions. Hoist the check to see if the requested function is allowed into kvm_psci_call(), thereby preventing SMC64 calls from AArch32 for all PSCI versions. Fixes: d43583b890e7 ("KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the guest") Acked-by: Will Deacon <will@kernel.org> Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Oliver Upton <oupton@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220322183538.2757758-3-oupton@google.com
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions