* [PATCH] virt: acrn: add hotplug_cpu dependency
@ 2021-02-25 13:38 Arnd Bergmann
2021-02-26 1:38 ` Shuo A Liu
0 siblings, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2021-02-25 13:38 UTC (permalink / raw)
To: Shuo Liu, Reinette Chatre, Greg Kroah-Hartman
Cc: Arnd Bergmann, Zhi Wang, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
Without CPU hotplug, acrn fails to build:
drivers/virt/acrn/hsm.c:389:3: error: implicit declaration of function 'remove_cpu' [-Werror,-Wimplicit-function-declaration]
remove_cpu(cpu);
^
drivers/virt/acrn/hsm.c:402:2: error: implicit declaration of function 'add_cpu' [-Werror,-Wimplicit-function-declaration]
add_cpu(cpu);
^
Enforce the dependency through Kconfig to avoid the build failure.
Fixes: 666834c47d3b ("virt: acrn: Introduce ACRN HSM basic driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/virt/acrn/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/virt/acrn/Kconfig b/drivers/virt/acrn/Kconfig
index 3e1a61c9d8d8..fbb0e3234aaf 100644
--- a/drivers/virt/acrn/Kconfig
+++ b/drivers/virt/acrn/Kconfig
@@ -2,6 +2,7 @@
config ACRN_HSM
tristate "ACRN Hypervisor Service Module"
depends on ACRN_GUEST
+ depends on HOTPLUG_CPU
select EVENTFD
help
ACRN Hypervisor Service Module (HSM) is a kernel module which
--
2.29.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] virt: acrn: add hotplug_cpu dependency
2021-02-25 13:38 [PATCH] virt: acrn: add hotplug_cpu dependency Arnd Bergmann
@ 2021-02-26 1:38 ` Shuo A Liu
2021-02-26 6:25 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Shuo A Liu @ 2021-02-26 1:38 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Reinette Chatre, Greg Kroah-Hartman, Arnd Bergmann, Zhi Wang,
linux-kernel
Hi Arnd,
There is already a patchset for this build issue. Please refer to
https://lore.kernel.org/lkml/20210221134339.57851-1-shuo.a.liu@intel.com/.
Hi Greg,
Would you like accept that patchset in you tree?
Thanks
shuo
On Thu 25.Feb'21 at 14:38:30 +0100, Arnd Bergmann wrote:
>From: Arnd Bergmann <arnd@arndb.de>
>
>Without CPU hotplug, acrn fails to build:
>
>drivers/virt/acrn/hsm.c:389:3: error: implicit declaration of function 'remove_cpu' [-Werror,-Wimplicit-function-declaration]
> remove_cpu(cpu);
> ^
>drivers/virt/acrn/hsm.c:402:2: error: implicit declaration of function 'add_cpu' [-Werror,-Wimplicit-function-declaration]
> add_cpu(cpu);
> ^
>
>Enforce the dependency through Kconfig to avoid the build failure.
>
>Fixes: 666834c47d3b ("virt: acrn: Introduce ACRN HSM basic driver")
>Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>---
> drivers/virt/acrn/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/virt/acrn/Kconfig b/drivers/virt/acrn/Kconfig
>index 3e1a61c9d8d8..fbb0e3234aaf 100644
>--- a/drivers/virt/acrn/Kconfig
>+++ b/drivers/virt/acrn/Kconfig
>@@ -2,6 +2,7 @@
> config ACRN_HSM
> tristate "ACRN Hypervisor Service Module"
> depends on ACRN_GUEST
>+ depends on HOTPLUG_CPU
> select EVENTFD
> help
> ACRN Hypervisor Service Module (HSM) is a kernel module which
>--
>2.29.2
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] virt: acrn: add hotplug_cpu dependency
2021-02-26 1:38 ` Shuo A Liu
@ 2021-02-26 6:25 ` Greg Kroah-Hartman
2021-02-26 6:30 ` Shuo A Liu
0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2021-02-26 6:25 UTC (permalink / raw)
To: Shuo A Liu
Cc: Arnd Bergmann, Reinette Chatre, Arnd Bergmann, Zhi Wang, linux-kernel
On Fri, Feb 26, 2021 at 09:38:07AM +0800, Shuo A Liu wrote:
> Hi Arnd,
>
> There is already a patchset for this build issue. Please refer to
> https://lore.kernel.org/lkml/20210221134339.57851-1-shuo.a.liu@intel.com/.
>
> Hi Greg, Would you like accept that patchset in you tree?
I can't take anything new in my tree until 5.12-rc1 is out. When that
happens I will go through everything submitted to me and merge fixes
like this one and get them sent to Linus in a week or so.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] virt: acrn: add hotplug_cpu dependency
2021-02-26 6:25 ` Greg Kroah-Hartman
@ 2021-02-26 6:30 ` Shuo A Liu
2021-03-04 8:25 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Shuo A Liu @ 2021-02-26 6:30 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Arnd Bergmann, Reinette Chatre, Arnd Bergmann, Zhi Wang, linux-kernel
On Fri 26.Feb'21 at 7:25:18 +0100, Greg Kroah-Hartman wrote:
>On Fri, Feb 26, 2021 at 09:38:07AM +0800, Shuo A Liu wrote:
>> Hi Arnd,
>>
>> There is already a patchset for this build issue. Please refer to
>> https://lore.kernel.org/lkml/20210221134339.57851-1-shuo.a.liu@intel.com/.
>>
>> Hi Greg, Would you like accept that patchset in you tree?
>
>I can't take anything new in my tree until 5.12-rc1 is out. When that
>happens I will go through everything submitted to me and merge fixes
>like this one and get them sent to Linus in a week or so.
OK. Thanks for the information.
Thanks
shuo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] virt: acrn: add hotplug_cpu dependency
2021-02-26 6:30 ` Shuo A Liu
@ 2021-03-04 8:25 ` Greg Kroah-Hartman
0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2021-03-04 8:25 UTC (permalink / raw)
To: Shuo A Liu
Cc: Arnd Bergmann, Reinette Chatre, Arnd Bergmann, Zhi Wang, linux-kernel
On Fri, Feb 26, 2021 at 02:30:18PM +0800, Shuo A Liu wrote:
> On Fri 26.Feb'21 at 7:25:18 +0100, Greg Kroah-Hartman wrote:
> > On Fri, Feb 26, 2021 at 09:38:07AM +0800, Shuo A Liu wrote:
> > > Hi Arnd,
> > >
> > > There is already a patchset for this build issue. Please refer to
> > > https://lore.kernel.org/lkml/20210221134339.57851-1-shuo.a.liu@intel.com/.
> > >
> > > Hi Greg, Would you like accept that patchset in you tree?
> >
> > I can't take anything new in my tree until 5.12-rc1 is out. When that
> > happens I will go through everything submitted to me and merge fixes
> > like this one and get them sent to Linus in a week or so.
>
> OK. Thanks for the information.
Now in my tree and will show up in linux-next tomorrow.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-03-04 8:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 13:38 [PATCH] virt: acrn: add hotplug_cpu dependency Arnd Bergmann
2021-02-26 1:38 ` Shuo A Liu
2021-02-26 6:25 ` Greg Kroah-Hartman
2021-02-26 6:30 ` Shuo A Liu
2021-03-04 8:25 ` Greg Kroah-Hartman
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.