qemu-e2k/include/standard-headers
David Woodhouse c1bb5418e3 target/i386: Support up to 32768 CPUs without IRQ remapping
The IOAPIC has an 'Extended Destination ID' field in its RTE, which maps
to bits 11-4 of the MSI address. Since those address bits fall within a
given 4KiB page they were historically non-trivial to use on real hardware.

The Intel IOMMU uses the lowest bit to indicate a remappable format MSI,
and then the remaining 7 bits are part of the index.

Where the remappable format bit isn't set, we can actually use the other
seven to allow external (IOAPIC and MSI) interrupts to reach up to 32768
CPUs instead of just the 255 permitted on bare metal.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <78097f9218300e63e751e077a0a5ca029b56ba46.camel@infradead.org>
[Fix UBSAN warning. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2020-12-10 12:15:00 -05:00
..
asm-s390 linux-headers: update 2018-01-22 11:07:47 +01:00
asm-x86 target/i386: Support up to 32768 CPUs without IRQ remapping 2020-12-10 12:15:00 -05:00
drivers/infiniband/hw/vmw_pvrdma linux-headers: update against 5.10-rc1 2020-11-01 12:30:51 -07:00
drm linux headers: sync to 5.9-rc4 2020-09-29 02:14:29 -04:00
linux linux-headers: update against 5.10-rc1 2020-11-01 12:30:51 -07:00
rdma linux-headers: Update 2020-01-08 11:01:59 +11:00