[nsaenz-rpi:ct-work-defer-wip 25/25] arch/x86/mm/pat/set_memory.c:351:26: error: use of undeclared identifier 'CONTEXT_WORK_CACHEI'

From: kernel test robot
Date: Sat May 14 2022 - 10:30:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git ct-work-defer-wip
head: ed63029652239a6befad96dd473b16332913f889
commit: ed63029652239a6befad96dd473b16332913f889 [25/25] context_tracking,x86: Fix Kernel cachei vs NOHZ_FULL
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20220514/202205142203.hnkoIxTp-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 38189438b69ca27b4c6ce707c52dbd217583d046)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git/commit/?id=ed63029652239a6befad96dd473b16332913f889
git remote add nsaenz-rpi https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git
git fetch --no-tags nsaenz-rpi ct-work-defer-wip
git checkout ed63029652239a6befad96dd473b16332913f889
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

arch/x86/mm/pat/set_memory.c:351:6: error: use of undeclared identifier 'CONTEXT_WORK_TLBI'
CONTEXT_WORK_TLBI | CONTEXT_WORK_CACHEI);
^
>> arch/x86/mm/pat/set_memory.c:351:26: error: use of undeclared identifier 'CONTEXT_WORK_CACHEI'
CONTEXT_WORK_TLBI | CONTEXT_WORK_CACHEI);
^
arch/x86/mm/pat/set_memory.c:373:12: error: use of undeclared identifier 'CONTEXT_WORK_TLBI'
CONTEXT_WORK_TLBI);
^
3 errors generated.


vim +/CONTEXT_WORK_CACHEI +351 arch/x86/mm/pat/set_memory.c

347
348 static bool __cpa_flush_all_cond(int cpu, void *info)
349 {
350 return !context_tracking_set_cpu_work(cpu, CONTEXT_USER | CONTEXT_GUEST,
> 351 CONTEXT_WORK_TLBI | CONTEXT_WORK_CACHEI);
352 }
353

--
0-DAY CI Kernel Test Service
https://01.org/lkp