OSDN Git Service

irqchip/ti-sci-inta: Add support for unmapped event handling
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 20 Oct 2020 07:32:43 +0000 (10:32 +0300)
committerMarc Zyngier <maz@kernel.org>
Sun, 1 Nov 2020 12:00:50 +0000 (12:00 +0000)
commitd95bdca75b3fb41bf185efe164e05aed820081a5
tree0ada27d370a1e2bfab1b57df9bb02a1a20371662
parentbb2bd7c7f3d0946acc2104db31df228d10f7b598
irqchip/ti-sci-inta: Add support for unmapped event handling

The DMA (BCDMA/PKTDMA and their rings/flows) events are under the INTA's
supervision as unmapped events in AM64.

In order to keep the current SW stack working, the INTA driver must replace
the dev_id with it's own when a request comes for BCDMA or PKTDMA
resources.

Implement parsing of the optional "ti,unmapped-event-sources" phandle array
to get the sci-dev-ids of the devices where the unmapped events originate.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201020073243.19255-3-peter.ujfalusi@ti.com
drivers/irqchip/irq-ti-sci-inta.c