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

Pratyush Anand pratyush.anand at st.com
Wed Jul 16 20:31:32 PDT 2014


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 <m-karicheri2 at ti.com>
> Acked-by: Mohit Kumar <mohit.kumar at st.com>
> Acked-by: Jingoo Han <jg1.han at samsung.com>
> Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
> 

Reviewed-by: Pratyush Anand <pratyush.anand at st.com>



More information about the linux-arm-kernel mailing list