Skip to content

Commit 94f985c

Browse files
dwmw2oupton
authored andcommitted
KVM: arm64: nvhe: Pass through PSCI v1.3 SYSTEM_OFF2 call
Pass through the SYSTEM_OFF2 function for hibernation, just like SYSTEM_OFF. 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-6-dwmw2@infradead.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
1 parent 72be5aa commit 94f985c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/kvm/hyp/nvhe/psci-relay.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ static unsigned long psci_1_0_handler(u64 func_id, struct kvm_cpu_context *host_
265265
case PSCI_1_0_FN_PSCI_FEATURES:
266266
case PSCI_1_0_FN_SET_SUSPEND_MODE:
267267
case PSCI_1_1_FN64_SYSTEM_RESET2:
268+
case PSCI_1_3_FN_SYSTEM_OFF2:
269+
case PSCI_1_3_FN64_SYSTEM_OFF2:
268270
return psci_forward(host_ctxt);
269271
case PSCI_1_0_FN64_SYSTEM_SUSPEND:
270272
return psci_system_suspend(func_id, host_ctxt);

0 commit comments

Comments
 (0)