linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pseries extended cede cpu offline mode removal
@ 2020-06-02  4:31 Nathan Lynch
  2020-06-02  4:31 ` [PATCH 1/2] powerpc/pseries: remove cede offline state for CPUs Nathan Lynch
  2020-06-02  4:31 ` [PATCH 2/2] powerpc/rtas: don't online CPUs for partition suspend Nathan Lynch
  0 siblings, 2 replies; 5+ messages in thread
From: Nathan Lynch @ 2020-06-02  4:31 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: svaidy, npiggin, ego

I propose removing the "extended cede" offline mode for CPUs as well
as the partition suspend code which accommodates it by temporarily
onlining all CPUs prior to suspending the LPAR.

Detailed justifications are within the individual commit messages.

I'm hoping to move the pseries partition suspend implementation to
the Linux suspend framework, and I expect that having only one offline
mode for CPUs will make that task quite a bit less complex.

Nathan Lynch (2):
  powerpc/pseries: remove cede offline state for CPUs
  powerpc/rtas: don't online CPUs for partition suspend

 Documentation/core-api/cpu_hotplug.rst        |   7 -
 arch/powerpc/include/asm/rtas.h               |   2 -
 arch/powerpc/kernel/rtas.c                    | 122 +------------
 arch/powerpc/platforms/pseries/hotplug-cpu.c  | 170 ++----------------
 .../platforms/pseries/offline_states.h        |  38 ----
 arch/powerpc/platforms/pseries/pmem.c         |   1 -
 arch/powerpc/platforms/pseries/smp.c          |  28 +--
 arch/powerpc/platforms/pseries/suspend.c      |  22 +--
 8 files changed, 18 insertions(+), 372 deletions(-)
 delete mode 100644 arch/powerpc/platforms/pseries/offline_states.h

-- 
2.25.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-04  1:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-02  4:31 [PATCH 0/2] pseries extended cede cpu offline mode removal Nathan Lynch
2020-06-02  4:31 ` [PATCH 1/2] powerpc/pseries: remove cede offline state for CPUs Nathan Lynch
2020-06-03 10:30   ` Gautham R Shenoy
2020-06-04  1:38     ` Nathan Lynch
2020-06-02  4:31 ` [PATCH 2/2] powerpc/rtas: don't online CPUs for partition suspend Nathan Lynch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).