when will irq parameter in struct pci_dev be used

Arnd Bergmann arnd at arndb.de
Tue Dec 1 01:48:32 PST 2015


On Tuesday 01 December 2015 05:30:45 bharat kumar gogada wrote:
> Hi, In arm64 when will the 'irq' parameter in struct pci_dev will be used in
> kernel, how it will be used in legacy interrupts and how it will be used in
> MSI interrupts, when we have MSI domains.

The number is initialized with whatever legacy interrupt you list in
the interrupt-map property of the PCI host device node for this device,
and drivers are supposed to use it from there.

For MSI, see Documentation/PCI/MSI-HOWTO.txt

	Arnd



More information about the linux-arm-kernel mailing list