[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen staging] x86: refine APIC ID restriction
commit 261ef8ccbd28526d69c3a6c5944709f81624741a Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Tue Mar 10 15:27:56 2020 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Tue Mar 10 15:27:56 2020 +0100 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> Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- xen/arch/x86/smpboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index 6c548b0b53..0e54bd14f3 100644 --- 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); -- generated by git-patchbot for /home/xen/git/xen.git#staging _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |