HomeFreeBSD

arm64: Mask out the PAC ID fields when disabled

Description

arm64: Mask out the PAC ID fields when disabled

When we disable PAC we need to mask out the ID registers for userspace.
Call update_special_reg to mask them out so userspace gets a correct
view of the registers and hwcaps.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D50573

Details

Provenance
andrewAuthored on Jun 2 2025, 9:57 AM
Differential Revision
D50573: arm64: Mask out the PAC ID fields when disabled
Parents
rG2aeac25bcb72: arm64: Add a function to restrict the ID registers
Branches
Unknown
Tags
Unknown