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

From: Pratyush Anand
Date: Wed Jul 16 2014 - 23:32:54 EST


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@xxxxxx>
> Acked-by: Mohit Kumar <mohit.kumar@xxxxxx>
> Acked-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
>

Reviewed-by: Pratyush Anand <pratyush.anand@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/