public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [rcu:dev.2021.05.18a 19/26] arch/powerpc/include/asm/kvm_para.h:27:40: error: 'KVM_HC_FEATURES' undeclared
@ 2021-05-21  2:35 kernel test robot
  2021-05-21  5:19 ` Sergey Senozhatsky
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-05-21  2:35 UTC (permalink / raw)
  To: Sergey Senozhatsky; +Cc: kbuild-all, linux-kernel, Paul E. McKenney

[-- Attachment #1: Type: text/plain, Size: 4779 bytes --]

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@intel.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@freescale.com>
:::::: CC: Alexander Graf <agraf@suse.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73379 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-21  5:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-21  2:35 [rcu:dev.2021.05.18a 19/26] arch/powerpc/include/asm/kvm_para.h:27:40: error: 'KVM_HC_FEATURES' undeclared kernel test robot
2021-05-21  5:19 ` Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox