[Bug 298532] Add support for ppc radix mmu minidump
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 298532] Add support for ppc radix mmu minidump"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Oct 2026 04:01:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298532
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=bf1a46ffa8af5b1aa2a8ca244074f39d69023485
commit bf1a46ffa8af5b1aa2a8ca244074f39d69023485
Author: Minsoo Choo <mchoo@FreeBSD.org>
AuthorDate: 2026-09-16 04:20:45 +0000
Commit: Minsoo Choo <mchoo@FreeBSD.org>
CommitDate: 2026-10-12 04:00:21 +0000
libkvm: support powerpc64 radix minidumps
PowerPC64 radix minidumps use a 64KB root directory followed by three
levels of 4KB page tables. Add an MMU backend which walks those tables,
handles large-page leaves, and decodes their always-big-endian entries
on both powerpc64 and powerpc64le.
Reject old radix minidumps whose pmap section is empty with a specific
diagnostic. Add a synthetic powerpc64le dump test which reads a page
through both its kernel and direct-map addresses.
PR: 298532
Reviewed by: jhb
Approved by: jhb (mentor)
MFC after: 2 weeks
Sponsored by: FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59743
(cherry picked from commit 592ede65bd48f16e5c46a016e92b732ed90094d2)
lib/libkvm/Makefile | 3 +-
lib/libkvm/kvm_minidump_powerpc64.c | 2 +
lib/libkvm/kvm_minidump_powerpc64_radix.c (new) | 270 ++++++++++++++++++++++++
lib/libkvm/kvm_powerpc64.h | 2 +
lib/libkvm/tests/kvm_open2_test.c | 118 +++++++++++
5 files changed, 394 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.