genirq/msi: Move MSI sysfs handling from PCI to MSI core
authorBarry Song <song.bao.hua@hisilicon.com>
Fri, 13 Aug 2021 03:56:27 +0000 (15:56 +1200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 24 Aug 2021 07:16:20 +0000 (09:16 +0200)
commit2f170814bdd26289e9daaa4ae359290f854e5dcf
treeb71f8e9a56f635cd8c35265fbd81ee7cbc61db37
parent88ffe2d0a55a165e55cedad1693f239d47e3e17e
genirq/msi: Move MSI sysfs handling from PCI to MSI core

Move PCI's MSI sysfs code to the irq core so that other busses such as
platform can reuse it.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210813035628.6844-2-21cnbao@gmail.com
drivers/pci/msi.c
include/linux/msi.h
kernel/irq/msi.c