Home
last modified time | relevance | path

Searched refs:SR_KS (Results 1 – 5 of 5) sorted by relevance

/linux/arch/powerpc/mm/book3s32/
H A Dkuap.c9 update_user_segments(mfsr(0) | SR_KS); in setup_kuap()
11 init_mm.context.sr0 |= SR_KS; in setup_kuap()
12 current->thread.sr0 |= SR_KS; in setup_kuap()
H A Dmmu_context.c77 mm->context.sr0 |= SR_KS; in init_new_context()
/linux/arch/powerpc/include/asm/book3s/32/
H A Dkup.h20 mtsr(mfsr(addr) | SR_KS, addr); in kuap_lock_one()
26 mtsr(mfsr(addr) & ~SR_KS, addr); in kuap_unlock_one()
40 : "r"(addr), "i"(~SR_KS), "i"(MMU_FTR_KUAP) in uaccess_begin_32s()
54 : "r"(addr), "i"(SR_KS >> 16), "i"(MMU_FTR_KUAP) in uaccess_end_32s()
H A Dmmu-hash.h65 #define SR_KS 0x40000000 /* Supervisor key */ macro
/linux/arch/powerpc/kernel/
H A Dhead_book3s_32.S932 rlwinm r3, r3, 0, ~SR_KS /* Ks = 0 */