Home
last modified time | relevance | path

Searched refs:ttbr1 (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/arm/mm/
Dproc-v7-3level.S129 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp
131 cmp \ttbr1, \tmp, lsr #12 @ PHYS_OFFSET > PAGE_OFFSET?
144 mov \tmp, \ttbr1, lsr #20
145 mov \ttbr1, \ttbr1, lsl #12
146 addls \ttbr1, \ttbr1, #TTBR1_OFFSET
147 mcrr p15, 1, \ttbr1, \tmp, c2 @ load TTBR1
Dproc-v7-2level.S147 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp
151 ALT_SMP(orr \ttbr1, \ttbr1, #TTB_FLAGS_SMP)
152 ALT_UP(orr \ttbr1, \ttbr1, #TTB_FLAGS_UP)
153 mcr p15, 0, \ttbr1, c2, c0, 1 @ load TTB1
/Linux-v4.19/arch/arm64/include/asm/
Duaccess.h138 unsigned long flags, ttbr0, ttbr1; in __uaccess_ttbr0_enable() local
149 ttbr1 = read_sysreg(ttbr1_el1); in __uaccess_ttbr0_enable()
150 ttbr1 &= ~TTBR_ASID_MASK; /* safety measure */ in __uaccess_ttbr0_enable()
151 ttbr1 |= ttbr0 & TTBR_ASID_MASK; in __uaccess_ttbr0_enable()
152 write_sysreg(ttbr1, ttbr1_el1); in __uaccess_ttbr0_enable()
/Linux-v4.19/arch/arm64/kvm/hyp/
Dsysreg-sr.c61 ctxt->sys_regs[TTBR1_EL1] = read_sysreg_el1(ttbr1); in __sysreg_save_el1_state()
133 write_sysreg_el1(ctxt->sys_regs[TTBR1_EL1], ttbr1); in __sysreg_restore_el1_state()