* [weiny2:tip-pks-v4.10-5.12-rc 9/17] arch/x86/entry/common.c:328:3: error: implicit declaration of function 'pkrs_restore_irq'; did you mean
@ 2021-03-19 11:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-19 11:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]
tree: https://github.com/weiny2/linux-kernel.git tip-pks-v4.10-5.12-rc
head: 74e4f6716199c0b1af6e647582a6b83c4a38cd2d
commit: fdc7d4ec8c2b4ad63e037502fd15407c204a1642 [9/17] x86/entry: Preserve PKRS MSR across exceptions
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/weiny2/linux-kernel/commit/fdc7d4ec8c2b4ad63e037502fd15407c204a1642
git remote add weiny2 https://github.com/weiny2/linux-kernel.git
git fetch --no-tags weiny2 tip-pks-v4.10-5.12-rc
git checkout fdc7d4ec8c2b4ad63e037502fd15407c204a1642
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
arch/x86/entry/common.c:200:24: warning: no previous prototype for 'do_SYSENTER_32' [-Wmissing-prototypes]
200 | __visible noinstr long do_SYSENTER_32(struct pt_regs *regs)
| ^~~~~~~~~~~~~~
arch/x86/entry/common.c:318:24: warning: no previous prototype for 'xen_pv_evtchn_do_upcall' [-Wmissing-prototypes]
318 | __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/x86/entry/common.c: In function 'xen_pv_evtchn_do_upcall':
>> arch/x86/entry/common.c:328:3: error: implicit declaration of function 'pkrs_restore_irq'; did you mean 'xa_store_irq'? [-Werror=implicit-function-declaration]
328 | pkrs_restore_irq(regs);
| ^~~~~~~~~~~~~~~~
| xa_store_irq
cc1: some warnings being treated as errors
vim +328 arch/x86/entry/common.c
317
318 __visible noinstr void xen_pv_evtchn_do_upcall(struct pt_regs *regs)
319 {
320 irqentry_state_t state = irqentry_enter(regs);
321 bool inhcall;
322
323 run_sysvec_on_irqstack_cond(__xen_pv_evtchn_do_upcall, regs);
324
325 inhcall = get_and_clear_inhcall();
326 if (inhcall && !WARN_ON_ONCE(state.exit_rcu)) {
327 /* Normally called by irqentry_exit, we must restore pkrs here */
> 328 pkrs_restore_irq(regs);
---
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: 50659 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-19 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-19 11:55 [weiny2:tip-pks-v4.10-5.12-rc 9/17] arch/x86/entry/common.c:328:3: error: implicit declaration of function 'pkrs_restore_irq'; 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.