Return-Path: Received: from mx2.suse.de ([195.135.220.15]:49210 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965489AbeGBL16 (ORCPT ); Mon, 2 Jul 2018 07:27:58 -0400 Subject: Re: [Xen-devel] [PATCH] xen: setup pv irq ops vector earlier To: Jan Beulich Cc: the arch/x86 maintainers , Thomas Gleixner , xen-devel , Boris Ostrovsky , mingo@redhat.com, lkml , stable@vger.kernel.org, "H. Peter Anvin" References: <20180702100001.19953-1-jgross@suse.com> <5B3A09EA02000078001CFBB7@suse.com> From: Juergen Gross Message-ID: Date: Mon, 2 Jul 2018 13:27:55 +0200 MIME-Version: 1.0 In-Reply-To: <5B3A09EA02000078001CFBB7@suse.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 02/07/18 13:18, Jan Beulich wrote: >>>> On 02.07.18 at 12:00, wrote: >> --- a/arch/x86/xen/enlighten_pv.c >> +++ b/arch/x86/xen/enlighten_pv.c >> @@ -1213,6 +1213,7 @@ asmlinkage __visible void __init xen_start_kernel(void) >> pv_info = xen_info; >> pv_init_ops.patch = paravirt_patch_default; >> pv_cpu_ops = xen_cpu_ops; >> + xen_init_irq_ops(); > > Isn't this still too late? xen_setup_machphys_mapping(), for example, > has a WARN_ON(), which implies multiple printk()s. Seems as if it would be a good idea to move calling xen_setup_machphys_mapping() into xen_init_mmu_ops(). There is really no need to do it earlier. Juergen