Skip to content

Add the ZynqMP PMU and IPI

Alistair Francis qemu-arm qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest9 patches 3 repliesIn review
  2. v69 patches 8 repliesSuperseded
  3. v58 of 9 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v47 of 8 patches1 replyApplied
v37 of 8 patches5 repliesSuperseded
v26 patches4 repliesSuperseded

Changes in v7 from the cover letter

- Fix Phipippe's comments

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9microblaze: boot.c: Don't try to find NULL filehw/microblaze/boot.c+1 -10 replies
2/9xlnx-zynqmp-pmu: Initial commit of the ZynqMP PMUhw/microblaze/Makefile.objs hw/microblaze/xlnx-zynqmp-pmu.c+84 -00 replies
3/9xlnx-zynqmp-pmu: Add the CPU and memoryhw/microblaze/xlnx-zynqmp-pmu.c+68 -21 reply
4/9aarch64-softmmu.mak: Use an ARM specific configdefault-configs/aarch64-softmmu.mak hw/arm/Makefile.objs hw/display/Makefile.objs +1 more+4 -21 reply
5/9xlnx-pmu-iomod-intc: Add the PMU Interrupt controllerdefault-configs/microblaze-softmmu.mak hw/intc/Makefile.objs hw/intc/xlnx-pmu-iomod-intc.c +1 more+614 -00 replies
6/9xlnx-zynqmp-pmu: Connect the PMU interrupt controllerhw/microblaze/xlnx-zynqmp-pmu.c+24 -00 replies
7/9xlnx-zynqmp-ipi: Initial version of the Xilinx IPI devicehw/intc/Makefile.objs hw/intc/xlnx-zynqmp-ipi.c include/hw/intc/xlnx-zynqmp-ipi.h+435 -00 replies
8/9xlnx-zynqmp-pmu: Connect the IPI device to the PMUhw/microblaze/xlnx-zynqmp-pmu.c+31 -00 replies
9/9xlnx-zynqmp: Connect the IPI device to the ZynqMP SoChw/arm/xlnx-zynqmp.c include/hw/arm/xlnx-zynqmp.h+16 -01 reply

Reviews trailers per patch

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

PatchPhilippe Mathieu-DaudéEdgar E. IglesiasPeter Maydell
1/9R-b
2/9R-b
3/9R-b
4/9R-b R-b A-b
5/9R-b R-b
6/9R-b R-b
7/9R-b
8/9R-b
9/9R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [Qemu-arm] [PATCH v7 0/9] Add the ZynqMP PMU and IPI

This series adds the ZynqMP Power Management Unit (PMU) machine with basic functionality.

The machine only has the
- CPU
- Memory
- Interrupt controller
- IPI device

connected, but that is enough to run some of the ROM and firmware code on the machine

The series also adds the IPI device and connects it to the ZynqMP ARM side and the ZynqMP PMU. These IPI devices don't connect between the ARM and MicroBlaze instances though.

V7:
- Fix Phipippe's comments
V6:
- Pass initrd instead of kernel to microblaze_load_kernel()
V5:
- Fix clang makecheck error
- Rebase on master
V4:
- Rename the ZCU102 machine to just ZynqMP
- Rename the PMC SoC to "xlnx,zynqmp-pmu-soc"
- Move the IPI device to the machine instead of the SoC
V3:
- Add the interrupt controller
- Replace some of the error_fatals with errp
- Fix the PMU CPU name

Alistair Francis (9):
microblaze: boot.c: Don't try to find NULL file
xlnx-zynqmp-pmu: Initial commit of the ZynqMP PMU
xlnx-zynqmp-pmu: Add the CPU and memory aarch64-softmmu.mak: Use an ARM specific config
xlnx-pmu-iomod-intc: Add the PMU Interrupt controller
xlnx-zynqmp-pmu: Connect the PMU interrupt controller
xlnx-zynqmp-ipi: Initial version of the Xilinx IPI device
xlnx-zynqmp-pmu: Connect the IPI device to the PMU
xlnx-zynqmp: Connect the IPI device to the ZynqMP SoC

 default-configs/aarch64-softmmu.mak    |   1 +
 default-configs/microblaze-softmmu.mak |   1 +
 include/hw/arm/xlnx-zynqmp.h           |   2 +
 include/hw/intc/xlnx-pmu-iomod-intc.h  |  58 ++++
 include/hw/intc/xlnx-zynqmp-ipi.h      |  57 ++++
 hw/arm/xlnx-zynqmp.c                   |  14 +
 hw/intc/xlnx-pmu-iomod-intc.c          | 554 +++++++++++++++++++++++++++++++++
 hw/intc/xlnx-zynqmp-ipi.c              | 377 ++++++++++++++++++++++
 hw/microblaze/boot.c                   |   2 +-
 hw/microblaze/xlnx-zynqmp-pmu.c        | 204 ++++++++++++
 hw/arm/Makefile.objs                   |   2 +-
 hw/display/Makefile.objs               |   2 +-
 hw/dma/Makefile.objs                   |   1 +
 hw/intc/Makefile.objs                  |   2 +
 hw/microblaze/Makefile.objs            |   1 +
 15 files changed, 1275 insertions(+), 3 deletions(-)
 create mode 100644 include/hw/intc/xlnx-pmu-iomod-intc.h
 create mode 100644 include/hw/intc/xlnx-zynqmp-ipi.h
 create mode 100644 hw/intc/xlnx-pmu-iomod-intc.c
 create mode 100644 hw/intc/xlnx-zynqmp-ipi.c
 create mode 100644 hw/microblaze/xlnx-zynqmp-pmu.c
Signature · 1 line
2.14.1