x86: refine APIC ID restriction
PATCH 1/1 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 <[email protected]>
---
Obviously to go on top of "AMD/IOMMU: without XT, x2APIC needs to be forced into physical mode".
xen/arch/x86/smpboot.c +1 -1
@@ -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
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Jan Beulich
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 <[email protected]>
Reviewed-by Roger Pau Monné <[email protected]>
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel