]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
PCI: designware-ep: Add generic function for raising MSI irq
authorNiklas Cassel <niklas.cassel@axis.com>
Tue, 19 Dec 2017 23:29:27 +0000 (00:29 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 21 Dec 2017 11:10:00 +0000 (11:10 +0000)
commit6f6d7873711c5721308386018a8404bc9a7ecd1d
tree6798d8e4ea9a578d0d8801884a190e920e97470f
parent9e7181199e1b623c94bda02a63728f62b00ea915
PCI: designware-ep: Add generic function for raising MSI irq

Add a generic function for raising MSI irqs that can be used by all
DWC based controllers.

Note that certain controllers, like DRA7xx, have a special convenience
register for raising MSI irqs that doesn't require you to explicitly map
the MSI address. Therefore, it is likely that certain drivers will
not use this generic function, even if they can.

Tested-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Joao Pinto <jpinto@synopsys.com>
drivers/pci/dwc/pcie-designware-ep.c
drivers/pci/dwc/pcie-designware.h