Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3000634AbdDZNnb (ORCPT ); Wed, 26 Apr 2017 09:43:31 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:22784 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1951950AbdDZNnU (ORCPT ); Wed, 26 Apr 2017 09:43:20 -0400 From: Boris Ostrovsky To: jgross@suse.com Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, linux@eikelenboom.it, Boris Ostrovsky Subject: [PATCH] xen/x86: Call xen_smp_intr_init_pv() on BSP Date: Wed, 26 Apr 2017 09:42:48 -0400 Message-Id: <1493214168-21436-1-git-send-email-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 1.8.3.1 X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 771 Lines: 26 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 Reported-by: Sander Eikelenboom --- 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