Skip to contentSkip to conversation

libahci ->irq_handler vs AHCI_HFLAG_MULTI_MSI

DISCUSSION Christoph Hellwig 1 participant 1 message Oct 17, 2016 libata

lore
Share & tools
lore
#0 lore raw

Hi all,

did anyone test the AHCI per-port MSI or MSI-X mode recently?

Since commit f070d671 ("libahci: Implement the capability to override the generic ahci interrupt handler." we reject multi-msi mode when a non-zero ->irq_handler is set, but given that ahci_save_initial_config fills out ->irq_handler long before we call ahci_host_activate I can't think of a case where it might be non-zero at all.