mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Jake Oshins](/assets/img/avatar_default.png)
The Linux kernel already has the concept of IRQ domain, wherein a component can expose a set of IRQs which are managed by a particular interrupt controller chip or other subsystem. The PCI driver exposes the notion of an IRQ domain for Message-Signaled Interrupts (MSI) from PCI Express devices. This patch exposes the functions which are necessary for creating a MSI IRQ domain within a module. [ tglx: Split it into x86 and core irq parts ] Signed-off-by: Jake Oshins <jakeo@microsoft.com> Cc: gregkh@linuxfoundation.org Cc: kys@microsoft.com Cc: devel@linuxdriverproject.org Cc: olaf@aepfle.de Cc: apw@canonical.com Cc: vkuznets@redhat.com Cc: haiyangz@microsoft.com Cc: marc.zyngier@arm.com Cc: bhelgaas@google.com Link: http://lkml.kernel.org/r/1449769983-12948-4-git-send-email-jakeo@microsoft.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 lines
353 B
C
13 lines
353 B
C
#ifndef _ASM_X86_MSI_H
|
|
#define _ASM_X86_MSI_H
|
|
#include <asm/hw_irq.h>
|
|
#include <asm/irqdomain.h>
|
|
|
|
typedef struct irq_alloc_info msi_alloc_info_t;
|
|
|
|
int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
|
|
msi_alloc_info_t *arg);
|
|
|
|
void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
|
|
|
|
#endif /* _ASM_X86_MSI_H */
|