The PAR characteristics are:
Returns the output address (OA) from an Address translation instruction that executed successfully, or fault information if the instruction did not execute successfully.
AArch32 System register PAR bits [63:0] are architecturally mapped to AArch64 System register PAR_EL1[63:0] .
PAR is accessed as a 32-bit value:
In these cases, PAR[63:32] is RES0.
Otherwise, the PAR is accessed as a 64-bit value, if any of the following is true:
For PL1&0 stage 1 translations, TTBCR.EAE selects the translation table format.
RW fields in this register reset to architecturally UNKNOWN values.
PAR is a 64-bit register that can also be accessed as a 32-bit value. If it is accessed as a 32-bit register, accesses read and write bits[31:0] and do not modify bits[63:32].
The Configurations section specifies the cases where each PAR format is used.
The PAR bit assignments are:
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
PA | LPAE | NOS | NS | IMPLEMENTATION DEFINED | SH | Inner[2:0] | Outer[1:0] | SS | F | ||||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
This section describes the register value returned by the successful execution of an Address translation instruction. Software might subsequently write a different value to the register, and that write does not affect the operation of the PE.
On a successful conversion, the PAR can return a value that indicates the resulting attributes, rather than the values that appear in the translation table descriptors. More precisely:
Reserved, RES0.
Output address. The output address (OA) corresponding to the supplied input address. This field returns address bits[31:12].
This field resets to an architecturally UNKNOWN value.
When updating the PAR with the result of the translation operation, this bit is set as follows:
LPAE | Meaning |
---|---|
0b0 |
Short-descriptor translation table format used. This means the PAR returned a 32-bit value. |
This field resets to an architecturally UNKNOWN value.
Not Outer Shareable. When the returned value of PAR.SH is 1, indicates the Shareability attribute for the physical memory region:
NOS | Meaning |
---|---|
0b0 |
Memory region is Outer Shareable. |
0b1 |
Memory region is Inner Shareable. |
When the returned value of PAR.SH is 0 the value returned to this field is UNKNOWN.
The value returned in this field can be the resulting attribute, as determined by any permitted implementation choices and any applicable configuration bits, instead of the value that appears in the translation table descriptor.
This field resets to an architecturally UNKNOWN value.
Non-secure. The NS attribute for a translation table entry from a Secure translation regime.
For a result from a Secure translation regime, this bit reflects the Security state of the physical address space of the translation. This means it reflects the effect of the NSTable bits of earlier levels of the translation table walk if those NSTable bits have an effect on the translation.
For a result from a Non-secure translation regime, this bit is UNKNOWN.
This field resets to an architecturally UNKNOWN value.
IMPLEMENTATION DEFINED.
This field resets to an architecturally UNKNOWN value.
Shareability. Indicates whether the physical memory region is Non-shareable:
SH | Meaning |
---|---|
0b0 |
Memory is Non-shareable. |
0b1 |
Memory is shareable, and PAR.NOS indicates whether the region is Outer Shareable or Inner Shareable. |
The value returned in this field can be the resulting attribute, as determined by any permitted implementation choices and any applicable configuration bits, instead of the value that appears in the translation table descriptor.
This field resets to an architecturally UNKNOWN value.
Inner cacheability attribute for the region. Permitted values are:
Inner[2:0] | Meaning |
---|---|
0b000 |
Non-cacheable. |
0b001 |
Device-nGnRnE. |
0b011 |
Device-nGnRE. |
0b101 |
Write-Back, Write-Allocate. |
0b110 |
Write-Through. |
0b111 |
Write-Back, no Write-Allocate. |
The values 0b010 and 0b100 are reserved.
The value returned in this field can be the resulting attribute, as determined by any permitted implementation choices and any applicable configuration bits, instead of the value that appears in the translation table descriptor.
This field resets to an architecturally UNKNOWN value.
Outer cacheability attribute for the region. Permitted values are:
Outer[1:0] | Meaning |
---|---|
0b00 |
Non-cacheable. |
0b01 |
Write-Back, Write-Allocate. |
0b10 |
Write-Through, no Write-Allocate. |
0b11 |
Write-Back, no Write-Allocate. |
The value returned in this field can be the resulting attribute, as determined by any permitted implementation choices and any applicable configuration bits, instead of the value that appears in the translation table descriptor.
This field resets to an architecturally UNKNOWN value.
Supersection. Used to indicate if the result is a Supersection:
SS | Meaning |
---|---|
0b0 |
Result is not a Supersection. PAR[31:12] contains OA[31:12]. |
0b1 |
Result is a Supersection, and:
If an implementation supports less than 40 bits of physical address, the bits in the PAR field that correspond to physical address bits that are not implemented are UNKNOWN. |
This field resets to an architecturally UNKNOWN value.
Indicates whether the instruction performed a successful address translation.
F | Meaning |
---|---|
0b0 |
Address translation completed successfully. |
This field resets to an architecturally UNKNOWN value.
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
IMPLEMENTATION DEFINED | 0 | 0 | 0 | 0 | LPAE | 0 | 0 | 0 | 0 | FS | F | ||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
This section describes the register value returned by a fault on the execution of an Address translation instruction. Software might subsequently write a different value to the register, and that write does not affect the operation of the PE.
Reserved, RES0.
IMPLEMENTATION DEFINED.
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
When updating the PAR with the result of the translation operation, this bit is set as follows:
LPAE | Meaning |
---|---|
0b0 |
Short-descriptor translation table format used. This means the PAR returned a 32-bit value. |
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
Fault status bits. Bits [12,10,3:0] from the DFSR, indicating the source of the abort.
This field resets to an architecturally UNKNOWN value.
Indicates whether the instruction performed a successful address translation.
F | Meaning |
---|---|
0b1 |
Address translation aborted. |
This field resets to an architecturally UNKNOWN value.
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
ATTR | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | PA | ||||||||||||||
PA | LPAE | IMPLEMENTATION DEFINED | NS | SH | 0 | 0 | 0 | 0 | 0 | 0 | F | ||||||||||||||||||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
This section describes the register value returned by the successful execution of an Address translation instruction. Software might subsequently write a different value to the register, and that write does not affect the operation of the PE.
On a successful conversion, the PAR can return a value that indicates the resulting attributes, rather than the values that appear in the translation table descriptors. More precisely:
Memory attributes for the returned output address. This field uses the same encoding as the Attr<n> fields in MAIR0 and MAIR1.
The value returned in this field can be the resulting attribute, as determined by any permitted implementation choices and any applicable configuration bits, instead of the value that appears in the translation table descriptor.
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
Output address. The output address (OA) corresponding to the supplied input address. This field returns address bits[39:12].
This field resets to an architecturally UNKNOWN value.
When updating the PAR with the result of the translation operation, this bit is set as follows:
LPAE | Meaning |
---|---|
0b1 |
Long-descriptor translation table format used. This means the PAR returned a 64-bit value. |
This field resets to an architecturally UNKNOWN value.
IMPLEMENTATION DEFINED.
This field resets to an architecturally UNKNOWN value.
Non-secure. The NS attribute for a translation table entry from a Secure translation regime.
For a result from a Secure translation regime, this bit reflects the Security state of the physical address space of the translation. This means it reflects the effect of the NSTable bits of earlier levels of the translation table walk if those NSTable bits have an effect on the translation.
For a result from a Non-secure translation regime, this bit is UNKNOWN.
This field resets to an architecturally UNKNOWN value.
Shareability attribute, for the returned output address. Permitted values are:
SH | Meaning |
---|---|
0b00 |
Non-shareable. |
0b10 |
Outer Shareable. |
0b11 |
Inner Shareable. |
The value 0b01 is reserved.
This field returns the value 0b10 for:
The value returned in this field can be the resulting attribute, as determined by any permitted implementation choices and any applicable configuration bits, instead of the value that appears in the translation table descriptor.
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
Indicates whether the instruction performed a successful address translation.
F | Meaning |
---|---|
0b0 |
Address translation completed successfully. |
This field resets to an architecturally UNKNOWN value.
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
IMPLEMENTATION DEFINED | IMPLEMENTATION DEFINED | IMPLEMENTATION DEFINED | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LPAE | 0 | FSTAGE | S2WLK | 0 | FST | F | |||||
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
This section describes the register value returned by a fault on the execution of an Address translation instruction. Software might subsequently write a different value to the register, and that write does not affect the operation of the PE.
IMPLEMENTATION DEFINED.
This field resets to an architecturally UNKNOWN value.
IMPLEMENTATION DEFINED.
This field resets to an architecturally UNKNOWN value.
IMPLEMENTATION DEFINED.
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
When updating the PAR with the result of the translation operation, this bit is set as follows:
LPAE | Meaning |
---|---|
0b1 |
Long-descriptor translation table format used. This means the PAR returned a 64-bit value. |
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
Indicates the translation stage at which the translation aborted:
FSTAGE | Meaning |
---|---|
0b0 |
Translation aborted because of a fault in the stage 1 translation. |
0b1 |
Translation aborted because of a fault in the stage 2 translation. |
This field resets to an architecturally UNKNOWN value.
If this bit is set to 1, it indicates the translation aborted because of a stage 2 fault during a stage 1 translation table walk.
This field resets to an architecturally UNKNOWN value.
Reserved, RES0.
Fault status field. Values are as in the DFSR.STATUS and IFSR.STATUS fields when using the Long-descriptor translation table format.
This field resets to an architecturally UNKNOWN value.
Indicates whether the instruction performed a successful address translation.
F | Meaning |
---|---|
0b1 |
Address translation aborted. |
This field resets to an architecturally UNKNOWN value.
Accesses to this register use the following encodings:
opc1 | opc2 | CRn | coproc | CRm |
---|---|---|---|---|
0b000 | 0b000 | 0b0111 | 0b1111 | 0b0100 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T7 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T7 == '1' then AArch32.TakeHypTrapException(0x03); elsif HaveEL(EL3) && ELUsingAArch32(EL3) then if SCR.NS == '0' then return PAR_S<31:0>; else return PAR_NS<31:0>; else return PAR<31:0>; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && ELUsingAArch32(EL3) then return PAR_NS<31:0>; else return PAR<31:0>; elsif PSTATE.EL == EL3 then if SCR.NS == '0' then return PAR_S<31:0>; else return PAR_NS<31:0>;
opc1 | opc2 | CRn | coproc | CRm |
---|---|---|---|---|
0b000 | 0b000 | 0b0111 | 0b1111 | 0b0100 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T7 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T7 == '1' then AArch32.TakeHypTrapException(0x03); elsif HaveEL(EL3) && ELUsingAArch32(EL3) then if SCR.NS == '0' then PAR_S = ZeroExtend(R[t]); else PAR_NS = ZeroExtend(R[t]); else PAR = ZeroExtend(R[t]); elsif PSTATE.EL == EL2 then if HaveEL(EL3) && ELUsingAArch32(EL3) then PAR_NS = ZeroExtend(R[t]); else PAR = ZeroExtend(R[t]); elsif PSTATE.EL == EL3 then if SCR.NS == '0' then PAR_S = ZeroExtend(R[t]); else PAR_NS = ZeroExtend(R[t]);
opc1 | coproc | CRm |
---|---|---|
0b0000 | 0b1111 | 0b0111 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T7 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x04); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T7 == '1' then AArch32.TakeHypTrapException(0x04); elsif HaveEL(EL3) && ELUsingAArch32(EL3) then if SCR.NS == '0' then return PAR_S; else return PAR_NS; else return PAR; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && ELUsingAArch32(EL3) then return PAR_NS; else return PAR; elsif PSTATE.EL == EL3 then if SCR.NS == '0' then return PAR_S; else return PAR_NS;
opc1 | coproc | CRm |
---|---|---|
0b0000 | 0b1111 | 0b0111 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T7 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x04); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T7 == '1' then AArch32.TakeHypTrapException(0x04); elsif HaveEL(EL3) && ELUsingAArch32(EL3) then if SCR.NS == '0' then PAR_S = R[t2]:R[t]; else PAR_NS = R[t2]:R[t]; else PAR = R[t2]:R[t]; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && ELUsingAArch32(EL3) then PAR_NS = R[t2]:R[t]; else PAR = R[t2]:R[t]; elsif PSTATE.EL == EL3 then if SCR.NS == '0' then PAR_S = R[t2]:R[t]; else PAR_NS = R[t2]:R[t];
13/12/2018 16:42; 6379d01c197f1d40720d32d0f84c419c9187c009
Copyright © 2010-2018 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.