[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190213164112.GW5720@atomide.com>
Date: Wed, 13 Feb 2019 08:41:12 -0800
From: Tony Lindgren <tony@...mide.com>
To: Lokesh Vutla <lokeshvutla@...com>
Cc: marc.zyngier@....com, Nishanth Menon <nm@...com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Rob Herring <robh+dt@...nel.org>, tglx@...utronix.de,
jason@...edaemon.net,
Linux ARM Mailing List <linux-arm-kernel@...ts.infradead.org>,
linux-kernel@...r.kernel.org,
Device Tree Mailing List <devicetree@...r.kernel.org>,
Sekhar Nori <nsekhar@...com>, Tero Kristo <t-kristo@...com>,
Peter Ujfalusi <peter.ujfalusi@...com>
Subject: Re: [PATCH v5 09/10] soc: ti: Add MSI domain support for K3
Interrupt Aggregator
* Lokesh Vutla <lokeshvutla@...com> [190212 07:43]:
> With the system coprocessor managing the range allocation of the
> inputs to Interrupt Aggregator, it is difficult to represent
> the device IRQs from DT.
>
> The suggestion is to use MSI in such cases where devices wants
> to allocate and group interrupts dynamically.
>
> Create a MSI domain bus layer that allocates and frees MSIs for
> a device.
>
> APIs that are implemented are:
> - inta_msi_create_irq_domain() that creates a MSI domain
> - inta_msi_domain_alloc_irqs() that creates MSIs for the
> specified device and source indexes.
> - inta_msi_domain_free_irqs() frees the grouped irqs.
Can you please describe what all code will be calling these
functions?
If the callers are limited to drivers/soc/ti, then you
can can maybe make it local and get rid of the exported
custom functions as it's all built-in anyways.
Or does the dma ring accelerator for example need to call
these?
If various subsystems will be calling these I'd assume
we'd have some generic API.. Marc, any comments on that?
Regards,
Tony
Powered by blists - more mailing lists