]> 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>
Wed, 15 Mar 2023 20:06:29 +0000 (16:06 -0400)
commited2c3bda43fbd0bfad9e45c78a59fff8a62422da
tree5026304aba90e3a779bd9ca9ce9f80db46245044
parent1026d170f4f70cdeb63cd05819c5557041e8ea94
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.

(cherry picked from commit 6f0b2a235a133a381634ba9a7f5f477c64db9873)
sys/powerpc/aim/mmu_radix.c