Skip to content

powerpc/64s: Fix for radix TLB invalidation bug

Nicholas Piggin linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc/64s: Fix hash ISA v3.0 TLBIEL instruction generationarch/powerpc/mm/book3s64/hash_native.c+1 -10 replies
2/4powerpc/64s/pseries: Fix hash tlbiel_all_isa300 for guest kernelsarch/powerpc/mm/book3s64/hash_native.c+14 -70 replies
3/4kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handlingkernel/cpu.c+5 -10 replies
4/4powerpc/64s: Trim offlined CPUs from mm_cpumasksarch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/mm/book3s64/mmu_context.c arch/powerpc/platforms/powermac/smp.c +2 more+40 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPeter Zijlstra (Intel)Milton MillerAneesh Kumar K.VPaul Mackerras
SeriesR-b
1/4
2/4
3/4A-b
4/4Debugged-by Debugged-by Debugged-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] powerpc/64s: Fix for radix TLB invalidation bug

This fixes a tricky bug that was noticed by TLB multi-hits in a guest stress testing CPU hotplug, but TLB invalidation means any kind of data corruption is possible.

Thanks,
Nick

Nicholas Piggin (4):
powerpc/64s: Fix hash ISA v3.0 TLBIEL instruction generation powerpc/64s/pseries: Fix hash tlbiel_all_isa300 for guest kernels kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handling powerpc/64s: Trim offlined CPUs from mm_cpumasks

 arch/powerpc/include/asm/book3s/64/mmu.h     | 12 ++++++++++
 arch/powerpc/mm/book3s64/hash_native.c       | 23 +++++++++++++-------
 arch/powerpc/mm/book3s64/mmu_context.c       | 20 +++++++++++++++++
 arch/powerpc/platforms/powermac/smp.c        |  2 ++
 arch/powerpc/platforms/powernv/smp.c         |  3 +++
 arch/powerpc/platforms/pseries/hotplug-cpu.c |  3 +++
 kernel/cpu.c                                 |  6 ++++-
 7 files changed, 60 insertions(+), 9 deletions(-)
Signature · 1 line
2.23.0