The GPCBW_EL3 characteristics are:
The control register for Granule Protection Check bypass window.
This register is present only when FEAT_RME_GPC3 is implemented. Otherwise, direct accesses to GPCBW_EL3 are UNDEFINED.
GPCBW_EL3 is a 64-bit register.
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 |
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 |
RES0 | BWSIZE | BWSTRIDE | |||||||||||||||||||||||||||||
RES0 | BWADDR |
Reserved, RES0.
GPC Bypass Window Size.
BWSIZE defines the size of the GPC bypass memory region.
BWSIZE | Meaning |
---|---|
0b000 |
30 bits, 1GB GPC bypass window. |
0b001 |
31 bits, 2GB GPC bypass window. |
0b010 |
32 bits, 4GB GPC bypass window. |
0b011 |
34 bits, 16GB GPC bypass window. |
0b100 |
36 bits, 64GB GPC bypass window. |
All other values are reserved.
This field is permitted to be cached in a TLB.
The reset behavior of this field is:
GPC Bypass Window Stride.
BWSTRIDE allows creating multiple GPC bypass memory regions in the memory map across a specific stride.
BWSTRIDE | Meaning |
---|---|
0b00000 |
1TB stride. |
0b00010 |
4TB stride. |
0b00100 |
16TB stride. |
0b00110 |
64TB stride. |
0b00111 |
128TB stride. |
0b01000 |
256TB stride. |
0b01001 |
512TB stride. |
0b01010 |
1PB stride. |
0b10000 |
64PB (No stride). |
All other values are reserved.
This field is permitted to be cached in a TLB.
The reset behavior of this field is:
Reserved, RES0.
GPC Bypass window address.
This field represents bits [55:30] of the GPC bypass window base address.
The GPC bypass window is:
This means that only bits [gpcbwu:gpcbwl] of a PA are compared against bits [gpcbwu:gpcbwl] of the window base address derived from BWADDR when checking if a PA falls within the range of a window, where:
BWSIZE | gpcbwl |
---|---|
0b000 | 30 |
0b001 | 31 |
0b010 | 32 |
0b100 | 34 |
0b110 | 36 |
BWSTRIDE | gpcbwu |
---|---|
0b00000 | 39 |
0b00010 | 41 |
0b00100 | 43 |
0b00110 | 45 |
0b00111 | 46 |
0b01000 | 47 |
0b01001 | 48 |
0b01010 | 49 |
0b10000 | 55 |
If the base address derived from BWADDR is not aligned to the size programmed in BWSIZE the configuration is invalid.
An access to a PA falls within a GPC bypass window if the pseudocode function PAWithinGPCBypassWindow() returns TRUE.
This field is permitted to be cached in a TLB.
The reset behavior of this field is:
Accesses to this register use the following encodings in the System register encoding space:
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b110 | 0b0010 | 0b0001 | 0b101 |
if !IsFeatureImplemented(FEAT_RME_GPC3) then UNDEFINED; elsif PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then X[t, 64] = GPCBW_EL3;
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b110 | 0b0010 | 0b0001 | 0b101 |
if !IsFeatureImplemented(FEAT_RME_GPC3) then UNDEFINED; elsif PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then if IsFeatureImplemented(FEAT_FGWTE3) && FGWTE3_EL3.GPCBW_EL3 == '1' then AArch64.SystemAccessTrap(EL3, 0x18); else GPCBW_EL3 = X[t, 64];
15/12/2024 22:27; 5e0a212688c6bd7aee92394b6f5e491b4d0fee1d
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.