All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxppc:merge-test 4/12] arch/powerpc/include/asm/entry-common.h:273:9: error: implicit declaration of function 'irq_soft_mask_set'; did you mean 'irq_soft_mask_return'?
@ 2026-09-04 17:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-04 17:00 UTC (permalink / raw)
  To: Mukesh Kumar Chaurasiya (IBM)
  Cc: oe-kbuild-all, Madhavan Srinivasan, Shrikanth Hegde

tree:   https://github.com/linuxppc/linux merge-test
head:   d6bf5e8fe0cb733d4c9eb332a5537b77956886a2
commit: 11d09e46b796ac14f24ab63de2c0185a307b2054 [4/12] powerpc/entry: Fix irq_soft_mask corruption on replayed interrupt exit
config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20260905/202609050027.YHSqD4Y8-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609050027.YHSqD4Y8-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609050027.YHSqD4Y8-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/irq-entry-common.h:14,
                    from arch/powerpc/include/asm/interrupt.h:70,
                    from arch/powerpc/kernel/irq.c:58:
   arch/powerpc/include/asm/entry-common.h: In function 'arch_interrupt_exit_prepare':
>> arch/powerpc/include/asm/entry-common.h:273:9: error: implicit declaration of function 'irq_soft_mask_set'; did you mean 'irq_soft_mask_return'? [-Wimplicit-function-declaration]
     273 |         irq_soft_mask_set(IRQS_ALL_DISABLED);
         |         ^~~~~~~~~~~~~~~~~
         |         irq_soft_mask_return


vim +273 arch/powerpc/include/asm/entry-common.h

   245	
   246	/*
   247	 * Care should be taken to note that arch_interrupt_exit_prepare and
   248	 * arch_interrupt_async_exit_prepare do not necessarily return immediately to
   249	 * regs context (e.g., if regs is usermode, we don't necessarily return to
   250	 * user mode). Other interrupts might be taken between here and return,
   251	 * context switch / preemption may occur in the exit path after this, or a
   252	 * signal may be delivered, etc.
   253	 *
   254	 * The real interrupt exit code is platform specific, e.g.,
   255	 * interrupt_exit_user_prepare / interrupt_exit_kernel_prepare for 64s.
   256	 *
   257	 * However arch_interrupt_nmi_exit_prepare does return directly to regs, because
   258	 * NMIs do not do "exit work" or replay soft-masked interrupts.
   259	 */
   260	static inline void arch_interrupt_exit_prepare(struct pt_regs *regs)
   261	{
   262		if (user_mode(regs)) {
   263			BUG_ON(regs_is_unrecoverable(regs));
   264			BUG_ON(regs_irqs_disabled(regs));
   265			/*
   266			 * We don't need to restore AMR on the way back to userspace for KUAP.
   267			 * AMR can only have been unlocked if we interrupted the kernel.
   268			 */
   269			kuap_assert_locked();
   270		}
   271	
   272		/* irqentry_exit expects to be called with interrupts disabled */
 > 273		irq_soft_mask_set(IRQS_ALL_DISABLED);
   274	}
   275	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-04 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 17:00 [linuxppc:merge-test 4/12] arch/powerpc/include/asm/entry-common.h:273:9: error: implicit declaration of function 'irq_soft_mask_set'; did you mean 'irq_soft_mask_return'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.