All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'?
@ 2021-05-06 20:57 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-05-06 20:57 UTC (permalink / raw)
  To: Vitaly Kuznetsov
  Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei, Paolo Bonzini

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

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   c6d517aecd40b25ea05c593962b2c4b085092343
commit: 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc [11/44] x86/kvm: Teardown PV features on boot CPU as well
config: x86_64-randconfig-c022-20210506 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
        git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
        git fetch --no-tags kvm queue
        git checkout 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
        # save the attached .config to linux build tree
        make W=1 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/kernel/kvm.c: In function 'kvm_suspend':
>> arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? [-Werror=implicit-function-declaration]
     672 |  kvm_guest_cpu_offline();
         |  ^~~~~~~~~~~~~~~~~~~~~
         |  kvm_guest_cpu_init
   arch/x86/kernel/kvm.c: In function 'kvm_resume':
>> arch/x86/kernel/kvm.c:679:2: error: implicit declaration of function 'kvm_cpu_online'; did you mean 'irq_cpu_online'? [-Werror=implicit-function-declaration]
     679 |  kvm_cpu_online(raw_smp_processor_id());
         |  ^~~~~~~~~~~~~~
         |  irq_cpu_online
   cc1: some warnings being treated as errors


vim +672 arch/x86/kernel/kvm.c

   669	
   670	static int kvm_suspend(void)
   671	{
 > 672		kvm_guest_cpu_offline();
   673	
   674		return 0;
   675	}
   676	
   677	static void kvm_resume(void)
   678	{
 > 679		kvm_cpu_online(raw_smp_processor_id());
   680	}
   681	

---
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: 34186 bytes --]

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

* [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'?
@ 2021-05-06 20:57 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-05-06 20:57 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   c6d517aecd40b25ea05c593962b2c4b085092343
commit: 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc [11/44] x86/kvm: Teardown PV features on boot CPU as well
config: x86_64-randconfig-c022-20210506 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
        git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
        git fetch --no-tags kvm queue
        git checkout 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
        # save the attached .config to linux build tree
        make W=1 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/kernel/kvm.c: In function 'kvm_suspend':
>> arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? [-Werror=implicit-function-declaration]
     672 |  kvm_guest_cpu_offline();
         |  ^~~~~~~~~~~~~~~~~~~~~
         |  kvm_guest_cpu_init
   arch/x86/kernel/kvm.c: In function 'kvm_resume':
>> arch/x86/kernel/kvm.c:679:2: error: implicit declaration of function 'kvm_cpu_online'; did you mean 'irq_cpu_online'? [-Werror=implicit-function-declaration]
     679 |  kvm_cpu_online(raw_smp_processor_id());
         |  ^~~~~~~~~~~~~~
         |  irq_cpu_online
   cc1: some warnings being treated as errors


vim +672 arch/x86/kernel/kvm.c

   669	
   670	static int kvm_suspend(void)
   671	{
 > 672		kvm_guest_cpu_offline();
   673	
   674		return 0;
   675	}
   676	
   677	static void kvm_resume(void)
   678	{
 > 679		kvm_cpu_online(raw_smp_processor_id());
   680	}
   681	

---
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: 34186 bytes --]

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

* Re: [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'?
  2021-05-06 20:57 ` kernel test robot
@ 2021-05-07  8:33   ` Vitaly Kuznetsov
  -1 siblings, 0 replies; 4+ messages in thread
From: Vitaly Kuznetsov @ 2021-05-07  8:33 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei, Paolo Bonzini

kernel test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head:   c6d517aecd40b25ea05c593962b2c4b085092343
> commit: 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc [11/44] x86/kvm: Teardown PV features on boot CPU as well
> config: x86_64-randconfig-c022-20210506 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
>         git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
>         git fetch --no-tags kvm queue
>         git checkout 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
>         # save the attached .config to linux build tree
>         make W=1 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/kernel/kvm.c: In function 'kvm_suspend':
>>> arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? [-Werror=implicit-function-declaration]
>      672 |  kvm_guest_cpu_offline();
>          |  ^~~~~~~~~~~~~~~~~~~~~
>          |  kvm_guest_cpu_init
>    arch/x86/kernel/kvm.c: In function 'kvm_resume':
>>> arch/x86/kernel/kvm.c:679:2: error: implicit declaration of function 'kvm_cpu_online'; did you mean 'irq_cpu_online'? [-Werror=implicit-function-declaration]
>      679 |  kvm_cpu_online(raw_smp_processor_id());
>          |  ^~~~~~~~~~~~~~
>          |  irq_cpu_online
>    cc1: some warnings being treated as errors
>


Oh well, we just need a quantum PC and something like 
'make allpossibleconfig' to make issues like this one go away forever
:-)

I'm on it, soemthing needs to be done for !CONFIG_SMP case.


-- 
Vitaly


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

* Re: [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'?
@ 2021-05-07  8:33   ` Vitaly Kuznetsov
  0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Kuznetsov @ 2021-05-07  8:33 UTC (permalink / raw)
  To: kbuild-all

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

kernel test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> head:   c6d517aecd40b25ea05c593962b2c4b085092343
> commit: 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc [11/44] x86/kvm: Teardown PV features on boot CPU as well
> config: x86_64-randconfig-c022-20210506 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
>         git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
>         git fetch --no-tags kvm queue
>         git checkout 9140e381e0f2f8cb1c628c29730ece2a52cb4cbc
>         # save the attached .config to linux build tree
>         make W=1 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/kernel/kvm.c: In function 'kvm_suspend':
>>> arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? [-Werror=implicit-function-declaration]
>      672 |  kvm_guest_cpu_offline();
>          |  ^~~~~~~~~~~~~~~~~~~~~
>          |  kvm_guest_cpu_init
>    arch/x86/kernel/kvm.c: In function 'kvm_resume':
>>> arch/x86/kernel/kvm.c:679:2: error: implicit declaration of function 'kvm_cpu_online'; did you mean 'irq_cpu_online'? [-Werror=implicit-function-declaration]
>      679 |  kvm_cpu_online(raw_smp_processor_id());
>          |  ^~~~~~~~~~~~~~
>          |  irq_cpu_online
>    cc1: some warnings being treated as errors
>


Oh well, we just need a quantum PC and something like 
'make allpossibleconfig' to make issues like this one go away forever
:-)

I'm on it, soemthing needs to be done for !CONFIG_SMP case.


-- 
Vitaly

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

end of thread, other threads:[~2021-05-07  8:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 20:57 [kvm:queue 11/44] arch/x86/kernel/kvm.c:672:2: error: implicit declaration of function 'kvm_guest_cpu_offline'; did you mean 'kvm_guest_cpu_init'? kernel test robot
2021-05-06 20:57 ` kernel test robot
2021-05-07  8:33 ` Vitaly Kuznetsov
2021-05-07  8:33   ` Vitaly Kuznetsov

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.