* Lokesh Vutla <lokeshvu...@ti.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