# \[PATCHv3 04/11\] of: pci: add registry of MSI chips

- From: Thomas Petazzoni \<hidden\>
- Date: 2013-06-21 07:20:54 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/06/8649604
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/06/8649268/t.md

```text
Grant,

On Wed, 19 Jun 2013 18:56:12 +0200, Thomas Petazzoni wrote:
> This commit adds a very basic registry of msi_chip structures, so that
> an IRQ controller driver can register an msi_chip, and a PCIe host
> controller can find it, based on a 'struct device_node'.
> 
> Signed-off-by: Thomas Petazzoni <redacted>
> ---
>  drivers/of/of_pci.c    | 22 ++++++++++++++++++++++
>  include/linux/msi.h    |  2 ++
>  include/linux/of_pci.h |  4 ++++
>  3 files changed, 28 insertions(+)

Any comments about this idea? It is quite fundamental for this patch,
which requires a way of connecting PCI busses (handled by a PCI
driver) and a msi_chip (handled by an IRQ controller driver).

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
```
