Lines Matching refs:msr
33 BUG_ON(!(regs->msr & MSR_RI)); in system_call_exception()
34 BUG_ON(!(regs->msr & MSR_PR)); in system_call_exception()
231 if ((regs->msr & mathflags) != mathflags) in syscall_exit_prepare()
243 local_paca->tm_scratch = regs->msr; in syscall_exit_prepare()
252 notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs, unsigned long msr) in interrupt_exit_user_prepare() argument
263 BUG_ON(!(regs->msr & MSR_RI)); in interrupt_exit_user_prepare()
264 BUG_ON(!(regs->msr & MSR_PR)); in interrupt_exit_user_prepare()
304 if ((regs->msr & mathflags) != mathflags) in interrupt_exit_user_prepare()
328 local_paca->tm_scratch = regs->msr; in interrupt_exit_user_prepare()
339 notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs, unsigned long msr) in interrupt_exit_kernel_prepare() argument
346 if (IS_ENABLED(CONFIG_PPC_BOOK3S) && unlikely(!(regs->msr & MSR_RI))) in interrupt_exit_kernel_prepare()
348 BUG_ON(regs->msr & MSR_PR); in interrupt_exit_kernel_prepare()
362 WARN_ON_ONCE(!(regs->msr & MSR_EE)); in interrupt_exit_kernel_prepare()
389 if (regs->msr & MSR_EE) in interrupt_exit_kernel_prepare()
395 local_paca->tm_scratch = regs->msr; in interrupt_exit_kernel_prepare()