commit | 550d99bee63cba7a4e017c105ba07b743035846d | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Mon Feb 10 13:55:00 2020 +0000 |
committer | Andrew Scull <ascull@google.com> | Thu Feb 13 10:52:05 2020 +0000 |
tree | 39cba69727de41b0a6559ea65281215d4c2b4472 | |
parent | a42ac27f23bc5343c3283f44fbe10edcbf59b349 [diff] [blame] |
Platform hook for suspend/resume. Change-Id: I3c1ae34e3ba8a8437d9d7ebb7684907acbef5307
diff --git a/src/arch/aarch64/hypervisor/psci_handler.c b/src/arch/aarch64/hypervisor/psci_handler.c index 147f9eb..aabe979 100644 --- a/src/arch/aarch64/hypervisor/psci_handler.c +++ b/src/arch/aarch64/hypervisor/psci_handler.c
@@ -18,6 +18,7 @@ #include <stdint.h> +#include "hf/arch/plat/psci.h" #include "hf/arch/types.h" #include "hf/api.h" @@ -162,6 +163,7 @@ break; case PSCI_CPU_SUSPEND: { + plat_psci_cpu_suspend(arg0); /* * Update vCPU state to wake from the provided entry point but * if suspend returns, for example because it failed or was a