]> git.proxmox.com Git - mirror_qemu.git/commit - default-configs/arm-softmmu.mak
hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection Controller
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jun 2018 12:28:39 +0000 (13:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jun 2018 12:28:39 +0000 (13:28 +0100)
commit344f4b1581f3d629954a1623736677827a0af750
tree68704f1435c601484de269b672c6443e7407b7c6
parenteb24d4d38e0e177b2ef8189a9930eeca9277f097
hw/misc/tz-mpc.c: Implement the Arm TrustZone Memory Protection Controller

Implement the Arm TrustZone Memory Protection Controller, which sits
in front of RAM and allows secure software to configure it to either
pass through or reject transactions.

We implement the MPC as a QEMU IOMMU, which will direct transactions
either through to the devices and memory behind it or to a special
"never works" AddressSpace if they are blocked.

This initial commit implements the skeleton of the device:
 * it always permits accesses
 * it doesn't implement most of the registers
 * it doesn't implement the interrupt or other behaviour
   for blocked transactions

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20180620132032.28865-2-peter.maydell@linaro.org
MAINTAINERS
default-configs/arm-softmmu.mak
hw/misc/Makefile.objs
hw/misc/trace-events
hw/misc/tz-mpc.c [new file with mode: 0644]
include/hw/misc/tz-mpc.h [new file with mode: 0644]