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> Link: https://lore.kernel.org/r/20220221153524.15397-3-will@kernel.org Bug: 216801012 Signed-off-by: Will Deacon <willdeacon@google.com> Change-Id: Id1954c7c5274dda50e247c500ec03e87ca8a2028
4.4 KiB
4.4 KiB