summaryrefslogtreecommitdiff
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-02-21 18:35:23 +0300
committerMarc Zyngier <maz@kernel.org>2022-02-21 19:02:55 +0300
commitd43583b890e7cb0078d13d056753a56602b92406 (patch)
treeda9b91a4f9d9092f955298e3873a1ef73a64c3a0 /lib/usercopy.c
parent512865d83fd9685a4d5aab26f898737b57d3187e (diff)
downloadlinux-d43583b890e7cb0078d13d056753a56602b92406.tar.xz
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 <maz@kernel.org> Cc: James Morse <james.morse@arm.com> Cc: Alexandru Elisei <alexandru.elisei@arm.com> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220221153524.15397-3-will@kernel.org
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions