Commit b229b46b authored by Marc Zyngier's avatar Marc Zyngier
Browse files

arm64: Add system register encoding for PSTATE.PAN



Although we already have the primitives to set PSTATE.PAN with an
immediate, we don't have a way to read the current state nor set
it ot an arbitrary value (i.e. we can generally save/restore it).

Thankfully, all that is missing for this is the definition for
the PAN pseudo system register, here named SYS_PSTATE_PAN.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 6dcd2ac7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment