Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/include/asm/book3s/32/
Dkup.h35 mtsr(mfsr(addr) | SR_KS, addr); in kuap_lock_one()
41 mtsr(mfsr(addr) & ~SR_KS, addr); in kuap_unlock_one()
47 update_user_segments(mfsr(0) | SR_KS); in kuap_lock_all()
53 update_user_segments(mfsr(0) & ~SR_KS); in kuap_unlock_all()
Dmmu-hash.h65 #define SR_KS 0x40000000 /* Supervisor key */ macro
/linux-6.1.9/arch/powerpc/mm/book3s32/
Dkuap.c25 init_mm.context.sr0 |= SR_KS; in setup_kuap()
26 current->thread.sr0 |= SR_KS; in setup_kuap()
Dmmu_context.c77 mm->context.sr0 |= SR_KS; in init_new_context()
/linux-6.1.9/arch/powerpc/kernel/
Dhead_book3s_32.S938 rlwinm r3, r3, 0, ~SR_KS /* Ks = 0 */