Home
last modified time | relevance | path

Searched refs:kuap (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/powerpc/include/asm/book3s/32/
Dkup.h124 current->thread.kuap = (addr & 0xf0000000) | ((((end - 1) >> 28) + 1) & 0xf);
136 u32 kuap = current->thread.kuap;
138 if (unlikely(!kuap))
141 addr = kuap & 0xf0000000;
142 end = kuap << 28;
153 current->thread.kuap = 0;
159 unsigned long flags = current->thread.kuap;
183 unsigned long begin = regs->kuap & 0xf0000000;
184 unsigned long end = regs->kuap << 28;
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dkup-radix.h77 if (mmu_has_feature(MMU_FTR_RADIX_KUAP) && unlikely(regs->kuap != amr)) {
79 mtspr(SPRN_AMR, regs->kuap);
144 (regs->kuap & (is_write ? AMR_KUAP_BLOCK_WRITE : AMR_KUAP_BLOCK_READ)),
/Linux-v5.10/arch/powerpc/include/asm/nohash/32/
Dkup-8xx.h66 return WARN(!((regs->kuap ^ MD_APG_KUAP) & 0xff000000),
/Linux-v5.10/arch/powerpc/include/asm/
Dptrace.h57 unsigned long kuap; member
Dprocessor.h159 unsigned long kuap; /* opened segments for user access */ member
/Linux-v5.10/arch/powerpc/kernel/
Dasm-offsets.c168 OFFSET(KUAP, thread_struct, kuap); in main()
358 STACK_PT_REGS_OFFSET(STACK_REGS_KUAP, kuap); in main()