[Bug 292895] Reproducible ARM64/bhyve panic on CIX/Cortex-A720 platforms

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 May 2026 03:03:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292895

--- Comment #16 from Michael Dexter <editor@callfortesting.org> ---
Giving that fix a try:

devmem2 will build on FreeBSD, only throwing a few errors.

This dd(1) command should be equivalent to the read operation of devmem2 as
called by smmu-evtq-fix.sh:

dd if=/dev/mem bs=1 skip=$((0x0b010020)) count=4 | hexdump -C

However, the read causes a panic on 16.0-CURRENT on a MS-R1 and the Orange Pi
6+, which share the same CPU:

panic: pmap_map_io_transient: TODO: Map out of DMAP data
cpuid = 9
time = 1778010919
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x38
vpanic() at vpanic+0x1b8
panic() at panic+0x48
pmap_map_io_transient() at pmap_map_io_transient+0x184
uiomove_fromphys() at uiomove_fromphys+0x158
memrw() at memrw+0x1a8
devfs_read_f() at devfs_read_f+0xf8
dofileread() at dofileread+0x74
kern_readv() at kern_readv+0x4c
sys_read() at sys_read+0xc0
do_el0_sync() at do_el0_sync+0x600
handle_el0_sync() at handle_el0_sync+0x4c
--- exception, esr 0x56000000
KDB: enter: panic

This happens with or without vmm.ko loaded.

-- 
You are receiving this mail because:
You are the assignee for the bug.