[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86: refine APIC ID restriction
Now that we distinguish "restricted" and "full" interrupt remapping mode, the 8-bit-APIC-ID restriction also needs to be enforced for "restricted". Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- Obviously to go on top of "AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode". --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -1328,7 +1328,7 @@ int __cpu_up(unsigned int cpu) return -ENODEV; if ( (!x2apic_enabled && apicid >= APIC_ALL_CPUS) || - (!iommu_intremap && (apicid >> 8)) ) + (iommu_intremap != iommu_intremap_full && (apicid >> 8)) ) { printk("Unsupported: APIC ID %#x in xAPIC mode w/o interrupt remapping\n", apicid); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |