[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202105211023.BuU7Y7IQ-lkp@intel.com>
Date: Fri, 21 May 2021 10:35:28 +0800
From: kernel test robot <lkp@...el.com>
To: Sergey Senozhatsky <senozhatsky@...omium.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
"Paul E. McKenney" <paulmck@...nel.org>
Subject: [rcu:dev.2021.05.18a 19/26]
arch/powerpc/include/asm/kvm_para.h:27:40: error: 'KVM_HC_FEATURES'
undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.05.18a
head: 086e6d19878e9b3c6b3b97599229b4b7bdfe1876
commit: faec837f559391c744d56292dfa261c7682102a4 [19/26] EXP rcu/tree: Cconsider time a VM was suspended
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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/paulmck/linux-rcu.git/commit/?id=faec837f559391c744d56292dfa261c7682102a4
git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags rcu dev.2021.05.18a
git checkout faec837f559391c744d56292dfa261c7682102a4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
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/powerpc/include/asm/epapr_hcalls.h:53,
from arch/powerpc/include/uapi/asm/kvm_para.h:82,
from arch/powerpc/include/asm/kvm_para.h:13,
from kernel/rcu/tree_stall.h:10,
from kernel/rcu/tree.c:4783:
arch/powerpc/include/asm/kvm_para.h: In function 'kvm_arch_para_features':
>> arch/powerpc/include/asm/kvm_para.h:27:40: error: 'KVM_HC_FEATURES' undeclared (first use in this function)
27 | if(epapr_hypercall0_1(KVM_HCALL_TOKEN(KVM_HC_FEATURES), &r))
| ^~~~~~~~~~~~~~~
arch/powerpc/include/uapi/asm/epapr_hcalls.h:75:51: note: in definition of macro '_EV_HCALL_TOKEN'
75 | #define _EV_HCALL_TOKEN(id, num) (((id) << 16) | (num))
| ^~~
arch/powerpc/include/asm/kvm_para.h:27:24: note: in expansion of macro 'KVM_HCALL_TOKEN'
27 | if(epapr_hypercall0_1(KVM_HCALL_TOKEN(KVM_HC_FEATURES), &r))
| ^~~~~~~~~~~~~~~
arch/powerpc/include/asm/kvm_para.h:27:40: note: each undeclared identifier is reported only once for each function it appears in
27 | if(epapr_hypercall0_1(KVM_HCALL_TOKEN(KVM_HC_FEATURES), &r))
| ^~~~~~~~~~~~~~~
arch/powerpc/include/uapi/asm/epapr_hcalls.h:75:51: note: in definition of macro '_EV_HCALL_TOKEN'
75 | #define _EV_HCALL_TOKEN(id, num) (((id) << 16) | (num))
| ^~~
arch/powerpc/include/asm/kvm_para.h:27:24: note: in expansion of macro 'KVM_HCALL_TOKEN'
27 | if(epapr_hypercall0_1(KVM_HCALL_TOKEN(KVM_HC_FEATURES), &r))
| ^~~~~~~~~~~~~~~
vim +/KVM_HC_FEATURES +27 arch/powerpc/include/asm/kvm_para.h
bbf45ba57eaec5 include/asm-powerpc/kvm_para.h Hollis Blanchard 2008-04-16 19
bbf45ba57eaec5 include/asm-powerpc/kvm_para.h Hollis Blanchard 2008-04-16 20 static inline unsigned int kvm_arch_para_features(void)
bbf45ba57eaec5 include/asm-powerpc/kvm_para.h Hollis Blanchard 2008-04-16 21 {
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 22 unsigned long r;
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 23
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 24 if (!kvm_para_available())
bbf45ba57eaec5 include/asm-powerpc/kvm_para.h Hollis Blanchard 2008-04-16 25 return 0;
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 26
b1f0d94c26b64e arch/powerpc/include/asm/kvm_para.h Bharat Bhushan 2013-10-08 @27 if(epapr_hypercall0_1(KVM_HCALL_TOKEN(KVM_HC_FEATURES), &r))
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 28 return 0;
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 29
2a342ed57756ad arch/powerpc/include/asm/kvm_para.h Alexander Graf 2010-07-29 30 return r;
bbf45ba57eaec5 include/asm-powerpc/kvm_para.h Hollis Blanchard 2008-04-16 31 }
bbf45ba57eaec5 include/asm-powerpc/kvm_para.h Hollis Blanchard 2008-04-16 32
:::::: The code at line 27 was first introduced by commit
:::::: b1f0d94c26b64e814243b736f47e7ef40d96432c kvm/powerpc: move kvm_hypercall0() and friends to epapr_hypercall0()
:::::: TO: Bharat Bhushan <r65777@...escale.com>
:::::: CC: Alexander Graf <agraf@...e.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (73379 bytes)
Powered by blists - more mailing lists