]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/kvm: Enable 15-bit extension when KVM_FEATURE_MSI_EXT_DEST_ID detected
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sat, 24 Oct 2020 21:35:35 +0000 (22:35 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 29 Oct 2020 08:16:38 +0000 (08:16 +0000)
commit3b0c20ef1faacd177aa747a1e3fd9ac14b37e4f5
treead89aa8086ae7990a47af929dad96f013183a5a7
parent179557f03883013300edadb5161967924ab2f279
x86/kvm: Enable 15-bit extension when KVM_FEATURE_MSI_EXT_DEST_ID detected

This allows the host to indicate that MSI emulation supports 15-bit
destination IDs, allowing up to 32768 CPUs without interrupt remapping.

cf. https://patchwork.kernel.org/patch/11816693/ for qemu

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20201024213535.443185-36-dwmw2@infradead.org
(cherry picked from commit 2e008ffe426f927b1697adb4ed10c1e419927ae4)
arch/x86/kernel/kvm.c