We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeda243 commit 9e9bb6eCopy full SHA for 9e9bb6e
arch/arm64/mm/proc.S
@@ -454,6 +454,21 @@ SYM_FUNC_START(__cpu_setup)
454
#endif /* CONFIG_ARM64_HW_AFDBM */
455
msr mair_el1, mair
456
msr tcr_el1, tcr
457
+
458
+ mrs_s x1, SYS_ID_AA64MMFR3_EL1
459
+ ubfx x1, x1, #ID_AA64MMFR3_EL1_S1PIE_SHIFT, #4
460
+ cbz x1, .Lskip_indirection
461
462
+ mov_q x0, PIE_E0
463
+ msr REG_PIRE0_EL1, x0
464
+ mov_q x0, PIE_E1
465
+ msr REG_PIR_EL1, x0
466
467
+ mov x0, TCR2_EL1x_PIE
468
+ msr REG_TCR2_EL1, x0
469
470
+.Lskip_indirection:
471
472
/*
473
* Prepare SCTLR
474
*/
0 commit comments