Skip to content

pseries extended cede cpu offline mode removal

Nathan Lynch linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/pseries: remove cede offline state for CPUsDocumentation/core-api/cpu_hotplug.rst arch/powerpc/platforms/pseries/hotplug-cpu.c arch/powerpc/platforms/pseries/offline_states.h +2 more+15 -2292 replies
2/2powerpc/rtas: don't online CPUs for partition suspendarch/powerpc/include/asm/rtas.h arch/powerpc/kernel/rtas.c arch/powerpc/platforms/pseries/suspend.c+3 -1430 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGautham R. Shenoy
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] pseries extended cede cpu offline mode removal

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
Signature · 1 line
2.25.4