x86/apic: Always provide irq_compose_msi_msg() method for vector domain
This shouldn't be dependent on PCI_MSI. HPET and I/O-APIC can deliver interrupts through MSI without having any PCI in the system at all. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20201024213535.443185-10-dwmw2@infradead.org
This commit is contained in:
committed by
Thomas Gleixner
parent
8c44963b60
commit
f598181acf
@@ -818,6 +818,12 @@ void apic_ack_edge(struct irq_data *irqd)
|
||||
apic_ack_irq(irqd);
|
||||
}
|
||||
|
||||
static void x86_vector_msi_compose_msg(struct irq_data *data,
|
||||
struct msi_msg *msg)
|
||||
{
|
||||
__irq_msi_compose_msg(irqd_cfg(data), msg, false);
|
||||
}
|
||||
|
||||
static struct irq_chip lapic_controller = {
|
||||
.name = "APIC",
|
||||
.irq_ack = apic_ack_edge,
|
||||
|
||||
Reference in New Issue
Block a user