[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/8] arm: implement TZ MPC
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH v3 0/8] arm: implement TZ MPC |
Date: |
Wed, 20 Jun 2018 14:20:24 +0100 |
Hi; this is v3 of my iommu patchset. All the IOMMU stuff is now
in master, so the remaining part is just implementing and using
the Trustzone Memory Protection Controller in the mps2-an505.
Changes from v2 to v3 (all fairly minor):
* add new variable to clarify sense of LUT bits
* only autoinc the IDX register if CTRL.AUTOINC is set
* NS accesses should see IDregs only
(The datasheet is unclear on the exact behaviour on an
NS access to a non-ID register, so I've made a best guess
and had them RAZ/WI. This behaviour is not reachable for
the mps2-an505 anyway, so it doesn't really matter.)
Patches still needing review: 2, 4, 5
thanks
-- PMM
Peter Maydell (8):
hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection
Controller
hw/misc/tz-mpc.c: Implement registers
hw/misc/tz-mpc.c: Implement correct blocked-access behaviour
hw/misc/tz_mpc.c: Honour the BLK_LUT settings in translate
hw/misc/iotkit-secctl.c: Implement SECMPCINTSTATUS
hw/arm/iotkit: Instantiate MPC
hw/arm/iotkit: Wire up MPC interrupt lines
hw/arm/mps2-tz.c: Instantiate MPCs
hw/misc/Makefile.objs | 1 +
include/hw/arm/iotkit.h | 8 +
include/hw/misc/iotkit-secctl.h | 8 +
include/hw/misc/tz-mpc.h | 80 ++++
hw/arm/iotkit.c | 112 +++++-
hw/arm/mps2-tz.c | 71 ++--
hw/misc/iotkit-secctl.c | 38 +-
hw/misc/tz-mpc.c | 628 ++++++++++++++++++++++++++++++++
MAINTAINERS | 2 +
default-configs/arm-softmmu.mak | 1 +
hw/misc/trace-events | 8 +
11 files changed, 917 insertions(+), 40 deletions(-)
create mode 100644 include/hw/misc/tz-mpc.h
create mode 100644 hw/misc/tz-mpc.c
--
2.17.1
- [Qemu-devel] [PATCH v3 0/8] arm: implement TZ MPC,
Peter Maydell <=
- [Qemu-devel] [PATCH v3 2/8] hw/misc/tz-mpc.c: Implement registers, Peter Maydell, 2018/06/20
- [Qemu-devel] [PATCH v3 4/8] hw/misc/tz_mpc.c: Honour the BLK_LUT settings in translate, Peter Maydell, 2018/06/20
- [Qemu-devel] [PATCH v3 5/8] hw/misc/iotkit-secctl.c: Implement SECMPCINTSTATUS, Peter Maydell, 2018/06/20
- [Qemu-devel] [PATCH v3 1/8] hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection Controller, Peter Maydell, 2018/06/20
- [Qemu-devel] [PATCH v3 3/8] hw/misc/tz-mpc.c: Implement correct blocked-access behaviour, Peter Maydell, 2018/06/20
- [Qemu-devel] [PATCH v3 6/8] hw/arm/iotkit: Instantiate MPC, Peter Maydell, 2018/06/20
- [Qemu-devel] [PATCH v3 7/8] hw/arm/iotkit: Wire up MPC interrupt lines, Peter Maydell, 2018/06/20