xen: fix PV IPI setup
So that it's done when the vcpu_id has been set. For the BSP the vcpu_id is set at SUB_INTR, while for the APs it's done in init_secondary_tail that's called at SUB_SMP order FIRST. Reported and tested by: cperciva Approved by: re (gjb) Sponsored by: Citrix Systems R&D Differential revision: https://reviews.freebsd.org/D17013
This commit is contained in:
parent
a515acf7bb
commit
fae9a0cb9b
@ -592,6 +592,6 @@ xen_setup_cpus(void)
|
||||
apic_ops.ipi_vectored = xen_pv_lapic_ipi_vectored;
|
||||
}
|
||||
|
||||
/* We need to setup IPIs before APs are started */
|
||||
SYSINIT(xen_setup_cpus, SI_SUB_SMP-1, SI_ORDER_FIRST, xen_setup_cpus, NULL);
|
||||
/* Switch to using PV IPIs as soon as the vcpu_id is set. */
|
||||
SYSINIT(xen_setup_cpus, SI_SUB_SMP, SI_ORDER_SECOND, xen_setup_cpus, NULL);
|
||||
#endif /* SMP */
|
||||
|
Loading…
x
Reference in New Issue
Block a user