aboutsummaryrefslogtreecommitdiff
path: root/lib/libsecureboot/tests/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2026-09-21 07:45:27 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2026-09-30 08:07:39 +0000
commit304088ed12223e585409aba30ca62931e32f74ed (patch)
tree4538af77ebfc17a12eb7dcba41d36d7ea3447f72 /lib/libsecureboot/tests/Makefile
parent6db5b4f1e684e148deff451593a349594a8cc545 (diff)
powerpc/radix: fix double page offset in mmu_radix_sync_icache()stable/14
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 (cherry picked from commit 9d0859637f99160e17b656df153effae3df31f8b) (cherry picked from commit 107212618921492ffed84d6ea3c9a27c77aaf725)
Diffstat (limited to 'lib/libsecureboot/tests/Makefile')
0 files changed, 0 insertions, 0 deletions