• Marc Zyngier's avatar
    arm64: Add system register encoding for PSTATE.PAN · b229b46b
    Marc Zyngier authored
    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>
    b229b46b
sysreg.h 46.5 KB