Searched refs:SR_KS (Results 1 – 5 of 5) sorted by relevance
9 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()
77 mm->context.sr0 |= SR_KS; in init_new_context()
20 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()
65 #define SR_KS 0x40000000 /* Supervisor key */ macro
932 rlwinm r3, r3, 0, ~SR_KS /* Ks = 0 */