HDBSSBR_EL2, Hardware Dirty State Tracking Structure Base Register

The HDBSSBR_EL2 characteristics are:

Purpose

Control register for HDBSS base address.

Configuration

This register is present only when FEAT_HDBSS is implemented. Otherwise, direct accesses to HDBSSBR_EL2 are UNDEFINED.

Attributes

HDBSSBR_EL2 is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0BADDR
BADDRRES0SZ

Bits [63:56]

Reserved, RES0.

BADDR, bits [55:12]

HDBSS base address, bits [55:12].

Bits of this field above the implemented physical address size, indicated in ID_AA64MMFR0_EL1.PARange, are RES0.

Similarly, based on the value of the SZ field of this register, for encodings of the SZ field greater than 4KB, bits [(SZ+12-1):12] of this field are RES0. HDBSS must be aligned to its size.

The reset behavior of this field is:

Bits [11:4]

Reserved, RES0.

SZ, bits [3:0]

Size of the HDBSS.

SZMeaning
0b0001

8KB

0b0010

16KB

0b0011

32KB

0b0100

64KB

0b0101

128KB

0b0110

256KB

0b0111

512KB

0b1000

1MB

0b1001

2MB

All other values are reserved.

The reset behavior of this field is:

Accessing HDBSSBR_EL2

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

MRS <Xt>, HDBSSBR_EL2

op0op1CRnCRmop2
0b110b1000b00100b00110b010

if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EffectiveHCR_EL2_NVx() IN {'1x1'} then X[t, 64] = NVMem[0x2E0]; elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then AArch64.SystemAccessTrap(EL2, 0x18); else UNDEFINED; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && EL3SDDUndefPriority() && SCR_EL3.HDBSSEn == '0' then UNDEFINED; elsif HaveEL(EL3) && SCR_EL3.HDBSSEn == '0' then if EL3SDDUndef() then UNDEFINED; else AArch64.SystemAccessTrap(EL3, 0x18); else X[t, 64] = HDBSSBR_EL2; elsif PSTATE.EL == EL3 then X[t, 64] = HDBSSBR_EL2;

MSR HDBSSBR_EL2, <Xt>

op0op1CRnCRmop2
0b110b1000b00100b00110b010

if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EffectiveHCR_EL2_NVx() IN {'1x1'} then NVMem[0x2E0] = X[t, 64]; elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then AArch64.SystemAccessTrap(EL2, 0x18); else UNDEFINED; elsif PSTATE.EL == EL2 then if HaveEL(EL3) && EL3SDDUndefPriority() && SCR_EL3.HDBSSEn == '0' then UNDEFINED; elsif HaveEL(EL3) && SCR_EL3.HDBSSEn == '0' then if EL3SDDUndef() then UNDEFINED; else AArch64.SystemAccessTrap(EL3, 0x18); else HDBSSBR_EL2 = X[t, 64]; elsif PSTATE.EL == EL3 then HDBSSBR_EL2 = X[t, 64];


26/03/2024 09:49; 67c0ae5282a7629ba0ea0ba7267b43cd4f7939f6

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