Skip to content

idle fixes and changes for POWER8 and POWER9

Nicholas Piggin linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v29 patches 1 replyIn review
  2. v3 Latest7 patches 5 repliesIn review
  3. v18 patches 15 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7powerpc/64s: move remaining system reset idle code into idle_book3s.Sarch/powerpc/kernel/exceptions-64s.S arch/powerpc/kernel/idle_book3s.S+49 -500 replies
2/7powerpc/64s: stop using bit in HSPRG0 to test winklearch/powerpc/include/asm/exception-64s.h arch/powerpc/kernel/exceptions-64s.S arch/powerpc/kernel/idle_book3s.S +1 more+13 -570 replies
3/7powerpc/64s: use alternative feature patchingarch/powerpc/kernel/idle_book3s.S+12 -70 replies
4/7powerpc/64s: fix POWER9 machine check handler from stop statearch/powerpc/include/asm/reg.h arch/powerpc/kernel/exceptions-64s.S+46 -351 reply
5/7powerpc/64s: idle expand core idle state bitsarch/powerpc/include/asm/cpuidle.h arch/powerpc/kernel/idle_book3s.S+19 -180 replies
6/7powerpc/64s: idle do not hold reservation longer than requiredarch/powerpc/kernel/idle_book3s.S+11 -90 replies
7/7powerpc/64s: idle POWER8 avoid full state loss recovery where possiblearch/powerpc/include/asm/cpuidle.h arch/powerpc/kernel/idle_book3s.S+110 -94 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGautham R. ShenoyMahesh J Salgaonkar
1/7R-b
2/7R-b
3/7R-b
4/7R-b R-b R-b R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v3 thread

Cover letter [PATCH 0/7][v3] idle fixes and changes for POWER8 and POWER9

Since last time:

- Commented machine check handler wakeup to describe why registers are not lost.
- Dropped patch to make PACA_THREAD_IDLE_STATE POWER8-only because Gautham will use it for POWER9 DD1.
- Removed some leftover debug cruft noticed by Gautham, and re-tested on POWER8. Added some extra comments to hopefully try to illustrate the idle state changes a bit better.

Needs:
- Ack from Gautham for patch 7
- Ack from Mahesh for patch 4

Thanks,
Nick

Nicholas Piggin (7):
powerpc/64s: move remaining system reset idle code into idle_book3s.S powerpc/64s: stop using bit in HSPRG0 to test winkle powerpc/64s: use alternative feature patching
powerpc/64s: fix POWER9 machine check handler from stop state powerpc/64s: idle expand core idle state bits
powerpc/64s: idle do not hold reservation longer than required powerpc/64s: idle POWER8 avoid full state loss recovery where possible

 arch/powerpc/include/asm/cpuidle.h       |  32 ++++-
 arch/powerpc/include/asm/exception-64s.h |  13 +-
 arch/powerpc/include/asm/reg.h           |   1 +
 arch/powerpc/kernel/exceptions-64s.S     | 123 +++++++----------
 arch/powerpc/kernel/idle_book3s.S        | 227 ++++++++++++++++++++++---------
 arch/powerpc/platforms/powernv/idle.c    |  13 --
 6 files changed, 242 insertions(+), 167 deletions(-)
Signature · 1 line
2.11.0