PAN, Privileged Access Never

The PAN characteristics are:

Purpose

Allows access to the Privileged Access Never bit.

Configuration

This register is present only when FEAT_PAN is implemented. Otherwise, direct accesses to PAN are UNDEFINED.

Attributes

PAN is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0
RES0PANRES0

Bits [63:23]

Reserved, RES0.

PAN, bit [22]

Privileged Access Never.

PANMeaning
0b0

Privileged reads and write are not disabled by this mechanism.

0b1

Disables privileged read and write accesses to addresses accessible at EL0 for an enabled stage 1 translation regime that defines the EL0 permissions.

The value of this bit is usually preserved on taking an exception, except in the following situations:

Bits [21:0]

Reserved, RES0.

Accessing PAN

Accesses to this register use the following encodings in the System register encoding space:

MRS <Xt>, PAN

op0op1CRnCRmop2
0b110b0000b01000b00100b011

if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then X[t, 64] = Zeros(41):PSTATE.PAN:Zeros(22); elsif PSTATE.EL == EL2 then X[t, 64] = Zeros(41):PSTATE.PAN:Zeros(22); elsif PSTATE.EL == EL3 then X[t, 64] = Zeros(41):PSTATE.PAN:Zeros(22);

MSR PAN, <Xt>

op0op1CRnCRmop2
0b110b0000b01000b00100b011

if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then PSTATE.PAN = X[t, 64]<22>; elsif PSTATE.EL == EL2 then PSTATE.PAN = X[t, 64]<22>; elsif PSTATE.EL == EL3 then PSTATE.PAN = X[t, 64]<22>;

MSR PAN, #<imm>

op0op1CRnop2
0b000b0000b01000b100

26/03/2024 09:49; 67c0ae5282a7629ba0ea0ba7267b43cd4f7939f6

Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.