]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/pmap: Add pmap_sync_icache() for radix pmap
authorJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 12 Mar 2023 15:46:57 +0000 (11:46 -0400)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Sun, 12 Mar 2023 15:51:42 +0000 (11:51 -0400)
commit6f0b2a235a133a381634ba9a7f5f477c64db9873
tree17b89e8eabd1a294d5bddd9b4f2da03f52f4bb4d
parent63715498ac6b003a024e1fd0eefbc0db504f126e
powerpc/pmap: Add pmap_sync_icache() for radix pmap

DTrace pid provider writes to user space to set breakpoints.  Failing to
sync the icache can lead to SIGTRAP.  Radix pmap is the only one missing
a pmap_sync_icache() method, so the pid provider would only potentially
crash a process on a POWER9 or later system.
sys/powerpc/aim/mmu_radix.c