irqdomain/msi: Provide DOMAIN_BUS_VMD_MSI
authorThomas Gleixner <tglx@linutronix.de>
Wed, 26 Aug 2020 11:16:51 +0000 (13:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2020 14:52:36 +0000 (16:52 +0200)
commitc6c9e2838c5f0b94773511586123bcb125757f2a
treea343db30354fc6a9b4919b3c0cf90bb3ed629c4d
parent6b15ffa07dc325f4e4dd98c877bfa970202c378b
irqdomain/msi: Provide DOMAIN_BUS_VMD_MSI

PCI devices behind a VMD bus are not subject to interrupt remapping, but
the irq domain for VMD MSI cannot be distinguished from a regular PCI/MSI
irq domain.

Add a new domain bus token and allow it in the bus token check in
msi_check_reservation_mode() to keep the functionality the same once VMD
uses this token.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Jon Derrick <jonathan.derrick@intel.com>
Link: https://lore.kernel.org/r/20200826112332.954409970@linutronix.de
include/linux/irqdomain.h
kernel/irq/msi.c