Lines Matching +full:2 +full:- +full:9

1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #include <linux/kasan-tags.h>
16 #include <asm/gpr-num.h>
21 * C5.2, version:ARM DDI 0487A.f)
22 * [20-19] : Op0
23 * [18-16] : Op1
24 * [15-12] : CRn
25 * [11-8] : CRm
26 * [7-5] : Op2
83 * As per Arm ARM for v8-A, Section "C.5.1.3 op0 == 0b00, architectural hints,
98 #define PSTATE_DIT pstate_field(3, 2)
112 /* Register-based PAN access, for save/restore purposes */
113 #define SYS_PSTATE_PAN sys_reg(3, 0, 4, 2, 3)
120 #define SYS_DC_ISW sys_insn(1, 0, 7, 6, 2)
123 #define SYS_DC_CSW sys_insn(1, 0, 7, 10, 2)
126 #define SYS_DC_CISW sys_insn(1, 0, 7, 14, 2)
167 #include "asm/sysreg-defs.h"
173 #define SYS_SVCR_SMSTOP_SM_EL0 sys_reg(0, 3, 4, 2, 3)
177 #define SYS_DBGBVRn_EL1(n) sys_reg(2, 0, 0, n, 4)
178 #define SYS_DBGBCRn_EL1(n) sys_reg(2, 0, 0, n, 5)
179 #define SYS_DBGWVRn_EL1(n) sys_reg(2, 0, 0, n, 6)
180 #define SYS_DBGWCRn_EL1(n) sys_reg(2, 0, 0, n, 7)
181 #define SYS_MDRAR_EL1 sys_reg(2, 0, 1, 0, 0)
183 #define SYS_OSLSR_EL1 sys_reg(2, 0, 1, 1, 4)
189 #define SYS_OSDLR_EL1 sys_reg(2, 0, 1, 3, 4)
190 #define SYS_DBGPRCR_EL1 sys_reg(2, 0, 1, 4, 4)
191 #define SYS_DBGCLAIMSET_EL1 sys_reg(2, 0, 7, 8, 6)
192 #define SYS_DBGCLAIMCLR_EL1 sys_reg(2, 0, 7, 9, 6)
193 #define SYS_DBGAUTHSTATUS_EL1 sys_reg(2, 0, 7, 14, 6)
194 #define SYS_MDCCSR_EL0 sys_reg(2, 3, 0, 1, 0)
195 #define SYS_DBGDTR_EL0 sys_reg(2, 3, 0, 4, 0)
196 #define SYS_DBGDTRRX_EL0 sys_reg(2, 3, 0, 5, 0)
197 #define SYS_DBGDTRTX_EL0 sys_reg(2, 3, 0, 5, 0)
198 #define SYS_DBGVCR32_EL2 sys_reg(2, 4, 0, 7, 0)
200 #define SYS_BRBINF_EL1(n) sys_reg(2, 1, 8, (n & 15), (((n & 16) >> 2) | 0))
201 #define SYS_BRBINFINJ_EL1 sys_reg(2, 1, 9, 1, 0)
202 #define SYS_BRBSRC_EL1(n) sys_reg(2, 1, 8, (n & 15), (((n & 16) >> 2) | 1))
203 #define SYS_BRBSRCINJ_EL1 sys_reg(2, 1, 9, 1, 1)
204 #define SYS_BRBTGT_EL1(n) sys_reg(2, 1, 8, (n & 15), (((n & 16) >> 2) | 2))
205 #define SYS_BRBTGTINJ_EL1 sys_reg(2, 1, 9, 1, 2)
206 #define SYS_BRBTS_EL1 sys_reg(2, 1, 9, 0, 2)
208 #define SYS_BRBCR_EL1 sys_reg(2, 1, 9, 0, 0)
209 #define SYS_BRBFCR_EL1 sys_reg(2, 1, 9, 0, 1)
210 #define SYS_BRBIDR0_EL1 sys_reg(2, 1, 9, 2, 0)
212 #define SYS_TRCITECR_EL1 sys_reg(3, 0, 1, 2, 3)
213 #define SYS_TRCACATR(m) sys_reg(2, 1, 2, ((m & 7) << 1), (2 | (m >> 3)))
214 #define SYS_TRCACVR(m) sys_reg(2, 1, 2, ((m & 7) << 1), (0 | (m >> 3)))
215 #define SYS_TRCAUTHSTATUS sys_reg(2, 1, 7, 14, 6)
216 #define SYS_TRCAUXCTLR sys_reg(2, 1, 0, 6, 0)
217 #define SYS_TRCBBCTLR sys_reg(2, 1, 0, 15, 0)
218 #define SYS_TRCCCCTLR sys_reg(2, 1, 0, 14, 0)
219 #define SYS_TRCCIDCCTLR0 sys_reg(2, 1, 3, 0, 2)
220 #define SYS_TRCCIDCCTLR1 sys_reg(2, 1, 3, 1, 2)
221 #define SYS_TRCCIDCVR(m) sys_reg(2, 1, 3, ((m & 7) << 1), 0)
222 #define SYS_TRCCLAIMCLR sys_reg(2, 1, 7, 9, 6)
223 #define SYS_TRCCLAIMSET sys_reg(2, 1, 7, 8, 6)
224 #define SYS_TRCCNTCTLR(m) sys_reg(2, 1, 0, (4 | (m & 3)), 5)
225 #define SYS_TRCCNTRLDVR(m) sys_reg(2, 1, 0, (0 | (m & 3)), 5)
226 #define SYS_TRCCNTVR(m) sys_reg(2, 1, 0, (8 | (m & 3)), 5)
227 #define SYS_TRCCONFIGR sys_reg(2, 1, 0, 4, 0)
228 #define SYS_TRCDEVARCH sys_reg(2, 1, 7, 15, 6)
229 #define SYS_TRCDEVID sys_reg(2, 1, 7, 2, 7)
230 #define SYS_TRCEVENTCTL0R sys_reg(2, 1, 0, 8, 0)
231 #define SYS_TRCEVENTCTL1R sys_reg(2, 1, 0, 9, 0)
232 #define SYS_TRCEXTINSELR(m) sys_reg(2, 1, 0, (8 | (m & 3)), 4)
233 #define SYS_TRCIDR0 sys_reg(2, 1, 0, 8, 7)
234 #define SYS_TRCIDR10 sys_reg(2, 1, 0, 2, 6)
235 #define SYS_TRCIDR11 sys_reg(2, 1, 0, 3, 6)
236 #define SYS_TRCIDR12 sys_reg(2, 1, 0, 4, 6)
237 #define SYS_TRCIDR13 sys_reg(2, 1, 0, 5, 6)
238 #define SYS_TRCIDR1 sys_reg(2, 1, 0, 9, 7)
239 #define SYS_TRCIDR2 sys_reg(2, 1, 0, 10, 7)
240 #define SYS_TRCIDR3 sys_reg(2, 1, 0, 11, 7)
241 #define SYS_TRCIDR4 sys_reg(2, 1, 0, 12, 7)
242 #define SYS_TRCIDR5 sys_reg(2, 1, 0, 13, 7)
243 #define SYS_TRCIDR6 sys_reg(2, 1, 0, 14, 7)
244 #define SYS_TRCIDR7 sys_reg(2, 1, 0, 15, 7)
245 #define SYS_TRCIDR8 sys_reg(2, 1, 0, 0, 6)
246 #define SYS_TRCIDR9 sys_reg(2, 1, 0, 1, 6)
247 #define SYS_TRCIMSPEC(m) sys_reg(2, 1, 0, (m & 7), 7)
248 #define SYS_TRCITEEDCR sys_reg(2, 1, 0, 2, 1)
249 #define SYS_TRCOSLSR sys_reg(2, 1, 1, 1, 4)
250 #define SYS_TRCPRGCTLR sys_reg(2, 1, 0, 1, 0)
251 #define SYS_TRCQCTLR sys_reg(2, 1, 0, 1, 1)
252 #define SYS_TRCRSCTLR(m) sys_reg(2, 1, 1, (m & 15), (0 | (m >> 4)))
253 #define SYS_TRCRSR sys_reg(2, 1, 0, 10, 0)
254 #define SYS_TRCSEQEVR(m) sys_reg(2, 1, 0, (m & 3), 4)
255 #define SYS_TRCSEQRSTEVR sys_reg(2, 1, 0, 6, 4)
256 #define SYS_TRCSEQSTR sys_reg(2, 1, 0, 7, 4)
257 #define SYS_TRCSSCCR(m) sys_reg(2, 1, 1, (m & 7), 2)
258 #define SYS_TRCSSCSR(m) sys_reg(2, 1, 1, (8 | (m & 7)), 2)
259 #define SYS_TRCSSPCICR(m) sys_reg(2, 1, 1, (m & 7), 3)
260 #define SYS_TRCSTALLCTLR sys_reg(2, 1, 0, 11, 0)
261 #define SYS_TRCSTATR sys_reg(2, 1, 0, 3, 0)
262 #define SYS_TRCSYNCPR sys_reg(2, 1, 0, 13, 0)
263 #define SYS_TRCTRACEIDR sys_reg(2, 1, 0, 0, 1)
264 #define SYS_TRCTSCTLR sys_reg(2, 1, 0, 12, 0)
265 #define SYS_TRCVICTLR sys_reg(2, 1, 0, 0, 2)
266 #define SYS_TRCVIIECTLR sys_reg(2, 1, 0, 1, 2)
267 #define SYS_TRCVIPCSSCTLR sys_reg(2, 1, 0, 3, 2)
268 #define SYS_TRCVISSCTLR sys_reg(2, 1, 0, 2, 2)
269 #define SYS_TRCVMIDCCTLR0 sys_reg(2, 1, 3, 2, 2)
270 #define SYS_TRCVMIDCCTLR1 sys_reg(2, 1, 3, 3, 2)
271 #define SYS_TRCVMIDCVR(m) sys_reg(2, 1, 3, ((m & 7) << 1), 1)
274 #define SYS_TRCOSLAR sys_reg(2, 1, 1, 0, 4)
276 #define SYS_BRBCR_EL2 sys_reg(2, 4, 9, 0, 0)
286 #define SYS_TRFCR_EL1 sys_reg(3, 0, 1, 2, 1)
288 #define SYS_TCR_EL1 sys_reg(3, 0, 2, 0, 2)
290 #define SYS_APIAKEYLO_EL1 sys_reg(3, 0, 2, 1, 0)
291 #define SYS_APIAKEYHI_EL1 sys_reg(3, 0, 2, 1, 1)
292 #define SYS_APIBKEYLO_EL1 sys_reg(3, 0, 2, 1, 2)
293 #define SYS_APIBKEYHI_EL1 sys_reg(3, 0, 2, 1, 3)
295 #define SYS_APDAKEYLO_EL1 sys_reg(3, 0, 2, 2, 0)
296 #define SYS_APDAKEYHI_EL1 sys_reg(3, 0, 2, 2, 1)
297 #define SYS_APDBKEYLO_EL1 sys_reg(3, 0, 2, 2, 2)
298 #define SYS_APDBKEYHI_EL1 sys_reg(3, 0, 2, 2, 3)
300 #define SYS_APGAKEYLO_EL1 sys_reg(3, 0, 2, 3, 0)
301 #define SYS_APGAKEYHI_EL1 sys_reg(3, 0, 2, 3, 1)
310 #define SYS_ESR_EL1 sys_reg(3, 0, 5, 2, 0)
316 #define SYS_ERXSTATUS_EL1 sys_reg(3, 0, 5, 4, 2)
323 #define SYS_ERXMISC2_EL1 sys_reg(3, 0, 5, 5, 2)
334 #define SYS_PAR_EL1_S BIT(9)
344 #define SYS_PAR_EL1_NS BIT(9)
354 BIT_ULL(6) | BIT_ULL(4) | BIT_ULL(2) | BIT_ULL(0))
374 #define SYS_PMINTENSET_EL1 sys_reg(3, 0, 9, 14, 1)
375 #define SYS_PMINTENCLR_EL1 sys_reg(3, 0, 9, 14, 2)
377 #define SYS_PMMIR_EL1 sys_reg(3, 0, 9, 14, 6)
379 #define SYS_MAIR_EL1 sys_reg(3, 0, 10, 2, 0)
387 #define SYS_ICC_HPPIR0_EL1 sys_reg(3, 0, 12, 8, 2)
392 #define SYS_ICC_AP0R2_EL1 SYS_ICC_AP0Rn_EL1(2)
394 #define SYS_ICC_AP1Rn_EL1(n) sys_reg(3, 0, 12, 9, n)
397 #define SYS_ICC_AP1R2_EL1 SYS_ICC_AP1Rn_EL1(2)
406 #define SYS_ICC_HPPIR1_EL1 sys_reg(3, 0, 12, 12, 2)
419 #define SYS_RNDR_EL0 sys_reg(3, 3, 2, 4, 0)
420 #define SYS_RNDRRS_EL0 sys_reg(3, 3, 2, 4, 1)
422 #define SYS_PMCR_EL0 sys_reg(3, 3, 9, 12, 0)
423 #define SYS_PMCNTENSET_EL0 sys_reg(3, 3, 9, 12, 1)
424 #define SYS_PMCNTENCLR_EL0 sys_reg(3, 3, 9, 12, 2)
425 #define SYS_PMOVSCLR_EL0 sys_reg(3, 3, 9, 12, 3)
426 #define SYS_PMSWINC_EL0 sys_reg(3, 3, 9, 12, 4)
427 #define SYS_PMCEID0_EL0 sys_reg(3, 3, 9, 12, 6)
428 #define SYS_PMCEID1_EL0 sys_reg(3, 3, 9, 12, 7)
429 #define SYS_PMCCNTR_EL0 sys_reg(3, 3, 9, 13, 0)
430 #define SYS_PMXEVTYPER_EL0 sys_reg(3, 3, 9, 13, 1)
431 #define SYS_PMXEVCNTR_EL0 sys_reg(3, 3, 9, 13, 2)
432 #define SYS_PMUSERENR_EL0 sys_reg(3, 3, 9, 14, 0)
433 #define SYS_PMOVSSET_EL0 sys_reg(3, 3, 9, 14, 3)
435 #define SYS_TPIDR_EL0 sys_reg(3, 3, 13, 0, 2)
443 #define SYS_AMCR_EL0 SYS_AM_EL0(2, 0)
444 #define SYS_AMCFGR_EL0 SYS_AM_EL0(2, 1)
445 #define SYS_AMCGCR_EL0 SYS_AM_EL0(2, 2)
446 #define SYS_AMUSERENR_EL0 SYS_AM_EL0(2, 3)
447 #define SYS_AMCNTENCLR0_EL0 SYS_AM_EL0(2, 4)
448 #define SYS_AMCNTENSET0_EL0 SYS_AM_EL0(2, 5)
455 * Counter: 11 011 1101 010:n<3> n<2:0>
456 * Type: 11 011 1101 011:n<3> n<2:0>
457 * n: 0-15
461 * Counter: 11 011 1101 110:n<3> n<2:0>
462 * Type: 11 011 1101 111:n<3> n<2:0>
463 * n: 0-15
474 #define SYS_AMEVCNTR0_INST_RET_EL0 SYS_AMEVCNTR0_EL0(2)
483 #define SYS_CNTP_TVAL_EL0 sys_reg(3, 3, 14, 2, 0)
484 #define SYS_CNTP_CTL_EL0 sys_reg(3, 3, 14, 2, 1)
485 #define SYS_CNTP_CVAL_EL0 sys_reg(3, 3, 14, 2, 2)
488 #define SYS_CNTV_CVAL_EL0 sys_reg(3, 3, 14, 3, 2)
490 #define SYS_AARCH32_CNTP_TVAL sys_reg(0, 0, 14, 2, 0)
491 #define SYS_AARCH32_CNTP_CTL sys_reg(0, 0, 14, 2, 1)
493 #define SYS_AARCH32_CNTP_CVAL sys_reg(0, 2, 0, 14, 0)
512 #define SYS_CPTR_EL2 sys_reg(3, 4, 1, 1, 2)
516 #define SYS_TTBR0_EL2 sys_reg(3, 4, 2, 0, 0)
517 #define SYS_TTBR1_EL2 sys_reg(3, 4, 2, 0, 1)
518 #define SYS_TCR_EL2 sys_reg(3, 4, 2, 0, 2)
519 #define SYS_VTTBR_EL2 sys_reg(3, 4, 2, 1, 0)
520 #define SYS_VTCR_EL2 sys_reg(3, 4, 2, 1, 2)
522 #define SYS_TRFCR_EL2 sys_reg(3, 4, 1, 2, 1)
523 #define SYS_VNCR_EL2 sys_reg(3, 4, 2, 2, 0)
530 #define SYS_SPSR_und sys_reg(3, 4, 4, 3, 2)
535 #define SYS_ESR_EL2 sys_reg(3, 4, 5, 2, 0)
536 #define SYS_VSESR_EL2 sys_reg(3, 4, 5, 2, 3)
543 #define SYS_MAIR_EL2 sys_reg(3, 4, 10, 2, 0)
551 #define SYS_MPAMVPM2_EL2 __SYS__MPAMVPMx_EL2(2)
560 #define SYS_RMR_EL2 sys_reg(3, 4, 12, 0, 2)
565 #define SYS_ICH_AP0R2_EL2 __SYS__AP0Rx_EL2(2)
568 #define __SYS__AP1Rx_EL2(x) sys_reg(3, 4, 12, 9, x)
571 #define SYS_ICH_AP1R2_EL2 __SYS__AP1Rx_EL2(2)
574 #define SYS_ICH_VSEIR_EL2 sys_reg(3, 4, 12, 9, 4)
575 #define SYS_ICC_SRE_EL2 sys_reg(3, 4, 12, 9, 5)
578 #define SYS_ICH_MISR_EL2 sys_reg(3, 4, 12, 11, 2)
586 #define SYS_ICH_LR2_EL2 __SYS__LR0_EL2(2)
596 #define SYS_ICH_LR10_EL2 __SYS__LR8_EL2(2)
604 #define SYS_TPIDR_EL2 sys_reg(3, 4, 13, 0, 2)
616 #define SYS_CNTHP_TVAL_EL2 sys_reg(3, 4, 14, 2, 0)
617 #define SYS_CNTHP_CTL_EL2 sys_reg(3, 4, 14, 2, 1)
618 #define SYS_CNTHP_CVAL_EL2 sys_reg(3, 4, 14, 2, 2)
621 #define SYS_CNTHV_CVAL_EL2 sys_reg(3, 4, 14, 3, 2)
624 #define SYS_BRBCR_EL12 sys_reg(2, 5, 9, 0, 0)
626 #define SYS_CPACR_EL12 sys_reg(3, 5, 1, 0, 2)
628 #define SYS_ZCR_EL12 sys_reg(3, 5, 1, 2, 0)
629 #define SYS_TRFCR_EL12 sys_reg(3, 5, 1, 2, 1)
630 #define SYS_SMCR_EL12 sys_reg(3, 5, 1, 2, 6)
631 #define SYS_TTBR0_EL12 sys_reg(3, 5, 2, 0, 0)
632 #define SYS_TTBR1_EL12 sys_reg(3, 5, 2, 0, 1)
633 #define SYS_TCR_EL12 sys_reg(3, 5, 2, 0, 2)
634 #define SYS_TCR2_EL12 sys_reg(3, 5, 2, 0, 3)
639 #define SYS_ESR_EL12 sys_reg(3, 5, 5, 2, 0)
642 #define SYS_PMSCR_EL12 sys_reg(3, 5, 9, 9, 0)
643 #define SYS_MAIR_EL12 sys_reg(3, 5, 10, 2, 0)
649 #define SYS_CNTP_TVAL_EL02 sys_reg(3, 5, 14, 2, 0)
650 #define SYS_CNTP_CTL_EL02 sys_reg(3, 5, 14, 2, 1)
651 #define SYS_CNTP_CVAL_EL02 sys_reg(3, 5, 14, 2, 2)
654 #define SYS_CNTV_CVAL_EL02 sys_reg(3, 5, 14, 3, 2)
664 #define OP_AT_S1E0R sys_insn(AT_Op0, 0, AT_CRn, 8, 2)
666 #define OP_AT_S1E1RP sys_insn(AT_Op0, 0, AT_CRn, 9, 0)
667 #define OP_AT_S1E1WP sys_insn(AT_Op0, 0, AT_CRn, 9, 1)
668 #define OP_AT_S1E1A sys_insn(AT_Op0, 0, AT_CRn, 9, 2)
675 #define OP_AT_S1E2A sys_insn(AT_Op0, 4, AT_CRn, 9, 2)
684 #define TLBI_CRn_nXS 9 /* not Extra Slow (which nobody uses)*/
686 #define TLBI_CRm_IPAIS 0 /* S2 Inner-Shareable */
687 #define TLBI_CRm_nROS 1 /* non-Range, Outer-Sharable */
688 #define TLBI_CRm_RIS 2 /* Range, Inner-Sharable */
689 #define TLBI_CRm_nRIS 3 /* non-Range, Inner-Sharable */
690 #define TLBI_CRm_IPAONS 4 /* S2 Outer and Non-Shareable */
691 #define TLBI_CRm_ROS 5 /* Range, Outer-Sharable */
692 #define TLBI_CRm_RNS 6 /* Range, Non-Sharable */
693 #define TLBI_CRm_nRNS 7 /* non-Range, Non-Sharable */
697 #define OP_TLBI_ASIDE1OS sys_insn(1, 0, 8, 1, 2)
701 #define OP_TLBI_RVAE1IS sys_insn(1, 0, 8, 2, 1)
702 #define OP_TLBI_RVAAE1IS sys_insn(1, 0, 8, 2, 3)
703 #define OP_TLBI_RVALE1IS sys_insn(1, 0, 8, 2, 5)
704 #define OP_TLBI_RVAALE1IS sys_insn(1, 0, 8, 2, 7)
707 #define OP_TLBI_ASIDE1IS sys_insn(1, 0, 8, 3, 2)
721 #define OP_TLBI_ASIDE1 sys_insn(1, 0, 8, 7, 2)
725 #define OP_TLBI_VMALLE1OSNXS sys_insn(1, 0, 9, 1, 0)
726 #define OP_TLBI_VAE1OSNXS sys_insn(1, 0, 9, 1, 1)
727 #define OP_TLBI_ASIDE1OSNXS sys_insn(1, 0, 9, 1, 2)
728 #define OP_TLBI_VAAE1OSNXS sys_insn(1, 0, 9, 1, 3)
729 #define OP_TLBI_VALE1OSNXS sys_insn(1, 0, 9, 1, 5)
730 #define OP_TLBI_VAALE1OSNXS sys_insn(1, 0, 9, 1, 7)
731 #define OP_TLBI_RVAE1ISNXS sys_insn(1, 0, 9, 2, 1)
732 #define OP_TLBI_RVAAE1ISNXS sys_insn(1, 0, 9, 2, 3)
733 #define OP_TLBI_RVALE1ISNXS sys_insn(1, 0, 9, 2, 5)
734 #define OP_TLBI_RVAALE1ISNXS sys_insn(1, 0, 9, 2, 7)
735 #define OP_TLBI_VMALLE1ISNXS sys_insn(1, 0, 9, 3, 0)
736 #define OP_TLBI_VAE1ISNXS sys_insn(1, 0, 9, 3, 1)
737 #define OP_TLBI_ASIDE1ISNXS sys_insn(1, 0, 9, 3, 2)
738 #define OP_TLBI_VAAE1ISNXS sys_insn(1, 0, 9, 3, 3)
739 #define OP_TLBI_VALE1ISNXS sys_insn(1, 0, 9, 3, 5)
740 #define OP_TLBI_VAALE1ISNXS sys_insn(1, 0, 9, 3, 7)
741 #define OP_TLBI_RVAE1OSNXS sys_insn(1, 0, 9, 5, 1)
742 #define OP_TLBI_RVAAE1OSNXS sys_insn(1, 0, 9, 5, 3)
743 #define OP_TLBI_RVALE1OSNXS sys_insn(1, 0, 9, 5, 5)
744 #define OP_TLBI_RVAALE1OSNXS sys_insn(1, 0, 9, 5, 7)
745 #define OP_TLBI_RVAE1NXS sys_insn(1, 0, 9, 6, 1)
746 #define OP_TLBI_RVAAE1NXS sys_insn(1, 0, 9, 6, 3)
747 #define OP_TLBI_RVALE1NXS sys_insn(1, 0, 9, 6, 5)
748 #define OP_TLBI_RVAALE1NXS sys_insn(1, 0, 9, 6, 7)
749 #define OP_TLBI_VMALLE1NXS sys_insn(1, 0, 9, 7, 0)
750 #define OP_TLBI_VAE1NXS sys_insn(1, 0, 9, 7, 1)
751 #define OP_TLBI_ASIDE1NXS sys_insn(1, 0, 9, 7, 2)
752 #define OP_TLBI_VAAE1NXS sys_insn(1, 0, 9, 7, 3)
753 #define OP_TLBI_VALE1NXS sys_insn(1, 0, 9, 7, 5)
754 #define OP_TLBI_VAALE1NXS sys_insn(1, 0, 9, 7, 7)
756 #define OP_TLBI_RIPAS2E1IS sys_insn(1, 4, 8, 0, 2)
764 #define OP_TLBI_RVAE2IS sys_insn(1, 4, 8, 2, 1)
765 #define OP_TLBI_RVALE2IS sys_insn(1, 4, 8, 2, 5)
773 #define OP_TLBI_RIPAS2E1 sys_insn(1, 4, 8, 4, 2)
788 #define OP_TLBI_IPAS2E1ISNXS sys_insn(1, 4, 9, 0, 1)
789 #define OP_TLBI_RIPAS2E1ISNXS sys_insn(1, 4, 9, 0, 2)
790 #define OP_TLBI_IPAS2LE1ISNXS sys_insn(1, 4, 9, 0, 5)
791 #define OP_TLBI_RIPAS2LE1ISNXS sys_insn(1, 4, 9, 0, 6)
792 #define OP_TLBI_ALLE2OSNXS sys_insn(1, 4, 9, 1, 0)
793 #define OP_TLBI_VAE2OSNXS sys_insn(1, 4, 9, 1, 1)
794 #define OP_TLBI_ALLE1OSNXS sys_insn(1, 4, 9, 1, 4)
795 #define OP_TLBI_VALE2OSNXS sys_insn(1, 4, 9, 1, 5)
796 #define OP_TLBI_VMALLS12E1OSNXS sys_insn(1, 4, 9, 1, 6)
797 #define OP_TLBI_RVAE2ISNXS sys_insn(1, 4, 9, 2, 1)
798 #define OP_TLBI_RVALE2ISNXS sys_insn(1, 4, 9, 2, 5)
799 #define OP_TLBI_ALLE2ISNXS sys_insn(1, 4, 9, 3, 0)
800 #define OP_TLBI_VAE2ISNXS sys_insn(1, 4, 9, 3, 1)
801 #define OP_TLBI_ALLE1ISNXS sys_insn(1, 4, 9, 3, 4)
802 #define OP_TLBI_VALE2ISNXS sys_insn(1, 4, 9, 3, 5)
803 #define OP_TLBI_VMALLS12E1ISNXS sys_insn(1, 4, 9, 3, 6)
804 #define OP_TLBI_IPAS2E1OSNXS sys_insn(1, 4, 9, 4, 0)
805 #define OP_TLBI_IPAS2E1NXS sys_insn(1, 4, 9, 4, 1)
806 #define OP_TLBI_RIPAS2E1NXS sys_insn(1, 4, 9, 4, 2)
807 #define OP_TLBI_RIPAS2E1OSNXS sys_insn(1, 4, 9, 4, 3)
808 #define OP_TLBI_IPAS2LE1OSNXS sys_insn(1, 4, 9, 4, 4)
809 #define OP_TLBI_IPAS2LE1NXS sys_insn(1, 4, 9, 4, 5)
810 #define OP_TLBI_RIPAS2LE1NXS sys_insn(1, 4, 9, 4, 6)
811 #define OP_TLBI_RIPAS2LE1OSNXS sys_insn(1, 4, 9, 4, 7)
812 #define OP_TLBI_RVAE2OSNXS sys_insn(1, 4, 9, 5, 1)
813 #define OP_TLBI_RVALE2OSNXS sys_insn(1, 4, 9, 5, 5)
814 #define OP_TLBI_RVAE2NXS sys_insn(1, 4, 9, 6, 1)
815 #define OP_TLBI_RVALE2NXS sys_insn(1, 4, 9, 6, 5)
816 #define OP_TLBI_ALLE2NXS sys_insn(1, 4, 9, 7, 0)
817 #define OP_TLBI_VAE2NXS sys_insn(1, 4, 9, 7, 1)
818 #define OP_TLBI_ALLE1NXS sys_insn(1, 4, 9, 7, 4)
819 #define OP_TLBI_VALE2NXS sys_insn(1, 4, 9, 7, 5)
820 #define OP_TLBI_VMALLS12E1NXS sys_insn(1, 4, 9, 7, 6)
828 #define OP_BRB_IALL sys_insn(1, 1, 7, 2, 4)
829 #define OP_BRB_INJ sys_insn(1, 1, 7, 2, 5)
858 #define SCTLR_ELx_C (BIT(2))
972 * only uses tags in the range 0xF0-0xFF, which we map to MTE tags 0x0-0xF.
1013 #define ICH_LR_VIRTUAL_ID_MASK ((1ULL << 32) - 1)
1038 #define ICH_VMCR_ACK_CTL_SHIFT 2
1044 #define ICH_VMCR_EOIM_SHIFT 9
1197 * set mask are set. Other bits are left as-is.