[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen on machines with non-contiguous io-apics
>>> Steven Smith <steven.smith@xxxxxxxxxx> 17.08.09 11:17 >>> >I have a test box with two IOAPICS which present non-contiguous GSIs >according to the ACPI tables (the first offers 0-24 and the second >32-56). The latest xen-unstable with current pvops dom0 fails to boot >on this machine, because the dom0 kernel can't claim any GSIs above >48. This is because the PHYSDEVOP_alloc_irq_vector implementation >won't let it get at anything above nr_irqs, which is just the sum of >the number of registers across all APICs. > >The patch below fixes this by just setting nr_irqs to the highest GSI >offered by any IOAPIC. I don't understand this stuff well enough to >say whether that's the right fix (and the patch isn't suitable for >applying, anyway), but it does make the machine boot. This seems to mostly be in line with upstream Linux, except that it's lacking the fallback for when ACPI is disabled. See acpi_probe_gsi() and its use in 2.6.31-rcX. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |