Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98e6695a authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Alex Shi
Browse files

PCI/MSI: Rename mask/unmask_msi_irq et al



mask/unmask_msi_irq and __mask_msi/msix_irq are PCI/MSI specific
functions and should be named accordingly. This is a preparatory patch
to support MSI on non PCI devices.

Rename mask/unmask_msi_irq to pci_msi_mask/unmask_irq and document the
functions. Provide conversion helpers.

Rename __mask_msi/msix_irq to __pci_msi/msix_desc_mask so its clear
that they operated on msi_desc. Fixup the only user outside of
pci/msi.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
(cherry picked from commit 23ed8d57f3b87520e045ba0e3a2340638b31198a)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>

 Conflicts solution:
	arch/s390/pci/pci.c /* manual remove __msix_mask_irq */
	include/linux/msi.h /* manual remove __msix_mask_irq */
parent 7086f01e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment