This is a mirror of the original site (arm.jonpalmisc.com), which was taken down.
Hosted on IPFS, storage on Filebase.
Granule Protection Check Bypass Window Register (EL3)
The control register for Granule Protection Check bypass window.
This register is present only when FEAT_RME_GPC3 is implemented and FEAT_AA64 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. |
| 0b100 |
34 bits, 16GB GPC bypass window. |
| 0b110 |
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.
If this field is configured to a value that produces a GPC bypass window base address that is greater than or equal to the stride value configured by BWSTRIDE, 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:
MRS <Xt>, GPCBW_EL3
(op0 = 0b11, op1 = 0b110, CRn = 0b0010, CRm = 0b0001, op2 = 0b101)
if !(IsFeatureImplemented(FEAT_RME_GPC3) && IsFeatureImplemented(FEAT_AA64)) 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{64}(t) = GPCBW_EL3(); end;
MSR GPCBW_EL3, <Xt>
(op0 = 0b11, op1 = 0b110, CRn = 0b0010, CRm = 0b0001, op2 = 0b101)
if !(IsFeatureImplemented(FEAT_RME_GPC3) && IsFeatureImplemented(FEAT_AA64)) 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{64}(t); end; end;
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.