hw/arm/xlnx: Connect secondary CGEM IRQs
authorKinsey Moore <kinsey.moore@oarcorp.com>
Fri, 16 Jun 2023 14:38:03 +0000 (09:38 -0500)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Oct 2024 12:55:38 +0000 (13:55 +0100)
commit604b72dd3c393bf6a7cac59c3a74a2bec4673a80
treef5305421e1226dd793379126c63a66609ff77109
parente569d959336004be8e50547be381886ba8a6e3d0
hw/arm/xlnx: Connect secondary CGEM IRQs

The Cadence GEM peripherals as configured for Zynq MPSoC and Versal
platforms have two priority queues with separate interrupt sources for
each. If the interrupt source for the second priority queue is not
connected, they work in polling mode only. This change connects the
second interrupt source for platforms where it is available. This patch
has been tested using the lwIP stack with a Xilinx-supplied driver from
their embeddedsw repository.

Signed-off-by: Kinsey Moore <kinsey.moore@oarcorp.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xlnx-versal.c
hw/arm/xlnx-zynqmp.c
include/hw/arm/xlnx-versal.h
include/hw/arm/xlnx-zynqmp.h