]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Add support for PSCI v1.2 and v1.3
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 19 Oct 2024 17:15:44 +0000 (18:15 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 24 Oct 2024 23:38:07 +0000 (16:38 -0700)
commit8be82d536a9f8d9974cf746d235c1f1c24dd31ed
treeef03fdd5a20d8859a4a68123f9b3489cff44f3bc
parent97413cea1c48cc05d33db442d1c41d71c56c730e
KVM: arm64: Add support for PSCI v1.2 and v1.3

As with PSCI v1.1 in commit 512865d83fd9 ("KVM: arm64: Bump guest PSCI
version to 1.1"), expose v1.3 to the guest by default. The SYSTEM_OFF2
call which is exposed by doing so is compatible for userspace because
it's just a new flag in the event that KVM raises, in precisely the same
way that SYSTEM_RESET2 was compatible when v1.1 was enabled by default.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Miguel Luis <miguel.luis@oracle.com>
Link: https://lore.kernel.org/r/20241019172459.2241939-4-dwmw2@infradead.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hypercalls.c
arch/arm64/kvm/psci.c
include/kvm/arm_psci.h