Support for multiple MSI with ARM platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am using a PCIE device having MSI capability. It sends 4 different MSI vecotrs to host controller. 
The host controller which I am using is based on ARM platform( SPEAr).

Currently, arch_setup_msi_irqs function (which may be replaced by arch specific code) is not defined
for ARM. So my code used one default definition in driver/pci/msi.c But this code does not support 
multiple MSI.

what would be the best way to do it:

1. add following defines in arch/arm/include/asm/pci.h

#define arch_setup_msi_irqs arch_setup_msi_irqs

and then define this function in our mach-xxxx specific directory.

or.

2. add following defines in arch/arm/include/asm/pci.h

#define arch_setup_msi_irqs arch_setup_msi_irqs

and then define this function in arch/arm/kernel/msi.c.
Now call some mach sepicif function from this routine.

or.
3 any other better solution.

Regards
Pratyush



--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux