Thread (13 messages) 13 messages, 3 authors, 2014-07-17

[PATCH v5 2/5] PCI: designware: refactor MSI code to work with v3.65 dw hardware

From: Pratyush Anand <hidden>
Date: 2014-07-17 03:32:50
Also in: linux-pci, lkml

On Thu, Jul 17, 2014 at 12:38:03AM +0800, Murali Karicheri wrote:
Keystone PCI controller is based on v3.65 version of the DW
PCI h/w that implements MSI controller registers in application
space compared to the newer version. This requires updates to
the DW core API to support the PCI controller driver based on
this old DW hardware. Add msi_irq_set()/clear() API functions to
allow Set/Clear MSI IRQ enable bit in the application register.
Also the old h/w uses MSI_IRQ register in application register
space to raise MSI IRQ to the RC from EP. Current code uses the
standard mechanism as per PCI spec. So add another API get_msi_data()
to get the address of this register so that common code can be
re-used on old h/w.

Signed-off-by: Murali Karicheri <redacted>
Acked-by: Mohit Kumar <redacted>
Acked-by: Jingoo Han <redacted>
Acked-by: Santosh Shilimkar <redacted>
Reviewed-by: Pratyush Anand <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help