[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/6] hw/arm: zynqmp: Add CRF and APU control to support PSCI
From: |
Edgar E. Iglesias |
Subject: |
[PATCH v2 0/6] hw/arm: zynqmp: Add CRF and APU control to support PSCI |
Date: |
Thu, 3 Feb 2022 15:01:35 +0100 |
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
This adds the necessary modeling to support some of our firmware
tests at EL3 implementing PSCI (TBM). These are the test-cases
that were previously relying on QEMU's builtin PSCI emulation.
I've only tested this on top of Peter's recent PSCI emulation fixes.
Cheers,
Edgar
ChangeLog:
v1 -> v2:
* crf: Change APU_MAX_CPU to CRF_MAX_CPU
* crf: Remove empty interfaces
* crf: Add include guards
* apu-ctrl: Change NUM_CPUS to APU_MAX_CPU
* apu-ctrl: Fix indentation
* apu-ctrl: Remove empty interfaces
* apu-ctrl: Add include guards
* xlnx-zynqmp: Add comment clarifying SER/DESerializer
Edgar E. Iglesias (6):
hw/arm/xlnx-zynqmp: Add an unimplemented SERDES area
target/arm: Make rvbar settable after realize
hw/misc: Add a model of the Xilinx ZynqMP CRF
hw/arm/xlnx-zynqmp: Connect the ZynqMP CRF
hw/misc: Add a model of the Xilinx ZynqMP APU Control
hw/arm/xlnx-zynqmp: Connect the ZynqMP APU Control
include/hw/arm/xlnx-zynqmp.h | 4 +
include/hw/misc/xlnx-zynqmp-apu-ctrl.h | 95 +++++++++
include/hw/misc/xlnx-zynqmp-crf.h | 213 ++++++++++++++++++++
hw/arm/xlnx-zynqmp.c | 46 ++++-
hw/misc/xlnx-zynqmp-apu-ctrl.c | 254 +++++++++++++++++++++++
hw/misc/xlnx-zynqmp-crf.c | 267 +++++++++++++++++++++++++
target/arm/cpu.c | 7 +-
hw/misc/meson.build | 2 +
8 files changed, 882 insertions(+), 6 deletions(-)
create mode 100644 include/hw/misc/xlnx-zynqmp-apu-ctrl.h
create mode 100644 include/hw/misc/xlnx-zynqmp-crf.h
create mode 100644 hw/misc/xlnx-zynqmp-apu-ctrl.c
create mode 100644 hw/misc/xlnx-zynqmp-crf.c
--
2.25.1
- [PATCH v2 0/6] hw/arm: zynqmp: Add CRF and APU control to support PSCI,
Edgar E. Iglesias <=
- [PATCH v2 1/6] hw/arm/xlnx-zynqmp: Add an unimplemented SERDES area, Edgar E. Iglesias, 2022/02/03
- [PATCH v2 4/6] hw/arm/xlnx-zynqmp: Connect the ZynqMP CRF, Edgar E. Iglesias, 2022/02/03
- [PATCH v2 2/6] target/arm: Make rvbar settable after realize, Edgar E. Iglesias, 2022/02/03
- [PATCH v2 3/6] hw/misc: Add a model of the Xilinx ZynqMP CRF, Edgar E. Iglesias, 2022/02/03
- [PATCH v2 5/6] hw/misc: Add a model of the Xilinx ZynqMP APU Control, Edgar E. Iglesias, 2022/02/03