Re: [Patch] export irq_set_msi_desc

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

 



On Thu, 9 Nov 2017 10:42:06 +0530
subrahmanya l <l.subrahmanya@xxxxxxxxxxxxxx> wrote:

> Christoph,
> 
> Xilinx MSI driver uses it.
> 
> file path: https://github.com/Xilinx/linux-xlnx/blob/master/drivers/pci/host/pcie-xilinx.c#L286
> 
> I used the same driver as reference to write another Rootport driver
> which needs it too.

You shouldn't need this at all. The driver you are looking at is using
a deprecated API, and you should implement the MSI part of your driver
using the generic MSI layer which takes care of this and shouldn't
require exporting this function.

There is a number of drivers in the tree that have been converted to
generic MSI, such as pcie-tango.c for example.

Thanks,

	M.
-- 
Without deviation from the norm, progress is not possible.



[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