Home
last modified time | relevance | path

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

/linux-5.19.10/arch/powerpc/include/asm/book3s/64/
Dkup.h11 #define AMR_KUAP_BLOCKED (AMR_KUAP_BLOCK_READ | AMR_KUAP_BLOCK_WRITE) macro
91 LOAD_REG_IMMEDIATE(\gpr2, AMR_KUAP_BLOCKED)
160 LOAD_REG_IMMEDIATE(\gpr2, AMR_KUAP_BLOCKED)
297 WARN_ON_ONCE(amr != AMR_KUAP_BLOCKED); in __kuap_get_and_assert_locked()
326 return AMR_KUAP_BLOCKED; in get_kuap()
390 return AMR_KUAP_BLOCKED; in get_kuap()
403 set_kuap(AMR_KUAP_BLOCKED); in prevent_user_access()
412 set_kuap(AMR_KUAP_BLOCKED); in prevent_user_access_return()
422 if (static_branch_unlikely(&uaccess_flush_key) && flags == AMR_KUAP_BLOCKED) in restore_user_access()
/linux-5.19.10/arch/powerpc/kernel/
Dinterrupt.c112 mtspr(SPRN_AMR, AMR_KUAP_BLOCKED); in system_call_exception()
486 set_kuap(AMR_KUAP_BLOCKED); in syscall_exit_restart()
634 set_kuap(AMR_KUAP_BLOCKED); in interrupt_exit_user_restart()
658 set_kuap(AMR_KUAP_BLOCKED); in interrupt_exit_kernel_restart()
Dirq.c207 if (kuap_state != AMR_KUAP_BLOCKED) in replay_soft_interrupts_irqrestore()
208 set_kuap(AMR_KUAP_BLOCKED); in replay_soft_interrupts_irqrestore()
212 if (kuap_state != AMR_KUAP_BLOCKED) in replay_soft_interrupts_irqrestore()
Dprocess.c1825 kregs->amr = AMR_KUAP_BLOCKED; in copy_thread()
/linux-5.19.10/arch/powerpc/mm/book3s64/
Dpkeys.c299 mtspr(SPRN_AMR, AMR_KUAP_BLOCKED); in setup_kuap()