Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm/mm/
Dproc-v7-3level.S117 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp
119 cmp \ttbr1, \tmp, lsr #12 @ PHYS_OFFSET > PAGE_OFFSET?
132 mov \tmp, \ttbr1, lsr #20
133 mov \ttbr1, \ttbr1, lsl #12
134 addls \ttbr1, \ttbr1, #TTBR1_OFFSET
135 mcrr p15, 1, \ttbr1, \tmp, c2 @ load TTBR1
Dproc-v7-2level.S144 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp
148 ALT_SMP(orr \ttbr1, \ttbr1, #TTB_FLAGS_SMP)
149 ALT_UP(orr \ttbr1, \ttbr1, #TTB_FLAGS_UP)
150 mcr p15, 0, \ttbr1, c2, c0, 1 @ load TTB1
/linux-5.19.10/arch/arm64/include/asm/
Duaccess.h77 unsigned long flags, ttbr0, ttbr1; in __uaccess_ttbr0_enable() local
88 ttbr1 = read_sysreg(ttbr1_el1); in __uaccess_ttbr0_enable()
89 ttbr1 &= ~TTBR_ASID_MASK; /* safety measure */ in __uaccess_ttbr0_enable()
90 ttbr1 |= ttbr0 & TTBR_ASID_MASK; in __uaccess_ttbr0_enable()
91 write_sysreg(ttbr1, ttbr1_el1); in __uaccess_ttbr0_enable()
Dmmu_context.h153 phys_addr_t ttbr1 = phys_to_ttbr(virt_to_phys(pgdp)); in cpu_replace_ttbr1() local
164 ttbr1 |= TTBR_CNP_BIT; in cpu_replace_ttbr1()
170 replace_phys(ttbr1); in cpu_replace_ttbr1()
Dkexec.h107 phys_addr_t ttbr1; member
/linux-5.19.10/arch/arm64/mm/
Dcontext.c351 unsigned long ttbr1 = read_sysreg(ttbr1_el1); in cpu_do_switch_mm() local
364 ttbr1 &= ~TTBR_ASID_MASK; in cpu_do_switch_mm()
365 ttbr1 |= FIELD_PREP(TTBR_ASID_MASK, asid); in cpu_do_switch_mm()
367 write_sysreg(ttbr1, ttbr1_el1); in cpu_do_switch_mm()
/linux-5.19.10/arch/arm64/kernel/
Dmachine_kexec.c151 kimage->arch.ttbr1 = __pa(trans_pgd); in machine_kexec_post_load()
Dasm-offsets.c179 DEFINE(KIMAGE_ARCH_TTBR1, offsetof(struct kimage, arch.ttbr1)); in main()