The CLIDR_EL1 characteristics are:
Identifies the type of cache, or caches, that are implemented at each level and can be managed using the architected cache maintenance instructions that operate by set/way, up to a maximum of seven levels. Also identifies the Level of Coherence (LoC) and Level of Unification (LoU) for the cache hierarchy.
AArch64 System register CLIDR_EL1 bits [31:0] are architecturally mapped to AArch32 System register CLIDR[31:0] .
CLIDR_EL1 is a 64-bit register.
The CLIDR_EL1 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 | Ttype<n>, bits [2(n-1)+34:2(n-1)+33], for n = 1 to 7 | ICB | |||||||||||||
ICB | LoUU | LoC | LoUIS | Ctype7 | Ctype6 | Ctype5 | Ctype4 | Ctype3 | Ctype2 | Ctype1 | |||||||||||||||||||||
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 |
Reserved, RES0.
Tag cache type. Indicate the type of cache that is implemented and can be managed using the architected cache maintenance instructions that operate by set/way at each level, from Level 1 up to a maximum of seven levels of cache hierarchy.
Ttype<n> | Meaning |
---|---|
0b00 |
No Tag Cache. |
0b01 |
Separate Allocation Tag Cache. |
0b10 |
Unified Allocation Tag and Data cache, Allocation Tags and Data in unified lines. |
0b11 |
Unified Allocation Tag and Data cache, Allocation Tags and Data in separate lines. |
Reserved, RES0.
Inner cache boundary. This field indicates the boundary for caching Inner Cacheable memory regions.
The possible values are:
ICB | Meaning |
---|---|
0b000 |
Not disclosed by this mechanism. |
0b001 |
L1 cache is the highest Inner Cacheable level. |
0b010 |
L2 cache is the highest Inner Cacheable level. |
0b011 |
L3 cache is the highest Inner Cacheable level. |
0b100 |
L4 cache is the highest Inner Cacheable level. |
0b101 |
L5 cache is the highest Inner Cacheable level. |
0b110 |
L6 cache is the highest Inner Cacheable level. |
0b111 |
L7 cache is the highest Inner Cacheable level. |
Level of Unification Uniprocessor for the cache hierarchy.
Level of Coherence for the cache hierarchy.
Level of Unification Inner Shareable for the cache hierarchy.
Cache Type fields. Indicate the type of cache that is implemented and can be managed using the architected cache maintenance instructions that operate by set/way at each level, from Level 1 up to a maximum of seven levels of cache hierarchy. Possible values of each field are:
Ctype<n> | Meaning |
---|---|
0b000 |
No cache. |
0b001 |
Instruction cache only. |
0b010 |
Data cache only. |
0b011 |
Separate instruction and data caches. |
0b100 |
Unified cache. |
All other values are reserved.
If software reads the Cache Type fields from Ctype1 upwards, once it has seen a value of 000, no caches that can be managed using the architected cache maintenance instructions that operate by set/way exist at further-out levels of the hierarchy. So, for example, if Ctype3 is the first Cache Type field with a value of 000, the values of Ctype4 to Ctype7 must be ignored.
Accesses to this register use the following encodings:
op0 | CRn | op1 | op2 | CRm |
---|---|---|---|---|
0b11 | 0b0000 | 0b001 | 0b001 | 0b0000 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HCR_EL2.TID2 == '1' then AArch64.SystemAccessTrap(EL2, 0x18); elsif EL2Enabled() && !ELUsingAArch32(EL2) && HCR_EL2.TID4 == '1' then AArch64.SystemAccessTrap(EL2, 0x18); else return CLIDR_EL1; elsif PSTATE.EL == EL2 then return CLIDR_EL1; elsif PSTATE.EL == EL3 then return CLIDR_EL1;
13/12/2018 16:42; 6379d01c197f1d40720d32d0f84c419c9187c009
Copyright © 2010-2018 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.