|
@@ -90,7 +90,7 @@ ENDPROC(cpu_do_suspend)
|
|
|
*
|
|
|
* x0: Address of context pointer
|
|
|
*/
|
|
|
- .pushsection ".idmap.text", "ax"
|
|
|
+ .pushsection ".idmap.text", "awx"
|
|
|
ENTRY(cpu_do_resume)
|
|
|
ldp x2, x3, [x0]
|
|
|
ldp x4, x5, [x0, #16]
|
|
@@ -165,7 +165,7 @@ ENTRY(cpu_do_switch_mm)
|
|
|
b post_ttbr_update_workaround // Back to C code...
|
|
|
ENDPROC(cpu_do_switch_mm)
|
|
|
|
|
|
- .pushsection ".idmap.text", "ax"
|
|
|
+ .pushsection ".idmap.text", "awx"
|
|
|
|
|
|
.macro __idmap_cpu_set_reserved_ttbr1, tmp1, tmp2
|
|
|
adrp \tmp1, empty_zero_page
|
|
@@ -199,7 +199,7 @@ ENDPROC(idmap_cpu_replace_ttbr1)
|
|
|
.popsection
|
|
|
|
|
|
#ifdef CONFIG_UNMAP_KERNEL_AT_EL0
|
|
|
- .pushsection ".idmap.text", "ax"
|
|
|
+ .pushsection ".idmap.text", "awx"
|
|
|
|
|
|
.macro __idmap_kpti_get_pgtable_ent, type
|
|
|
dc cvac, cur_\()\type\()p // Ensure any existing dirty
|
|
@@ -388,7 +388,7 @@ ENDPROC(idmap_kpti_install_ng_mappings)
|
|
|
* Initialise the processor for turning the MMU on. Return in x0 the
|
|
|
* value of the SCTLR_EL1 register.
|
|
|
*/
|
|
|
- .pushsection ".idmap.text", "ax"
|
|
|
+ .pushsection ".idmap.text", "awx"
|
|
|
ENTRY(__cpu_setup)
|
|
|
tlbi vmalle1 // Invalidate local TLB
|
|
|
dsb nsh
|