public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Ritesh Harjani (IBM)" <ritesh.list@gmail•com>
To: linuxppc-dev@lists•ozlabs.org
Cc: "Ritesh Harjani (IBM)" <ritesh.list@gmail•com>
Subject: [PATCH 0/8] powerpc/book3s64: Hash / SLB fixes & improvements
Date: Sat, 30 Aug 2025 09:21:39 +0530	[thread overview]
Message-ID: <cover.1756522067.git.ritesh.list@gmail.com> (raw)

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



             reply	other threads:[~2025-08-30  3:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-30  3:51 Ritesh Harjani (IBM) [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1756522067.git.ritesh.list@gmail.com \
    --to=ritesh.list@gmail$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox