public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [PATCH 0/8] powerpc/book3s64: Hash / SLB fixes & improvements
@ 2025-08-30  3:51 Ritesh Harjani (IBM)
  2025-08-30  3:51 ` [RFC 1/8] powerpc/mm: Fix SLB multihit issue during SLB preload Ritesh Harjani (IBM)
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Ritesh Harjani (IBM) @ 2025-08-30  3:51 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Ritesh Harjani (IBM)

Hello all,

While working over SLB related multi-hit issue we identified few more Hash / SLB
related issues, which this patch series fixes.

Patches 1-4 are various fixes related to SLB / HASH MMU.
Patches 5-8 are improvements in ptdump, slb preload and the last patch adds slb
user and kernel vmstat counters.

Patch-1 was posted earlier as a standalone fix here [1]. It has no changes
in this version. But since patch-6 is dependent on this, hence we clubbed all
Hash / SLB related patches into a common series.

Other than patch-1 (which was posted earlier), the rest of the patches are
mostly only tested in Qemu tcg for powernv and pseries. I will be testing these
on the real HW too before the next revision. But meanwhile it will be good to
get any reviews/feedback.

[1]: https://lore.kernel.org/linuxppc-dev/20250814092532.116762-1-donettom@linux.ibm.com/

Donet Tom (1):
  powerpc/mm: Fix SLB multihit issue during SLB preload

Ritesh Harjani (IBM) (7):
  book3s64/hash: Restrict stress_hpt_struct memblock region to within RMA limit
  book3s64/hash: Fix phys_addr_t printf format in htab_initialize()
  powerpc/ptdump/64: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format
  powerpc/ptdump: Dump PXX level info for kernel_page_tables
  powerpc/book3s64/slb: Make preload_add return type as void
  powerpc/book3s64/slb: Add no_slb_preload early cmdline param
  powerpc/book3s64/slb: Add slb faults to vmstat

 .../admin-guide/kernel-parameters.txt         |   3 +
 arch/powerpc/include/asm/book3s/64/mmu-hash.h |   1 -
 arch/powerpc/kernel/process.c                 |   5 -
 arch/powerpc/mm/book3s64/hash_utils.c         |  15 ++-
 arch/powerpc/mm/book3s64/internal.h           |   9 +-
 arch/powerpc/mm/book3s64/mmu_context.c        |   2 -
 arch/powerpc/mm/book3s64/slb.c                | 112 ++++--------------
 arch/powerpc/mm/ptdump/8xx.c                  |   5 +
 arch/powerpc/mm/ptdump/book3s64.c             |   5 +
 arch/powerpc/mm/ptdump/hashpagetable.c        |   6 +
 arch/powerpc/mm/ptdump/ptdump.c               |   1 +
 arch/powerpc/mm/ptdump/ptdump.h               |   1 +
 arch/powerpc/mm/ptdump/shared.c               |   5 +
 include/linux/vm_event_item.h                 |   4 +
 mm/vmstat.c                                   |   5 +
 15 files changed, 73 insertions(+), 106 deletions(-)

--
2.50.1



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

end of thread, other threads:[~2025-08-30 10:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-30  3:51 [PATCH 0/8] powerpc/book3s64: Hash / SLB fixes & improvements Ritesh Harjani (IBM)
2025-08-30  3:51 ` [RFC 1/8] powerpc/mm: Fix SLB multihit issue during SLB preload Ritesh Harjani (IBM)
2025-08-30  3:51 ` [RFC 2/8] book3s64/hash: Restrict stress_hpt_struct memblock region to within RMA limit Ritesh Harjani (IBM)
2025-08-30  3:51 ` [RFC 3/8] book3s64/hash: Fix phys_addr_t printf format in htab_initialize() Ritesh Harjani (IBM)
2025-08-30  6:26   ` Christophe Leroy
2025-08-30  7:30     ` Ritesh Harjani
2025-08-30  3:51 ` [RFC 4/8] powerpc/ptdump/64: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format Ritesh Harjani (IBM)
2025-08-30  3:51 ` [RFC 5/8] powerpc/ptdump: Dump PXX level info for kernel_page_tables Ritesh Harjani (IBM)
2025-08-30  6:31   ` Christophe Leroy
2025-08-30  7:25     ` Ritesh Harjani
2025-08-30  3:51 ` [RFC 6/8] powerpc/book3s64/slb: Make preload_add return type as void Ritesh Harjani (IBM)
2025-08-30  6:36   ` Christophe Leroy
2025-08-30  7:27     ` Ritesh Harjani
2025-08-30  3:51 ` [RFC 7/8] powerpc/book3s64/slb: Add no_slb_preload early cmdline param Ritesh Harjani (IBM)
2025-08-30  6:42   ` Christophe Leroy
2025-08-30 10:11     ` Ritesh Harjani
2025-08-30  3:51 ` [RFC 8/8] powerpc/book3s64/slb: Add slb faults to vmstat Ritesh Harjani (IBM)
2025-08-30  4:45   ` Stephen Rothwell
2025-08-30  4:56     ` Ritesh Harjani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox