Message ID | 20240130152548.17855-1-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | hw/arm/xilinx_zynq: Wire FIQ between CPU <> GIC | expand |
On Tue, 30 Jan 2024 at 15:25, Philippe Mathieu-Daudé <philmd@linaro.org> wrote: > > Similarly to commits dadbb58f59..5ae79fe825 for other ARM boards, > connect FIQ output of the GIC CPU interfaces to the CPU. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > hw/arm/xilinx_zynq.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c > index 66d0de139f..ffad058107 100644 > --- a/hw/arm/xilinx_zynq.c > +++ b/hw/arm/xilinx_zynq.c > @@ -246,6 +246,8 @@ static void zynq_init(MachineState *machine) > sysbus_mmio_map(busdev, 0, MPCORE_PERIPHBASE); > sysbus_connect_irq(busdev, 0, > qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_IRQ)); > + sysbus_connect_irq(busdev, 1, > + qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_FIQ)); > > for (n = 0; n < 64; n++) { > pic[n] = qdev_get_gpio_in(dev, n); > -- Applied to target-arm.next, thanks. -- PMM
diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index 66d0de139f..ffad058107 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -246,6 +246,8 @@ static void zynq_init(MachineState *machine) sysbus_mmio_map(busdev, 0, MPCORE_PERIPHBASE); sysbus_connect_irq(busdev, 0, qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_IRQ)); + sysbus_connect_irq(busdev, 1, + qdev_get_gpio_in(DEVICE(cpu), ARM_CPU_FIQ)); for (n = 0; n < 64; n++) { pic[n] = qdev_get_gpio_in(dev, n);
Similarly to commits dadbb58f59..5ae79fe825 for other ARM boards, connect FIQ output of the GIC CPU interfaces to the CPU. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/arm/xilinx_zynq.c | 2 ++ 1 file changed, 2 insertions(+)