Skip to content

Fixes for SLB to C series

Nicholas Piggin linuxppc-dev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Revert "powerpc/64s/hash: remove user SLB data from the paca"arch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/paca.h arch/powerpc/kernel/asm-offsets.c +5 more+103 -400 replies
2/9powerpc/64: add struct int_regs to save additional registers on stackarch/powerpc/include/asm/ptrace.h arch/powerpc/kernel/asm-offsets.c arch/powerpc/kernel/process.c +1 more+53 -390 replies
3/9powerpc/64: interrupts save PPR on stack rather than thread_structarch/powerpc/include/asm/exception-64s.h arch/powerpc/include/asm/processor.h arch/powerpc/include/asm/ptrace.h +4 more+21 -240 replies
4/9powerpc/64s/hash: Fix preloading of SLB entriesarch/powerpc/mm/slb.c+11 -00 replies
5/9powerpc/64s/hash: add more barriers for slb preloadingarch/powerpc/mm/slb.c+31 -60 replies
6/9powerpc/64s/hash: SLB fix preemption issuesarch/powerpc/mm/slb.c+12 -00 replies
7/9powerpc/64s/hash: Fix false positive preempt warningsarch/powerpc/mm/slb.c+12 -120 replies
8/9powerpc/64s/hash: slb_flush_and_rebolt simplifyarch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/kernel/swsusp_asm64.S arch/powerpc/mm/hash_utils_64.c +2 more+21 -350 replies
9/9powerpc/64s/hash: add some slb debugging testsarch/powerpc/include/asm/paca.h arch/powerpc/mm/slb.c+53 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] Fixes for SLB to C series

This is another spin of the fixes. Also painfully re-discovered that we need https://patchwork.ozlabs.org/patch/962327/, as it prevents POWER8 NUMA from booting (initial stack SLB for the !0 node CPUs gets cleared by the initial TLB flush without it, and the SLB handler now uses the stack...)

Question is whether to revert the series and try again next time. I'm inclined to maybe say revert because it's been holdig up the tree a bit and also some of these patches like the PPR fixes are pretty complicated and should really be done as pre-requisites rather than fixes.

Thanks,
Nick

Nicholas Piggin (9):
Revert "powerpc/64s/hash: remove user SLB data from the paca" powerpc/64: add struct int_regs to save additional registers on stack powerpc/64: interrupts save PPR on stack rather than thread_struct powerpc/64s/hash: Fix preloading of SLB entries powerpc/64s/hash: add more barriers for slb preloading powerpc/64s/hash: SLB fix preemption issues powerpc/64s/hash: Fix false positive preempt warnings powerpc/64s/hash: slb_flush_and_rebolt simplify powerpc/64s/hash: add some slb debugging tests

 arch/powerpc/include/asm/book3s/64/mmu-hash.h |   3 +-
 arch/powerpc/include/asm/exception-64s.h      |   9 +-
 arch/powerpc/include/asm/paca.h               |  16 ++
 arch/powerpc/include/asm/processor.h          |  12 +-
 arch/powerpc/include/asm/ptrace.h             |  18 +-
 arch/powerpc/kernel/asm-offsets.c             |  32 ++-
 arch/powerpc/kernel/entry_64.S                |  15 +-
 arch/powerpc/kernel/paca.c                    |  22 ++
 arch/powerpc/kernel/process.c                 |  54 ++---
 arch/powerpc/kernel/ptrace.c                  |   4 +-
 arch/powerpc/kernel/stacktrace.c              |   2 +-
 arch/powerpc/kernel/swsusp_asm64.S            |   2 +-
 arch/powerpc/mm/hash_utils_64.c               |  46 +++-
 arch/powerpc/mm/mmu_context.c                 |   3 +-
 arch/powerpc/mm/slb.c                         | 203 ++++++++++++------
 arch/powerpc/mm/slice.c                       |  29 ++-
 16 files changed, 314 insertions(+), 156 deletions(-)
Signature · 1 line
2.18.0