* [mark-rutland:arm64/entry/rework 5/5] arch/arm64/include/asm/daifflags.h:144:21: error: 'DAIF_PROCCCTX' undeclared; did you mean
@ 2021-01-09 8:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-09 8:05 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 5545 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/entry/rework
head: 63e40d9937863d3e68c2ad874124bead3903c924
commit: 63e40d9937863d3e68c2ad874124bead3903c924 [5/5] arm64: add helpers for initial PSTATE unmasking
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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/mark/linux.git/commit/?id=63e40d9937863d3e68c2ad874124bead3903c924
git remote add mark-rutland https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark-rutland arm64/entry/rework
git checkout 63e40d9937863d3e68c2ad874124bead3903c924
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/arm64/include/asm/kvm_host.h:24,
from include/linux/kvm_host.h:36,
from arch/arm64/kernel/asm-offsets.c:14:
arch/arm64/include/asm/daifflags.h: In function 'local_daif_init_procctx':
>> arch/arm64/include/asm/daifflags.h:144:21: error: 'DAIF_PROCCCTX' undeclared (first use in this function); did you mean 'DAIF_PROCCTX'?
144 | local_daif_restore(DAIF_PROCCCTX);
| ^~~~~~~~~~~~~
| DAIF_PROCCTX
arch/arm64/include/asm/daifflags.h:144:21: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/include/asm/daifflags.h: In function 'local_daif_init_procctx_nonmi':
>> arch/arm64/include/asm/daifflags.h:149:21: error: 'DAIF_PROCCCTX_NOIRQ' undeclared (first use in this function); did you mean 'DAIF_PROCCTX_NOIRQ'?
149 | local_daif_restore(DAIF_PROCCCTX_NOIRQ);
| ^~~~~~~~~~~~~~~~~~~
| DAIF_PROCCTX_NOIRQ
--
In file included from arch/arm64/include/asm/kvm_host.h:24,
from include/linux/kvm_host.h:36,
from arch/arm64/kernel/asm-offsets.c:14:
arch/arm64/include/asm/daifflags.h: In function 'local_daif_init_procctx':
>> arch/arm64/include/asm/daifflags.h:144:21: error: 'DAIF_PROCCCTX' undeclared (first use in this function); did you mean 'DAIF_PROCCTX'?
144 | local_daif_restore(DAIF_PROCCCTX);
| ^~~~~~~~~~~~~
| DAIF_PROCCTX
arch/arm64/include/asm/daifflags.h:144:21: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/include/asm/daifflags.h: In function 'local_daif_init_procctx_nonmi':
>> arch/arm64/include/asm/daifflags.h:149:21: error: 'DAIF_PROCCCTX_NOIRQ' undeclared (first use in this function); did you mean 'DAIF_PROCCTX_NOIRQ'?
149 | local_daif_restore(DAIF_PROCCCTX_NOIRQ);
| ^~~~~~~~~~~~~~~~~~~
| DAIF_PROCCTX_NOIRQ
make[2]: *** [scripts/Makefile.build:117: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1206: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
--
In file included from arch/arm64/include/asm/kvm_host.h:24,
from include/linux/kvm_host.h:36,
from arch/arm64/kernel/asm-offsets.c:14:
arch/arm64/include/asm/daifflags.h: In function 'local_daif_init_procctx':
>> arch/arm64/include/asm/daifflags.h:144:21: error: 'DAIF_PROCCCTX' undeclared (first use in this function); did you mean 'DAIF_PROCCTX'?
144 | local_daif_restore(DAIF_PROCCCTX);
| ^~~~~~~~~~~~~
| DAIF_PROCCTX
arch/arm64/include/asm/daifflags.h:144:21: note: each undeclared identifier is reported only once for each function it appears in
arch/arm64/include/asm/daifflags.h: In function 'local_daif_init_procctx_nonmi':
>> arch/arm64/include/asm/daifflags.h:149:21: error: 'DAIF_PROCCCTX_NOIRQ' undeclared (first use in this function); did you mean 'DAIF_PROCCTX_NOIRQ'?
149 | local_daif_restore(DAIF_PROCCCTX_NOIRQ);
| ^~~~~~~~~~~~~~~~~~~
| DAIF_PROCCTX_NOIRQ
make[2]: *** [scripts/Makefile.build:117: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1206: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +144 arch/arm64/include/asm/daifflags.h
141
142 static inline void local_daif_init_procctx(void)
143 {
> 144 local_daif_restore(DAIF_PROCCCTX);
145 }
146
147 static inline void local_daif_init_procctx_nonmi(void)
148 {
> 149 local_daif_restore(DAIF_PROCCCTX_NOIRQ);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 76479 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-09 8:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09 8:05 [mark-rutland:arm64/entry/rework 5/5] arch/arm64/include/asm/daifflags.h:144:21: error: 'DAIF_PROCCCTX' undeclared; did you mean 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.