From: kernel test robot <lkp@intel.com>
To: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [nsaenz-rpi:ct-work-defer-wip 24/25] arch/x86/mm/tlb.c:1010:47: error: 'CONTEXT_WORK_TLBI' undeclared
Date: Sat, 14 May 2022 22:30:09 +0800 [thread overview]
Message-ID: <202205142239.1IjyYFdD-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git ct-work-defer-wip
head: ed63029652239a6befad96dd473b16332913f889
commit: ac6fd7356ff9f2e0f040ef337d3eb731454ce49f [24/25] context_tracking,x86: Fix Kernel TLBi vs NOHZ_FULL
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220514/202205142239.1IjyYFdD-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git/commit/?id=ac6fd7356ff9f2e0f040ef337d3eb731454ce49f
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 ac6fd7356ff9f2e0f040ef337d3eb731454ce49f
# save the config file
mkdir build_dir && cp config build_dir/.config
make 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@intel.com>
All errors (new ones prefixed by >>):
arch/x86/mm/tlb.c: In function 'do_kernel_flush_cond':
>> arch/x86/mm/tlb.c:1010:47: error: 'CONTEXT_WORK_TLBI' undeclared (first use in this function)
1010 | CONTEXT_WORK_TLBI);
| ^~~~~~~~~~~~~~~~~
arch/x86/mm/tlb.c:1010:47: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/mm/tlb.c:1011:1: error: control reaches end of non-void function [-Werror=return-type]
1011 | }
| ^
cc1: some warnings being treated as errors
--
arch/x86/mm/pat/set_memory.c: In function '__cpa_flush_tlb_cond':
>> arch/x86/mm/pat/set_memory.c:367:47: error: 'CONTEXT_WORK_TLBI' undeclared (first use in this function)
367 | CONTEXT_WORK_TLBI);
| ^~~~~~~~~~~~~~~~~
arch/x86/mm/pat/set_memory.c:367:47: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/mm/pat/set_memory.c:368:1: error: control reaches end of non-void function [-Werror=return-type]
368 | }
| ^
cc1: some warnings being treated as errors
vim +/CONTEXT_WORK_TLBI +1010 arch/x86/mm/tlb.c
1006
1007 static bool do_kernel_flush_cond(int cpu, void *info)
1008 {
1009 return !context_tracking_set_cpu_work(cpu, CONTEXT_USER | CONTEXT_GUEST,
> 1010 CONTEXT_WORK_TLBI);
1011 }
1012
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-14 14:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205142239.1IjyYFdD-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nsaenzju@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®