Re: [PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-04-01 Thread Lorenzo Pieralisi
On Thu, Apr 01, 2021 at 11:38:19AM +0100, Marc Zyngier wrote: > On Thu, 01 Apr 2021 11:19:57 +0100, > Lorenzo Pieralisi wrote: > > > > On Tue, Mar 30, 2021 at 04:11:34PM +0100, Marc Zyngier wrote: > > > > [...] > > > > > +static void rcar_compose_msi_msg(struct irq_data *data, struct msi_msg

Re: [PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-04-01 Thread Marc Zyngier
On Thu, 01 Apr 2021 11:19:57 +0100, Lorenzo Pieralisi wrote: > > On Tue, Mar 30, 2021 at 04:11:34PM +0100, Marc Zyngier wrote: > > [...] > > > +static void rcar_compose_msi_msg(struct irq_data *data, struct msi_msg > > *msg) > > +{ > > + struct rcar_msi *msi =

Re: [PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-04-01 Thread Lorenzo Pieralisi
On Tue, Mar 30, 2021 at 04:11:34PM +0100, Marc Zyngier wrote: [...] > +static void rcar_compose_msi_msg(struct irq_data *data, struct msi_msg *msg) > +{ > + struct rcar_msi *msi = irq_data_get_irq_chip_data(data); > + unsigned long pa = virt_to_phys(msi); > > - hwirq =

[PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-03-30 Thread Marc Zyngier
In anticipation of the removal of the msi_controller structure, convert the Rcar host controller driver to MSI domains. We end-up with the usual two domain structure, the top one being a generic PCI/MSI domain, the bottom one being Rcar-specific and handling the actual HW interrupt allocation.