aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dcons/(public-mirror)
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2026-09-21 07:45:27 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2026-09-23 10:36:18 +0000
commit9d0859637f99160e17b656df153effae3df31f8b (patch)
tree2e7c267b0510c38b88127d9935ea45cc29fa549a /sys/dev/dcons/(public-mirror)
parentc7b67985633c408cae69703ca443cbfd84d326a8 (diff)
powerpc/radix: fix double page offset in mmu_radix_sync_icache()HEADmain
mmu_radix_sync_icache() adds the offset of va within its page to the physical address it gets from mmu_radix_extract_locked(). That address already includes the offset - the extract routines return the physical address of the byte, not of the frame - so the offset is counted twice and __syncicache() is handed frame + 2 * offset. The hash MMU counterpart, moea64_sync_icache(), has to add the offset because PVO_PADDR() yields only the frame. Here the addition is wrong. Fixes: 6f0b2a235a13 ("powerpc/pmap: Add pmap_sync_icache() for radix pmap") Reviewed by: jhibbits MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D59870
Diffstat (limited to 'sys/dev/dcons/(public-mirror)')
0 files changed, 0 insertions, 0 deletions