Re: [PATCH] x86/entry: Read CR2 in asm entry stub to redcue NMI clobbering window

From: kernel test robot

Date: Thu May 14 2026 - 14:09:26 EST


Hi Rik,

kernel test robot noticed the following build errors:

[auto build test ERROR on tip/master]
[also build test ERROR on tip/x86/asm tip/x86/core linus/master v7.1-rc3 next-20260508]
[cannot apply to tip/auto-latest]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Rik-van-Riel/x86-entry-Read-CR2-in-asm-entry-stub-to-redcue-NMI-clobbering-window/20260514-162554
base: tip/master
patch link: https://lore.kernel.org/r/20260513121259.0aae7adc%40fangorn
patch subject: [PATCH] x86/entry: Read CR2 in asm entry stub to redcue NMI clobbering window
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20260515/202605150207.pvBEOHK3-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605150207.pvBEOHK3-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605150207.pvBEOHK3-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

arch/x86/include/asm/idtentry.h: Assembler messages:
>> arch/x86/include/asm/idtentry.h:627: Error: no such instruction: `idtentry_pf 14 asm_exc_page_fault exc_page_fault'


vim +627 arch/x86/include/asm/idtentry.h

623
624 /* Raw exception entries which need extra work */
625 DECLARE_IDTENTRY_RAW(X86_TRAP_UD, exc_invalid_op);
626 DECLARE_IDTENTRY_RAW(X86_TRAP_BP, exc_int3);
> 627 DECLARE_IDTENTRY_PF(X86_TRAP_PF, exc_page_fault);
628

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