Re: Why two irq chips for MSI

2018-03-21 Thread Marc Zyngier
On 21/03/18 17:38, valmiki wrote: >> On 21/03/18 17:12, valmiki wrote: >>> Hi, >>> >>> In most of the RP drivers, why two irq chips are being used for MSI ? >>> >>> One at irq_domain_set_info (which uses irq_compose_msi_msg and >>> irq_set_affinity methods) and another being registered with struct

Re: Why two irq chips for MSI

2018-03-21 Thread valmiki
On 21/03/18 17:12, valmiki wrote: Hi, In most of the RP drivers, why two irq chips are being used for MSI ? One at irq_domain_set_info (which uses irq_compose_msi_msg and irq_set_affinity methods) and another being registered with struct msi_domain_info (which uses irq_mask/irq_unmask methods).

Re: Why two irq chips for MSI

2018-03-21 Thread Marc Zyngier
On 21/03/18 17:12, valmiki wrote: > Hi, > > In most of the RP drivers, why two irq chips are being used for MSI ? > > One at irq_domain_set_info (which uses irq_compose_msi_msg and > irq_set_affinity methods) and another being registered with struct > msi_domain_info (which uses irq_mask/irq_un

Why two irq chips for MSI

2018-03-21 Thread valmiki
Hi, In most of the RP drivers, why two irq chips are being used for MSI ? One at irq_domain_set_info (which uses irq_compose_msi_msg and irq_set_affinity methods) and another being registered with struct msi_domain_info (which uses irq_mask/irq_unmask methods). When will each chip be used w.