HomeFreeBSD

powerpc/pmap: Add pmap_sync_icache() for radix pmap

Description

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)

Details

Provenance
jhibbitsAuthored on Mar 12 2023, 3:46 PM
Parents
rG1026d170f4f7: dtrace/powerpc: Adjust AFRAMES for fbt and profile
Branches
Unknown
Tags
Unknown