diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2020-12-07 15:51:54 -0600 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-08 21:41:01 +1100 |
commit | 366fb13bf13b029c4d43bf19382f7aea69bfa4b7 (patch) | |
tree | cd1a58a00d0a93f90458a275230c9b24e4c06cee /arch/powerpc/tools | |
parent | 395b2c090907975c627902ba8fda0bdb04c7cad3 (diff) |
powerpc/pseries/hibernation: switch to rtas_ibm_suspend_me()
rtas_suspend_last_cpu() and related code perform a lot of work that
isn't relevant to the hibernation workflow. All other CPUs are offline
when called so there is no need to place them in H_JOIN or prod them
on resume, nor is there need for retries or operations on shared
state.
Call the rtas_ibm_suspend_me() wrapper function directly from
pseries_suspend_enter() instead of using rtas_suspend_last_cpu().
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201207215200.1785968-23-nathanl@linux.ibm.com
Diffstat (limited to 'arch/powerpc/tools')
0 files changed, 0 insertions, 0 deletions