[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202205040945.JZNNub2D-lkp@intel.com>
Date: Wed, 4 May 2022 09:08:52 +0800
From: kernel test robot <lkp@...el.com>
To: Seth Forshee <sforshee@...italocean.com>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...nel.org>
Cc: kbuild-all@...ts.01.org, Josh Poimboeuf <jpoimboe@...hat.com>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Sean Christopherson <seanjc@...gle.com>,
linux-kernel@...r.kernel.org, live-patching@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: [PATCH v2] entry/kvm: Make vCPU tasks exit to userspace when a
livepatch is pending
Hi Seth,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v5.18-rc5]
[also build test ERROR on next-20220503]
[cannot apply to tip/core/entry]
[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]
url: https://github.com/intel-lab-lkp/linux/commits/Seth-Forshee/entry-kvm-Make-vCPU-tasks-exit-to-userspace-when-a-livepatch-is-pending/20220504-015159
base: 672c0c5173427e6b3e2a9bbb7be51ceeec78093a
config: arm64-randconfig-r034-20220502 (https://download.01.org/0day-ci/archive/20220504/202205040945.JZNNub2D-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.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://github.com/intel-lab-lkp/linux/commit/1c97c02f02b9f8e6b8e1f11657f950510f9c828e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Seth-Forshee/entry-kvm-Make-vCPU-tasks-exit-to-userspace-when-a-livepatch-is-pending/20220504-015159
git checkout 1c97c02f02b9f8e6b8e1f11657f950510f9c828e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from arch/arm64/kvm/arm.c:9:
include/linux/entry-kvm.h: In function '__xfer_to_guest_mode_work_pending':
>> include/linux/entry-kvm.h:20:48: error: '_TIF_PATCH_PENDING' undeclared (first use in this function)
20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \
| ^~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK'
80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:20:48: note: each undeclared identifier is reported only once for each function it appears in
20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \
| ^~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK'
80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:81:1: error: control reaches end of non-void function [-Werror=return-type]
81 | }
| ^
cc1: some warnings being treated as errors
--
In file included from kernel/entry/kvm.c:3:
include/linux/entry-kvm.h: In function '__xfer_to_guest_mode_work_pending':
>> include/linux/entry-kvm.h:20:48: error: '_TIF_PATCH_PENDING' undeclared (first use in this function)
20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \
| ^~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK'
80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:20:48: note: each undeclared identifier is reported only once for each function it appears in
20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \
| ^~~~~~~~~~~~~~~~~~
include/linux/entry-kvm.h:80:29: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK'
80 | return !!(ti_work & XFER_TO_GUEST_MODE_WORK);
| ^~~~~~~~~~~~~~~~~~~~~~~
kernel/entry/kvm.c: In function 'xfer_to_guest_mode_work':
>> kernel/entry/kvm.c:22:50: error: '_TIF_PATCH_PENDING' undeclared (first use in this function)
22 | if (ti_work & (_TIF_SIGPENDING | _TIF_PATCH_PENDING)) {
| ^~~~~~~~~~~~~~~~~~
In file included from kernel/entry/kvm.c:3:
kernel/entry/kvm.c: In function 'xfer_to_guest_mode_handle_work':
>> include/linux/entry-kvm.h:20:48: error: '_TIF_PATCH_PENDING' undeclared (first use in this function)
20 | (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \
| ^~~~~~~~~~~~~~~~~~
kernel/entry/kvm.c:55:25: note: in expansion of macro 'XFER_TO_GUEST_MODE_WORK'
55 | if (!(ti_work & XFER_TO_GUEST_MODE_WORK))
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/_TIF_PATCH_PENDING +20 include/linux/entry-kvm.h
18
19 #define XFER_TO_GUEST_MODE_WORK \
> 20 (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_PATCH_PENDING | \
21 _TIF_NOTIFY_SIGNAL | _TIF_NOTIFY_RESUME | ARCH_XFER_TO_GUEST_MODE_WORK)
22
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists