]> Git Repo - linux.git/commit
KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the guest
authorWill Deacon <[email protected]>
Mon, 21 Feb 2022 15:35:23 +0000 (15:35 +0000)
committerMarc Zyngier <[email protected]>
Mon, 21 Feb 2022 16:02:55 +0000 (16:02 +0000)
commitd43583b890e7cb0078d13d056753a56602b92406
treeda9b91a4f9d9092f955298e3873a1ef73a64c3a0
parent512865d83fd9685a4d5aab26f898737b57d3187e
KVM: arm64: Expose PSCI SYSTEM_RESET2 call to the guest

PSCI v1.1 introduces the optional SYSTEM_RESET2 call, which allows the
caller to provide a vendor-specific "reset type" and "cookie" to request
a particular form of reset or shutdown.

Expose this call to the guest and handle it in the same way as PSCI
SYSTEM_RESET, along with some basic range checking on the type argument.

Cc: Marc Zyngier <[email protected]>
Cc: James Morse <[email protected]>
Cc: Alexandru Elisei <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/arm64/kvm/psci.c
include/uapi/linux/psci.h
This page took 0.051935 seconds and 4 git commands to generate.