linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP
@ 2017-04-26 13:42 Boris Ostrovsky
  2017-04-28  5:01 ` Juergen Gross
  2017-04-28 18:01 ` Juergen Gross
  0 siblings, 2 replies; 3+ messages in thread
From: Boris Ostrovsky @ 2017-04-26 13:42 UTC (permalink / raw)
  To: jgross; +Cc: xen-devel, linux-kernel, linux, Boris Ostrovsky

Recent code rework that split handling ov PV, HVM and PVH guests into
separate files missed calling xen_smp_intr_init_pv() on CPU0.

Add this call.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
---
 arch/x86/xen/smp_pv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/smp_pv.c b/arch/x86/xen/smp_pv.c
index c0e3b96..aae3253 100644
--- a/arch/x86/xen/smp_pv.c
+++ b/arch/x86/xen/smp_pv.c
@@ -249,7 +249,7 @@ static void __init xen_pv_smp_prepare_cpus(unsigned int max_cpus)
 
 	xen_pmu_init(0);
 
-	if (xen_smp_intr_init(0))
+	if (xen_smp_intr_init(0) || xen_smp_intr_init_pv(0))
 		BUG();
 
 	if (!alloc_cpumask_var(&xen_cpu_initialized_map, GFP_KERNEL))
-- 
1.8.3.1

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

* Re: [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP
  2017-04-26 13:42 [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Boris Ostrovsky
@ 2017-04-28  5:01 ` Juergen Gross
  2017-04-28 18:01 ` Juergen Gross
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2017-04-28  5:01 UTC (permalink / raw)
  To: Boris Ostrovsky; +Cc: xen-devel, linux-kernel, linux

On 26/04/17 15:42, Boris Ostrovsky wrote:
> Recent code rework that split handling ov PV, HVM and PVH guests into
> separate files missed calling xen_smp_intr_init_pv() on CPU0.
> 
> Add this call.
> 
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Reported-by: Sander Eikelenboom <linux@eikelenboom.it>

Reviewed-by: Juergen Gross <jgross@suse.com>


Thanks,

Juergen

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

* Re: [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP
  2017-04-26 13:42 [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Boris Ostrovsky
  2017-04-28  5:01 ` Juergen Gross
@ 2017-04-28 18:01 ` Juergen Gross
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2017-04-28 18:01 UTC (permalink / raw)
  To: Boris Ostrovsky; +Cc: xen-devel, linux-kernel, linux

On 26/04/17 15:42, Boris Ostrovsky wrote:
> Recent code rework that split handling ov PV, HVM and PVH guests into
> separate files missed calling xen_smp_intr_init_pv() on CPU0.
> 
> Add this call.
> 
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Reported-by: Sander Eikelenboom <linux@eikelenboom.it>

Pushed to xen/tip for-linus-4.12


Juergen

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

end of thread, other threads:[~2017-04-28 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-26 13:42 [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Boris Ostrovsky
2017-04-28  5:01 ` Juergen Gross
2017-04-28 18:01 ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).