x86/IRQ: flip legacy and dynamic vector ranges
authorJan Beulich <jbeulich@suse.com>
Fri, 27 Dec 2019 08:54:19 +0000 (09:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Dec 2019 08:54:19 +0000 (09:54 +0100)
commit8fb4e83dc3c3825628fff5984b91e8dbb0adc20f
tree1c9eecbc75aa8c587a537d13d250b026ace7b684
parent53fd9dafeb5a7601bdfb090a631bafbbd3c84fe3
x86/IRQ: flip legacy and dynamic vector ranges

There's no reason to have the PIC vectors (which are typically entirely
unused on 64-bit systems anyway) right below the high priority ones. Put
them in the lowest possible range, and shift the dynamic vector range up
accordingly. This is to reduce the priority of PIC vectors in the LAPIC
vs all other ones.

Note that irq_move_cleanup_interrupt(), despite using
FIRST_DYNAMIC_VECTOR, does not get touched, as PIC interrupts aren't
movable.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/apic.c
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/arch/x86/x86_64/entry.S
xen/include/asm-x86/mach-default/irq_vectors.h