Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1631463 > unrolled thread

[PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP

Started byBoris Ostrovsky <boris.ostrovsky@oracle.com>
First post2017-04-26 15:50 +0200
Last post2017-04-28 20:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-04-26 15:50 +0200
    Re: [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Juergen Gross <jgross@suse.com> - 2017-04-28 07:10 +0200
    Re: [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Juergen Gross <jgross@suse.com> - 2017-04-28 20:10 +0200

#1631463 — [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP

FromBoris Ostrovsky <boris.ostrovsky@oracle.com>
Date2017-04-26 15:50 +0200
Subject[PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP
Message-ID<tAvup-2VQ-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1632525

FromJuergen Gross <jgross@suse.com>
Date2017-04-28 07:10 +0200
Message-ID<tB6ki-2Ud-1@gated-at.bofh.it>
In reply to#1631463
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

[toc] | [prev] | [next] | [standalone]


#1633071

FromJuergen Gross <jgross@suse.com>
Date2017-04-28 20:10 +0200
Message-ID<tBiv8-2EY-29@gated-at.bofh.it>
In reply to#1631463
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web