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


Groups > linux.kernel > #1631463

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

From Boris Ostrovsky <boris.ostrovsky@oracle.com>
Newsgroups linux.kernel
Subject [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP
Date 2017-04-26 15:50 +0200
Message-ID <tAvup-2VQ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[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

csiph-web