Skip to content

hw/arm: Explicit number of GIC external IRQs for Cortex A9/A15 MPCore

Philippe Mathieu-Daudé qemu-arm qemu-devel 2 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 9 repliesApplied
  2. v18 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Remove generic comments (Peter)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8hw/arm/exynos4210: Replace magic 32 by proper 'GIC_INTERNAL' definitionhw/arm/exynos4210.c+4 -21 reply
2/8hw/arm/exynos4210: Specify explicitly the GIC has 64 external IRQshw/arm/exynos4210.c+4 -01 reply
3/8hw/arm/realview: Specify explicitly the GIC has 64 external IRQshw/arm/realview.c+9 -21 reply
4/8hw/arm/xilinx_zynq: Replace IRQ_OFFSET -> GIC_INTERNALhw/arm/xilinx_zynq.c+16 -181 reply
5/8hw/arm/xilinx_zynq: Specify explicitly the GIC has 64 external IRQshw/arm/xilinx_zynq.c+6 -31 reply
6/8hw/arm/vexpress: Specify explicitly the GIC has 64 external IRQshw/arm/vexpress.c+5 -21 reply
7/8hw/arm/highbank: Specify explicitly the GIC has 128 external IRQshw/arm/highbank.c+4 -41 reply
8/8hw/cpu/arm_mpcore: Remove default values for GIC external IRQshw/cpu/a15mpcore.c hw/cpu/a9mpcore.c+24 -121 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellRichard Henderson
1/8R-b
2/8R-b
3/8R-b
4/8R-b R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] hw/arm: Explicit number of GIC external IRQs for Cortex A9/A15 MPCore

Some boards based on Cortex-A9MP / Cortex-A15MP do not explicit the number of external GIC IRQs, using some (implicit) default value, not always trivial to figure out. Change that by removing the default value, requiring MPCore objects to be created with the "num-irq" set.

Since v1:
- Remove generic comments (Peter)

Philippe Mathieu-Daudé (8):
hw/arm/exynos4210: Replace magic 32 by proper 'GIC_INTERNAL'
definition
hw/arm/exynos4210: Specify explicitly the GIC has 64 external IRQs hw/arm/realview: Specify explicitly the GIC has 64 external IRQs hw/arm/xilinx_zynq: Replace IRQ_OFFSET -> GIC_INTERNAL hw/arm/xilinx_zynq: Specify explicitly the GIC has 64 external IRQs hw/arm/vexpress: Specify explicitly the GIC has 64 external IRQs hw/arm/highbank: Specify explicitly the GIC has 128 external IRQs hw/cpu/arm_mpcore: Remove default values for GIC external IRQs

 hw/arm/exynos4210.c  | 10 ++++++++--
 hw/arm/highbank.c    |  8 ++++----
 hw/arm/realview.c    | 11 +++++++++--
 hw/arm/vexpress.c    |  7 +++++--
 hw/arm/xilinx_zynq.c | 43 ++++++++++++++++++++++---------------------
 hw/cpu/a15mpcore.c   | 18 ++++++++++++------
 hw/cpu/a9mpcore.c    | 18 ++++++++++++------
 7 files changed, 72 insertions(+), 43 deletions(-)
Signature · 1 line
2.47.1