mbox series

[v1,0/4] hw/arm: versal: Correct number of IRQs in GIC setup

Message ID 20181129163655.20370-1-edgar.iglesias@gmail.com (mailing list archive)
Headers show
Series hw/arm: versal: Correct number of IRQs in GIC setup | expand

Message

Edgar E. Iglesias Nov. 29, 2018, 4:36 p.m. UTC
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

The Versal GIC has 192 IRQs not 256 as we previously had setup.
This series fixes the setup and moves the virtio-mmio nodes
to use other reserved interrupts.

Since we don't have 32 reserved lines, we also reduce the number of
virtio-mmio regions to 8 (we do have some more lines free but let's
leave some for future use).

Cheers,
Edgar

Edgar E. Iglesias (4):
  hw/arm: versal: Remove bogus virtio-mmio creation
  hw/arm: versal: Reduce number of virtio-mmio instances
  hw/arm: versal: Use IRQs 111 - 118 for virtio-mmio
  hw/arm: versal: Correct the nr of IRQs to 192

 hw/arm/xlnx-versal-virt.c    | 7 +++----
 include/hw/arm/xlnx-versal.h | 8 ++++----
 2 files changed, 7 insertions(+), 8 deletions(-)

Comments

Peter Maydell Dec. 3, 2018, 6:48 p.m. UTC | #1
On Thu, 29 Nov 2018 at 16:36, Edgar E. Iglesias
<edgar.iglesias@gmail.com> wrote:
>
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
>
> The Versal GIC has 192 IRQs not 256 as we previously had setup.
> This series fixes the setup and moves the virtio-mmio nodes
> to use other reserved interrupts.
>
> Since we don't have 32 reserved lines, we also reduce the number of
> virtio-mmio regions to 8 (we do have some more lines free but let's
> leave some for future use).
>
> Cheers,
> Edgar
>
> Edgar E. Iglesias (4):
>   hw/arm: versal: Remove bogus virtio-mmio creation
>   hw/arm: versal: Reduce number of virtio-mmio instances
>   hw/arm: versal: Use IRQs 111 - 118 for virtio-mmio
>   hw/arm: versal: Correct the nr of IRQs to 192

Applied to target-arm.next for 4.0, thanks.

-- PMM