Re: [RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-13 Thread Thomas Gleixner
On Thu, 13 Nov 2014, Marc Zyngier wrote: > On 12/11/14 14:46, Thomas Gleixner wrote: > > On Wed, 12 Nov 2014, Marc Zyngier wrote: > >> This patch introduces two optionnal fields to the msi_chip structure: > >> - a pointer to an irq domain, describing the MSI domain associated > >> with this msi_c

Re: [RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-13 Thread Marc Zyngier
Hi Thomas, On 12/11/14 14:46, Thomas Gleixner wrote: > On Wed, 12 Nov 2014, Marc Zyngier wrote: >> This patch introduces two optionnal fields to the msi_chip structure: >> - a pointer to an irq domain, describing the MSI domain associated >> with this msi_chip. To be populated with msi_create_ir

Re: [RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-12 Thread Jiang Liu
On 2014/11/12 22:46, Thomas Gleixner wrote: > On Wed, 12 Nov 2014, Marc Zyngier wrote: >> This patch introduces two optionnal fields to the msi_chip structure: >> - a pointer to an irq domain, describing the MSI domain associated >> with this msi_chip. To be populated with msi_create_irq_domain.

Re: [RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-12 Thread Thomas Gleixner
On Wed, 12 Nov 2014, Marc Zyngier wrote: > This patch introduces two optionnal fields to the msi_chip structure: > - a pointer to an irq domain, describing the MSI domain associated > with this msi_chip. To be populated with msi_create_irq_domain. > - a domain_alloc_irqs() callback that has the s

Re: [RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-12 Thread Marc Zyngier
Hi Jiang, On 09/11/14 15:10, Jiang Liu wrote: > Some interrupt controllers, such as DMAR/HPET/HT_IRQ, work almost in > the same as PCI MSI interrupt controller. And there some devices make > use of PCI MSI mechanism for non-PCI devices on ARm/ARM64 platforms. > > So this patches tries to split PC

[RFC Part4 v1 00/17] Refine support of non-PCI-compliant Message

2014-11-09 Thread Jiang Liu
Some interrupt controllers, such as DMAR/HPET/HT_IRQ, work almost in the same as PCI MSI interrupt controller. And there some devices make use of PCI MSI mechanism for non-PCI devices on ARm/ARM64 platforms. So this patches tries to split PCI MSI code into PCI dependent part and PCI independent pa