Re: [Xen-devel] [PATCH v2] xen: setup pv irq ops vector earlier

2018-07-12 Thread Boris Ostrovsky
On 07/12/2018 11:40 AM, Juergen Gross wrote: > Setting pv_irq_ops for Xen PV domains should be done as early as > possible in order to support e.g. very early printk() usage. > > The same applies to xen_vcpu_info_reset(0), as it is needed for the > pv irq ops. > > Move the call of

[Xen-devel] [PATCH v2] xen: setup pv irq ops vector earlier

2018-07-12 Thread Juergen Gross
Setting pv_irq_ops for Xen PV domains should be done as early as possible in order to support e.g. very early printk() usage. The same applies to xen_vcpu_info_reset(0), as it is needed for the pv irq ops. Move the call of xen_setup_machphys_mapping() after initializing the pv functions as it