[Writeup] AArch32 system register pages: part 3 of 4 ==================================================== Section: Silicon & Architectures Started: 2026-11-28 17:36 UTC by admin Replies: 0, last post 2026-11-28 17:36 UTC Page: 1 of 1 Web: https://romdump.net/t/58 ------------------------------------------------------------------------------ #78 admin, 2026-11-28 17:36 UTC [OP] Source: https://romdump.net/raw/78 Archived Arm source pages for the AArch32 system register pages. Part 3 of 4. This part covers ICIMVAU through TLBIIPAS2L. ICIMVAU Instruction Cache line Invalidate by VA to PoU Invalidate instruction cache line by virtual address to PoU. Configuration AArch32 System instruction ICIMVAU performs the same function as AArch64 System instruction IC IVAU. This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to ICIMVAU are UNDEFINED. Attributes ICIMVAU is a 32-bit System instruction. Field descriptions 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 VA | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VA, bits [31:0]: Virtual address to use. No alignment restrictions apply to this VA. Executing ICIMVAU Execution of this instruction might require an address translation from VA to PA, and that translation might fault. For more information about faults, see 'Permission fault'. For more information about data cache maintenance instructions, see 'AArch32 instruction cache maintenance instructions (IC*)'. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b0111, CRm = 0b0101, opc2 = 0b001) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if !AArch32_CanTrapIC(CacheOp_Invalidate, CacheOpScope_PoU) then ExecuteAsNOP(); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T7 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T7 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TPU == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TOCU == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TPU == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR2().TOCU == '1' then AArch32_TakeHypTrapException(0x03); else if AArch32_TreatICAsNOP(CacheOp_Invalidate, CacheOpScope_PoU) then ExecuteAsNOP(); else AArch32_IC(R(t), CacheOpScope_PoU); end; end; elsif PSTATE.EL == EL2 then if !AArch32_CanTrapIC(CacheOp_Invalidate, CacheOpScope_PoU) then ExecuteAsNOP(); else if AArch32_TreatICAsNOP(CacheOp_Invalidate, CacheOpScope_PoU) then ExecuteAsNOP(); else AArch32_IC(R(t), CacheOpScope_PoU); end; end; elsif PSTATE.EL == EL3 then if AArch32_TreatICAsNOP(CacheOp_Invalidate, CacheOpScope_PoU) then ExecuteAsNOP(); else AArch32_IC(R(t), CacheOpScope_PoU); end; end; ``` ---- ITLBIALL Instruction TLB Invalidate All Invalidate all cached copies of translation table entries from instruction TLBs that are from any level of the translation table walk. The entries that are invalidated are as follows: If executed at EL1, all entries that: - Would be required for the EL1&0 translation regime. - Match the current VMID, if EL2 is implemented and enabled in the current Security state. - If executed in Secure state when EL3 is using AArch32, all entries that would be required for the Secure PL1&0 translation regime. - If executed at EL2, and if EL2 is enabled in the current Security state, the stage 1 or stage 2 translation table entries that would be required for the Non-secure PL1&0 translation regime and matches the current VMID. The invalidation only applies to the PE that executes this System instruction. Arm deprecates the use of this System instruction. It is only provided for backward compatibility with earlier versions of the Arm architecture. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to ITLBIALL are UNDEFINED. Attributes ITLBIALL is a 32-bit System instruction. Field descriptions This instruction has no applicable fields. The value in the register specified by is ignored. Executing ITLBIALL The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0101, opc2 = 0b000) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_ITLBI_ALL(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr); end; elsif PSTATE.EL == EL2 then AArch32_ITLBI_ALL(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr); elsif PSTATE.EL == EL3 then AArch32_ITLBI_ALL(SecurityStateAtEL(EL3), Regime_EL30, VMID(), Broadcast_NSH, TLBI_AllAttr); end; ``` ---- ITLBIASID Instruction TLB Invalidate by ASID match Invalidate all cached copies of translation table entries from instruction TLBs that meet the following requirements: - The entry is a stage 1 translation table entry. The entry would be used for the specified ASID, and either: - Is from a level of lookup above the final level. - Is a non-global entry from the final level of lookup. - If EL2 is implemented and enabled in the current Security state, the entry would be used with the current VMID. From the entries that match these requirements, the entries that are invalidated are required for the following translation regime: - If executed at Secure EL1 when EL3 is using AArch64, the Secure EL1&0 translation regime. - If executed in Secure state when EL3 is using AArch32, the Secure PL1&0 translation regime. - If executed in Non-secure state, the Non-secure PL1&0 translation regime. The invalidation only applies to the PE that executes this System instruction. Arm deprecates the use of this System instruction. It is only provided for backward compatibility with earlier versions of the Arm architecture. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to ITLBIASID are UNDEFINED. Attributes ITLBIASID is a 32-bit System instruction. Field descriptions 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 | | | | | | | | | | | | | | | | | | | | | | | | ASID | | | | | | | Bits [31:8]: Reserved, RES0. ASID, bits [7:0]: ASID value to match. Any TLB entries for non-global pages that match the ASID values will be affected by this System instruction. Executing ITLBIASID The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0101, opc2 = 0b010) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_ITLBI_ASID(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr, R(t)); end; elsif PSTATE.EL == EL2 then AArch32_ITLBI_ASID(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then AArch32_ITLBI_ASID(SecurityStateAtEL(EL3), Regime_EL30, VMID_NONE, Broadcast_NSH, TLBI_AllAttr, R(t)); end; ``` ---- ITLBIMVA Instruction TLB Invalidate by VA Invalidate all cached copies of translation table entries from instruction TLBs that meet the following requirements: - The entry is a stage 1 translation table entry. The entry would be used to translate the specified address, and one of the following applies: - The entry is from a level of lookup above the final level and matches the specified ASID. - The entry is a global entry from the final level of lookup. - The entry is a non-global entry from the final level of lookup that matches the specified ASID. - If EL2 is implemented and enabled in the current Security state, the entry would be used with the current VMID. From the entries that match these requirements, the entries that are invalidated are required for the following translation regime: - If executed at Secure EL1 when EL3 is using AArch64, the Secure EL1&0 translation regime. - If executed in Secure state when EL3 is using AArch32, the Secure PL1&0 translation regime. - If executed in Non-secure state, the Non-secure PL1&0 translation regime. The invalidation only applies to the PE that executes this System instruction. Arm deprecates the use of this System instruction. It is only provided for backward compatibility with earlier versions of the Arm architecture. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to ITLBIMVA are UNDEFINED. Attributes ITLBIMVA is a 32-bit System instruction. Field descriptions 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 VA | | | | | | | | | | | | | | | | | | | | RES0 | | | | ASID | | | | | | | VA, bits [31:12]: Virtual address to match. Any TLB entries that match the ASID value and VA value will be affected by this System instruction. Bits [11:8]: Reserved, RES0. ASID, bits [7:0]: ASID value to match. Any TLB entries that match the ASID value and VA value will be affected by this System instruction. Global TLB entries that match the VA value will be affected by this operation, regardless of the value of the ASID field. Executing ITLBIMVA The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0101, opc2 = 0b001) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_ITLBI_VA(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBILevel_Any, TLBI_AllAttr, R(t)); end; elsif PSTATE.EL == EL2 then AArch32_ITLBI_VA(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBILevel_Any, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then AArch32_ITLBI_VA(SecurityStateAtEL(EL3), Regime_EL30, VMID_NONE, Broadcast_NSH, TLBILevel_Any, TLBI_AllAttr, R(t)); end; ``` ---- This site offers reference documentation for the AArch64 instruction set and system registers defined by the Armv8-A and Armv9-A architectures. You can use the search field below (and at the top of every page) to search for an instruction or system register. Alternatively, you can browse the full listings manually: - All Instructions: Base | SIMD | SVE | SME - All Registers: AArch64 | AArch32 If you see this note instead of a search field, your browser either does not support WebAssembly or it has been disabled, e.g. in Apple's Lockdown Mode . ---- ACTLR: Auxiliary Control Register ACTLR2: Auxiliary Control Register 2 ADFSR: Auxiliary Data Fault Status Register AIDR: Auxiliary ID Register AIFSR: Auxiliary Instruction Fault Status Register AMAIR0: Auxiliary Memory Attribute Indirection Register 0 AMAIR1: Auxiliary Memory Attribute Indirection Register 1 AMCFGR: Activity Monitors Configuration Register AMCGCR: Activity Monitors Counter Group Configuration Register AMCNTENCLR0: Activity Monitors Count Enable Clear Register 0 AMCNTENCLR1: Activity Monitors Count Enable Clear Register 1 AMCNTENSET0: Activity Monitors Count Enable Set Register 0 AMCNTENSET1: Activity Monitors Count Enable Set Register 1 AMCR: Activity Monitors Control Register AMEVCNTR0: Activity Monitors Event Counter Registers 0 AMEVCNTR1: Activity Monitors Event Counter Registers 1 AMEVTYPER0: Activity Monitors Event Type Registers 0 AMEVTYPER1: Activity Monitors Event Type Registers 1 AMUSERENR: Activity Monitors User Enable Register APSR: Application Program Status Register CCSIDR: Current Cache Size ID Register CCSIDR2: Current Cache Size ID Register 2 CLIDR: Cache Level ID Register CNTFRQ: Counter-timer Frequency register CNTHCTL: Counter-timer Hyp Control register CNTHPS_CTL: Counter-timer Secure Physical Timer Control Register (EL2) CNTHPS_CVAL: Counter-timer Secure Physical Timer CompareValue Register (EL2) CNTHPS_TVAL: Counter-timer Secure Physical Timer TimerValue Register (EL2) CNTHP_CTL: Counter-timer Hyp Physical Timer Control register CNTHP_CVAL: Counter-timer Hyp Physical CompareValue register CNTHP_TVAL: Counter-timer Hyp Physical Timer TimerValue register CNTHVS_CTL: Counter-timer Secure Virtual Timer Control Register (EL2) CNTHVS_CVAL: Counter-timer Secure Virtual Timer CompareValue Register (EL2) CNTHVS_TVAL: Counter-timer Secure Virtual Timer TimerValue Register (EL2) CNTHV_CTL: Counter-timer Virtual Timer Control register (EL2) CNTHV_CVAL: Counter-timer Virtual Timer CompareValue register (EL2) CNTHV_TVAL: Counter-timer Virtual Timer TimerValue register (EL2) CNTKCTL: Counter-timer Kernel Control register CNTPCT: Counter-timer Physical Count register CNTPCTSS: Counter-timer Self-Synchronized Physical Count register CNTP_CTL: Counter-timer Physical Timer Control register CNTP_CVAL: Counter-timer Physical Timer CompareValue register CNTP_TVAL: Counter-timer Physical Timer TimerValue register CNTVCT: Counter-timer Virtual Count register CNTVCTSS: Counter-timer Self-Synchronized Virtual Count register CNTVOFF: Counter-timer Virtual Offset register CNTV_CTL: Counter-timer Virtual Timer Control register CNTV_CVAL: Counter-timer Virtual Timer CompareValue register CNTV_TVAL: Counter-timer Virtual Timer TimerValue register CONTEXTIDR: Context ID Register CPACR: Architectural Feature Access Control Register CPSR: Current Program Status Register CSSELR: Cache Size Selection Register CTR: Cache Type Register DACR: Domain Access Control Register DBGAUTHSTATUS: Debug Authentication Status register DBGBCR: Debug Breakpoint Control Registers DBGBVR: Debug Breakpoint Value Registers DBGBXVR: Debug Breakpoint Extended Value Registers DBGCLAIMCLR: Debug CLAIM Tag Clear register DBGCLAIMSET: Debug CLAIM Tag Set register DBGDCCINT: DCC Interrupt Enable Register DBGDEVID: Debug Device ID register 0 DBGDEVID1: Debug Device ID register 1 DBGDEVID2: Debug Device ID register 2 DBGDIDR: Debug ID Register DBGDRAR: Debug ROM Address Register DBGDSAR: Debug Self Address Register DBGDSCRext: Debug Status and Control Register, External View DBGDSCRint: Debug Status and Control Register, Internal View DBGDTRRXext: Debug OS Lock Data Transfer Register, Receive, External View DBGDTRRXint: Debug Data Transfer Register, Receive DBGDTRTXext: Debug OS Lock Data Transfer Register, Transmit DBGDTRTXint: Debug Data Transfer Register, Transmit DBGOSDLR: Debug OS Double Lock Register DBGOSECCR: Debug OS Lock Exception Catch Control Register DBGOSLAR: Debug OS Lock Access Register DBGOSLSR: Debug OS Lock Status Register DBGPRCR: Debug Power Control Register DBGVCR: Debug Vector Catch Register DBGWCR: Debug Watchpoint Control Registers DBGWFAR: Debug Watchpoint Fault Address Register DBGWVR: Debug Watchpoint Value Registers DFAR: Data Fault Address Register DFSR: Data Fault Status Register DISR: Deferred Interrupt Status Register DLR: Debug Link Register DSPSR: Debug Saved Program Status Register DSPSR2: Debug Saved Process State Register 2 ELR_hyp: Exception Link Register (Hyp mode) ERRIDR: Error Record ID Register ERRSELR: Error Record Select Register ERXADDR: Selected Error Record Address Register ERXADDR2: Selected Error Record Address Register 2 ERXCTLR: Selected Error Record Control Register ERXCTLR2: Selected Error Record Control Register 2 ERXFR: Selected Error Record Feature Register ERXFR2: Selected Error Record Feature Register 2 ERXMISC0: Selected Error Record Miscellaneous Register 0 ERXMISC1: Selected Error Record Miscellaneous Register 1 ERXMISC2: Selected Error Record Miscellaneous Register 2 ERXMISC3: Selected Error Record Miscellaneous Register 3 ERXMISC4: Selected Error Record Miscellaneous Register 4 ERXMISC5: Selected Error Record Miscellaneous Register 5 ERXMISC6: Selected Error Record Miscellaneous Register 6 ERXMISC7: Selected Error Record Miscellaneous Register 7 ERXSTATUS: Selected Error Record Primary Status Register FCSEIDR: FCSE Process ID register FPEXC: Floating-Point Exception Control register FPSCR: Floating-Point Status and Control Register FPSID: Floating-Point System ID register HACR: Hyp Auxiliary Configuration Register HACTLR: Hyp Auxiliary Control Register HACTLR2: Hyp Auxiliary Control Register 2 HADFSR: Hyp Auxiliary Data Fault Status Register HAIFSR: Hyp Auxiliary Instruction Fault Status Register HAMAIR0: Hyp Auxiliary Memory Attribute Indirection Register 0 HAMAIR1: Hyp Auxiliary Memory Attribute Indirection Register 1 HCPTR: Hyp Architectural Feature Trap Register HCR: Hyp Configuration Register HCR2: Hyp Configuration Register 2 HDCR: Hyp Debug Control Register HDFAR: Hyp Data Fault Address Register HIFAR: Hyp Instruction Fault Address Register HMAIR0: Hyp Memory Attribute Indirection Register 0 HMAIR1: Hyp Memory Attribute Indirection Register 1 HPFAR: Hyp IPA Fault Address Register HRMR: Hyp Reset Management Register HSCTLR: Hyp System Control Register HSR: Hyp Syndrome Register HSTR: Hyp System Trap Register HTCR: Hyp Translation Control Register HTPIDR: Hyp Software Thread ID Register HTRFCR: Hyp Trace Filter Control Register HTTBR: Hyp Translation Table Base Register HVBAR: Hyp Vector Base Address Register ICC_AP0R: Interrupt Controller Active Priorities Group 0 Registers ICC_AP1R: Interrupt Controller Active Priorities Group 1 Registers ICC_ASGI1R: Interrupt Controller Alias Software Generated Interrupt Group 1 Register ICC_BPR0: Interrupt Controller Binary Point Register 0 ICC_BPR1: Interrupt Controller Binary Point Register 1 ICC_CTLR: Interrupt Controller Control Register ICC_DIR: Interrupt Controller Deactivate Interrupt Register ICC_EOIR0: Interrupt Controller End Of Interrupt Register 0 ICC_EOIR1: Interrupt Controller End Of Interrupt Register 1 ICC_HPPIR0: Interrupt Controller Highest Priority Pending Interrupt Register 0 ICC_HPPIR1: Interrupt Controller Highest Priority Pending Interrupt Register 1 ICC_HSRE: Interrupt Controller Hyp System Register Enable register ICC_IAR0: Interrupt Controller Interrupt Acknowledge Register 0 ICC_IAR1: Interrupt Controller Interrupt Acknowledge Register 1 ICC_IGRPEN0: Interrupt Controller Interrupt Group 0 Enable register ICC_IGRPEN1: Interrupt Controller Interrupt Group 1 Enable register ICC_MCTLR: Interrupt Controller Monitor Control Register ICC_MGRPEN1: Interrupt Controller Monitor Interrupt Group 1 Enable register ICC_MSRE: Interrupt Controller Monitor System Register Enable register ICC_PMR: Interrupt Controller Interrupt Priority Mask Register ICC_RPR: Interrupt Controller Running Priority Register ICC_SGI0R: Interrupt Controller Software Generated Interrupt Group 0 Register ICC_SGI1R: Interrupt Controller Software Generated Interrupt Group 1 Register ICC_SRE: Interrupt Controller System Register Enable register ICH_AP0R: Interrupt Controller Hyp Active Priorities Group 0 Registers ICH_AP1R: Interrupt Controller Hyp Active Priorities Group 1 Registers ICH_EISR: Interrupt Controller End of Interrupt Status Register ICH_ELRSR: Interrupt Controller Empty List Register Status Register ICH_HCR: Interrupt Controller Hyp Control Register ICH_LR: Interrupt Controller List Registers ICH_LRC: Interrupt Controller List Registers ICH_MISR: Interrupt Controller Maintenance Interrupt State Register ICH_VMCR: Interrupt Controller Virtual Machine Control Register ICH_VTR: Interrupt Controller VGIC Type Register ICV_AP0R: Interrupt Controller Virtual Active Priorities Group 0 Registers ICV_AP1R: Interrupt Controller Virtual Active Priorities Group 1 Registers ICV_BPR0: Interrupt Controller Virtual Binary Point Register 0 ICV_BPR1: Interrupt Controller Virtual Binary Point Register 1 ICV_CTLR: Interrupt Controller Virtual Control Register ICV_DIR: Interrupt Controller Deactivate Virtual Interrupt Register ICV_EOIR0: Interrupt Controller Virtual End Of Interrupt Register 0 ICV_EOIR1: Interrupt Controller Virtual End Of Interrupt Register 1 ICV_HPPIR0: Interrupt Controller Virtual Highest Priority Pending Interrupt Register 0 ICV_HPPIR1: Interrupt Controller Virtual Highest Priority Pending Interrupt Register 1 ICV_IAR0: Interrupt Controller Virtual Interrupt Acknowledge Register 0 ICV_IAR1: Interrupt Controller Virtual Interrupt Acknowledge Register 1 ICV_IGRPEN0: Interrupt Controller Virtual Interrupt Group 0 Enable register ICV_IGRPEN1: Interrupt Controller Virtual Interrupt Group 1 Enable register ICV_PMR: Interrupt Controller Virtual Interrupt Priority Mask Register ICV_RPR: Interrupt Controller Virtual Running Priority Register ID_AFR0: Auxiliary Feature Register 0 ID_DFR0: Debug Feature Register 0 ID_DFR1: Debug Feature Register 1 ID_ISAR0: Instruction Set Attribute Register 0 ID_ISAR1: Instruction Set Attribute Register 1 ID_ISAR2: Instruction Set Attribute Register 2 ID_ISAR3: Instruction Set Attribute Register 3 ID_ISAR4: Instruction Set Attribute Register 4 ID_ISAR5: Instruction Set Attribute Register 5 ID_ISAR6: Instruction Set Attribute Register 6 ID_MMFR0: Memory Model Feature Register 0 ID_MMFR1: Memory Model Feature Register 1 ID_MMFR2: Memory Model Feature Register 2 ID_MMFR3: Memory Model Feature Register 3 ID_MMFR4: Memory Model Feature Register 4 ID_MMFR5: Memory Model Feature Register 5 ID_PFR0: Processor Feature Register 0 ID_PFR1: Processor Feature Register 1 ID_PFR2: Processor Feature Register 2 IFAR: Instruction Fault Address Register IFSR: Instruction Fault Status Register ISR: Interrupt Status Register JIDR: Jazelle ID Register JMCR: Jazelle Main Configuration Register JOSCR: Jazelle OS Control Register MAIR0: Memory Attribute Indirection Register 0 MAIR1: Memory Attribute Indirection Register 1 MIDR: Main ID Register MPIDR: Multiprocessor Affinity Register MVBAR: Monitor Vector Base Address Register MVFR0: Media and VFP Feature Register 0 MVFR1: Media and VFP Feature Register 1 MVFR2: Media and VFP Feature Register 2 NMRR: Normal Memory Remap Register NSACR: Non-Secure Access Control Register PAR: Physical Address Register PMCCFILTR: Performance Monitors Cycle Count Filter Register PMCCNTR: Performance Monitors Cycle Count Register PMCEID0: Performance Monitors Common Event Identification register 0 PMCEID1: Performance Monitors Common Event Identification register 1 PMCEID2: Performance Monitors Common Event Identification register 2 PMCEID3: Performance Monitors Common Event Identification register 3 PMCNTENCLR: Performance Monitors Count Enable Clear register PMCNTENSET: Performance Monitors Count Enable Set register PMCR: Performance Monitors Control Register PMEVCNTR: Performance Monitors Event Count Registers PMEVTYPER: Performance Monitors Event Type Registers PMINTENCLR: Performance Monitors Interrupt Enable Clear register PMINTENSET: Performance Monitors Interrupt Enable Set register PMMIR: Performance Monitors Machine Identification Register PMOVSR: Performance Monitors Overflow Flag Status Register PMOVSSET: Performance Monitors Overflow Flag Status Set register PMSELR: Performance Monitors Event Counter Selection Register PMSWINC: Performance Monitors Software Increment register PMUSERENR: Performance Monitors User Enable Register PMXEVCNTR: Performance Monitors Selected Event Count Register PMXEVTYPER: Performance Monitors Selected Event Type Register PRRR: Primary Region Remap Register REVIDR: Revision ID Register RMR: Reset Management Register RVBAR: Reset Vector Base Address Register SCR: Secure Configuration Register SCTLR: System Control Register SDCR: Secure Debug Control Register SDER: Secure Debug Enable Register SPSR: Saved Program Status Register SPSR_abt: Saved Program Status Register (Abort mode) SPSR_fiq: Saved Program Status Register (FIQ mode) SPSR_hyp: Saved Program Status Register (Hyp mode) SPSR_irq: Saved Program Status Register (IRQ mode) SPSR_mon: Saved Program Status Register (Monitor mode) SPSR_svc: Saved Program Status Register (Supervisor mode) SPSR_und: Saved Program Status Register (Undefined mode) TCMTR: TCM Type Register TLBTR: TLB Type Register TPIDRPRW: PL1 Software Thread ID Register TPIDRURO: PL0 Read-Only Software Thread ID Register TPIDRURW: PL0 Read/Write Software Thread ID Register TRFCR: Trace Filter Control Register TTBCR: Translation Table Base Control Register TTBCR2: Translation Table Base Control Register 2 TTBR0: Translation Table Base Register 0 TTBR1: Translation Table Base Register 1 VBAR: Vector Base Address Register VDFSR: Virtual SError Exception Syndrome Register VDISR: Virtual Deferred Interrupt Status Register VMPIDR: Virtualization Multiprocessor ID Register VPIDR: Virtualization Processor ID Register VTCR: Virtualization Translation Control Register VTTBR: Virtualization Translation Table Base Register ---- TLBIALL TLB Invalidate All Invalidate all cached copies of translation table entries from TLBs that are from any level of the translation table walk. The entries that are invalidated are as follows: If executed at EL1, all entries that: - Would be required for the EL1&0 translation regime. - Match the current VMID, if EL2 is implemented and enabled in the current Security state. - If executed in Secure state when EL3 is using AArch32, all entries that would be required for the Secure PL1&0 translation regime. - If executed at EL2, and if EL2 is enabled in the current Security state, the stage 1 or stage 2 translation table entries that would be required for the PL1&0 translation regime and matches the current VMID. The invalidation only applies to the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to TLBIALL are UNDEFINED. Attributes TLBIALL is a 32-bit System instruction. Field descriptions This instruction has no applicable fields. The value in the register specified by is ignored. Executing TLBIALL The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0111, opc2 = 0b000) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_TLBI_VMALL(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_VMALL(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr); elsif PSTATE.EL == EL3 then AArch32_TLBI_ALL(SecurityStateAtEL(EL3), Regime_EL30, Broadcast_NSH, TLBI_ExcludeXS); end; ``` ---- TLBIALLIS TLB Invalidate All, Inner Shareable Invalidate all cached copies of translation table entries from TLBs that are from any level of the translation table walk. The entries that are invalidated are as follows: If executed at EL1, all entries that: - Would be required for the EL1&0 translation regime. - Match the current VMID, if EL2 is implemented and enabled in the current Security state. - If executed in Secure state when EL3 is using AArch32, all entries that would be required for the Secure PL1&0 translation regime. - If executed at EL2, and if EL2 is enabled in the current Security state, the stage 1 or stage 2 translation table entries that would be required for the PL1&0 translation regime and matches the current VMID. The invalidation applies to all PEs in the same Inner Shareable shareability domain as the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to TLBIALLIS are UNDEFINED. Attributes TLBIALLIS is a 32-bit System instruction. Field descriptions This instruction has no applicable fields. The value in the register specified by is ignored. Executing TLBIALLIS The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0011, opc2 = 0b000) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLBIS == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR2().TTLBIS == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_TLBI_VMALL(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_ISH, TLBI_AllAttr); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_VMALL(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_ISH, TLBI_AllAttr); elsif PSTATE.EL == EL3 then AArch32_TLBI_ALL(SecurityStateAtEL(EL3), Regime_EL30, Broadcast_ISH, TLBI_ExcludeXS); end; ``` ---- TLBIASID TLB Invalidate by ASID match Invalidate all cached copies of translation table entries from TLBs that meet the following requirements: - The entry is a stage 1 translation table entry. The entry would be used for the specified ASID, and either: - Is from a level of lookup above the final level. - Is a non-global entry from the final level of lookup. - If EL2 is implemented and enabled in the current Security state, the entry would be used with the current VMID. From the entries that match these requirements, the entries that are invalidated are required for the following translation regime: - If executed at Secure EL1 when EL3 is using AArch64, the Secure EL1&0 translation regime. - If executed in Secure state when EL3 is using AArch32, the Secure PL1&0 translation regime. - If executed in Non-secure state, the Non-secure PL1&0 translation regime. The invalidation only applies to the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to TLBIASID are UNDEFINED. Attributes TLBIASID is a 32-bit System instruction. Field descriptions 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 | | | | | | | | | | | | | | | | | | | | | | | | ASID | | | | | | | Bits [31:8]: Reserved, RES0. ASID, bits [7:0]: ASID value to match. Any TLB entries for non-global pages that match the ASID values will be affected by this System instruction. Executing TLBIASID The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0111, opc2 = 0b010) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_TLBI_ASID(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr, R(t)); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_ASID(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then AArch32_TLBI_ASID(SecurityStateAtEL(EL3), Regime_EL30, VMID_NONE, Broadcast_NSH, TLBI_AllAttr, R(t)); end; ``` ---- TLBIASIDIS TLB Invalidate by ASID match, Inner Shareable Invalidate all cached copies of translation table entries from TLBs that meet the following requirements: - The entry is a stage 1 translation table entry. The entry would be used for the specified ASID, and either: - Is from a level of lookup above the final level. - Is a non-global entry from the final level of lookup. - If EL2 is implemented and enabled in the current Security state, the entry would be used with the current VMID. From the entries that match these requirements, the entries that are invalidated are required for the following translation regime: - If executed at Secure EL1 when EL3 is using AArch64, the Secure EL1&0 translation regime. - If executed in Secure state when EL3 is using AArch32, the Secure PL1&0 translation regime. - If executed in Non-secure state, the Non-secure PL1&0 translation regime. The invalidation applies to all PEs in the same Inner Shareable shareability domain as the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL1 is implemented. Otherwise, direct accesses to TLBIASIDIS are UNDEFINED. Attributes TLBIASIDIS is a 32-bit System instruction. Field descriptions 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 | | | | | | | | | | | | | | | | | | | | | | | | ASID | | | | | | | Bits [31:8]: Reserved, RES0. ASID, bits [7:0]: ASID value to match. Any TLB entries for non-global pages that match the ASID values will be affected by this System instruction. Executing TLBIASIDIS The following pseudocode describes traps which apply to the System instruction. For information about changes to the scope of the invalidation to the instruction under different conditions, see the relevant instruction in the Pseudocode for AArch32 operation. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b000, CRn = 0b1000, CRm = 0b0011, opc2 = 0b010) ``` if !IsFeatureImplemented(FEAT_AA32EL1) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLB == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HCR_EL2().TTLBIS == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR().TTLB == '1' then AArch32_TakeHypTrapException(0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HCR2().TTLBIS == '1' then AArch32_TakeHypTrapException(0x03); else AArch32_TLBI_ASID(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_ISH, TLBI_AllAttr, R(t)); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_ASID(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_ISH, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then AArch32_TLBI_ASID(SecurityStateAtEL(EL3), Regime_EL30, VMID_NONE, Broadcast_ISH, TLBI_AllAttr, R(t)); end; ``` ---- TLBIIPAS2 TLB Invalidate by Intermediate Physical Address, Stage 2 If EL2 is implemented, invalidate all cached copies of translation table entries from TLBs that meet the following requirements: - The entry is a stage 2 only translation table entry, from any level of the translation table walk. - SCR.NS is 1. - The entry would be used for the specified IPA. - The entry would be used with the current VMID. - The entry would be required for the PL1&0 translation regime. The invalidation is not required to apply to caching structures that combine stage 1 and stage 2 translation table entries. The invalidation only applies to the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL2 is implemented. Otherwise, direct accesses to TLBIIPAS2 are UNDEFINED. This System instruction is not implemented in architecture versions before Armv8. Attributes TLBIIPAS2 is a 32-bit System instruction. Field descriptions 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 | | | | IPA[39:12] | | | | | | | | | | | | | | | | | | | | | | | | | | | Bits [31:28]: Reserved, RES0. IPA[39:12], bits [27:0]: Bits[39:12] of the intermediate physical address to match. Executing TLBIIPAS2 If this instruction is executed in a Secure privileged mode other than Monitor mode, then the behavior is CONSTRAINED UNPREDICTABLE, and one of the following behaviors must occur: - The instruction is UNDEFINED. - The instruction is treated as a NOP. - The instruction executes as if it had been executed in Monitor mode. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b100, CRn = 0b1000, CRm = 0b0100, opc2 = 0b001) ``` if !IsFeatureImplemented(FEAT_AA32EL2) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); else Undefined(); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_IPAS2(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBILevel_Any, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then if !HaveEL(EL2) then Undefined(); elsif SCR().NS == '0' then return; else AArch32_TLBI_IPAS2(SS_NonSecure, Regime_EL10, VMID_NONE, Broadcast_NSH, TLBILevel_Any, TLBI_AllAttr, R(t)); end; end; ``` ---- TLBIIPAS2IS TLB Invalidate by Intermediate Physical Address, Stage 2, Inner Shareable If EL2 is implemented, invalidate all cached copies of translation table entries from TLBs that meet the following requirements: - The entry is a stage 2 only translation table entry, from any level of the translation table walk. - SCR.NS is 1. - The entry would be used for the specified IPA. - The entry would be used with the current VMID. - The entry would be required for the PL1&0 translation regime. The invalidation is not required to apply to caching structures that combine stage 1 and stage 2 translation table entries. The invalidation applies to all PEs in the same Inner Shareable shareability domain as the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL2 is implemented. Otherwise, direct accesses to TLBIIPAS2IS are UNDEFINED. This System instruction is not implemented in architecture versions before Armv8. Attributes TLBIIPAS2IS is a 32-bit System instruction. Field descriptions 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 | | | | IPA[39:12] | | | | | | | | | | | | | | | | | | | | | | | | | | | Bits [31:28]: Reserved, RES0. IPA[39:12], bits [27:0]: Bits[39:12] of the intermediate physical address to match. Executing TLBIIPAS2IS If this instruction is executed in a Secure privileged mode other than Monitor mode, then the behavior is CONSTRAINED UNPREDICTABLE, and one of the following behaviors must occur: - The instruction is UNDEFINED. - The instruction is treated as a NOP. - The instruction executes as if it had been executed in Monitor mode. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b100, CRn = 0b1000, CRm = 0b0000, opc2 = 0b001) ``` if !IsFeatureImplemented(FEAT_AA32EL2) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); else Undefined(); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_IPAS2(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_ISH, TLBILevel_Any, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then if !HaveEL(EL2) then Undefined(); elsif SCR().NS == '0' then return; else AArch32_TLBI_IPAS2(SS_NonSecure, Regime_EL10, VMID_NONE, Broadcast_ISH, TLBILevel_Any, TLBI_AllAttr, R(t)); end; end; ``` ---- TLBIIPAS2L TLB Invalidate by Intermediate Physical Address, Stage 2, Last level If EL2 is implemented, invalidate all cached copies of translation table entries from TLBs that meet the following requirements: - The entry is a stage 2 only translation table entry, from the final level of the translation table walk. - SCR.NS is 1. - The entry would be used for the specified IPA. - The entry would be used with the current VMID. - The entry would be required for the PL1&0 translation regime. The invalidation is not required to apply to caching structures that combine stage 1 and stage 2 translation table entries. The invalidation only applies to the PE that executes this System instruction. Configuration This instruction is present only when FEAT_AA32EL2 is implemented. Otherwise, direct accesses to TLBIIPAS2L are UNDEFINED. This System instruction is not implemented in architecture versions before Armv8. Attributes TLBIIPAS2L is a 32-bit System instruction. Field descriptions 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 | | | | IPA[39:12] | | | | | | | | | | | | | | | | | | | | | | | | | | | Bits [31:28]: Reserved, RES0. IPA[39:12], bits [27:0]: Bits[39:12] of the intermediate physical address to match. Executing TLBIIPAS2L If this instruction is executed in a Secure privileged mode other than Monitor mode, then the behavior is CONSTRAINED UNPREDICTABLE, and one of the following behaviors must occur: - The instruction is UNDEFINED. - The instruction is treated as a NOP. - The instruction executes as if it had been executed in Monitor mode. Accesses to this instruction use the following encodings in the System instruction encoding space: MCR{}{} , {#}, , , {, {#}} (coproc = 0b1111, opc1 = 0b100, CRn = 0b1000, CRm = 0b0100, opc2 = 0b101) ``` if !IsFeatureImplemented(FEAT_AA32EL2) then Undefined(); elsif PSTATE.EL == EL0 then Undefined(); elsif PSTATE.EL == EL1 then if EL2Enabled() && IsFeatureImplemented(FEAT_AA64EL2) && !ELUsingAArch32(EL2) && HSTR_EL2().T8 == '1' then AArch64_AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && IsFeatureImplemented(FEAT_AA32EL2) && ELUsingAArch32(EL2) && HSTR().T8 == '1' then AArch32_TakeHypTrapException(0x03); else Undefined(); end; elsif PSTATE.EL == EL2 then AArch32_TLBI_IPAS2(SecurityStateAtEL(EL1), Regime_EL10, VMID(), Broadcast_NSH, TLBILevel_Last, TLBI_AllAttr, R(t)); elsif PSTATE.EL == EL3 then if !HaveEL(EL2) then Undefined(); elsif SCR().NS == '0' then return; else AArch32_TLBI_IPAS2(SS_NonSecure, Regime_EL10, VMID_NONE, Broadcast_NSH, TLBILevel_Last, TLBI_AllAttr, R(t)); end; end; ``` ------------------------------------------------------------------------------ Page 1 of 1. End of thread.