PCI/MSI: Split __pci_write_msi_msg()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:26:00 +0000 (00:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 21:22:32 +0000 (22:22 +0100)
commit877d6c4e93f5091bfa52549bde8fb9ce71d6f7e5
treec5fd1e175c85a4432d052a167aa596fdb16ad071
parent36db3d9003ea85217b357a658cf7b37920c2c38e
PCI/MSI: Split __pci_write_msi_msg()

The upcoming per device MSI domains will create different domains for MSI
and MSI-X. Split the write message function into MSI and MSI-X helpers so
they can be used by those new domain functions seperately.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221124232325.857982142@linutronix.de
drivers/pci/msi/msi.c