[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 04/19] target/arm: Define an IDAU interface
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 04/19] target/arm: Define an IDAU interface |
Date: |
Tue, 27 Feb 2018 11:32:37 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 02/20/2018 10:03 AM, Peter Maydell wrote:
> In v8M, the Implementation Defined Attribution Unit (IDAU) is
> a small piece of hardware typically implemented in the SoC
> which provides board or SoC specific security attribution
> information for each address that the CPU performs MPU/SAU
> checks on. For QEMU, we model this with a QOM interface which
> is implemented by the board or SoC object and connected to
> the CPU using a link property.
>
> This commit defines the new interface class, adds the link
> property to the CPU object, and makes the SAU checking
> code call the IDAU interface if one is present.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> An example of an object that implements the IDAU can be
> found in the later patch "hw/arm/iotkit: Model Arm IOT Kit".
> ---
> target/arm/cpu.h | 3 +++
> target/arm/idau.h | 61
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
> target/arm/cpu.c | 15 +++++++++++++
> target/arm/helper.c | 28 +++++++++++++++++++++---
> 4 files changed, 104 insertions(+), 3 deletions(-)
> create mode 100644 target/arm/idau.h
Reviewed-by: Richard Henderson <address@hidden>
r~
- Re: [Qemu-devel] [PATCH 13/19] hw/misc/mps2-fpgaio: FPGA control block for MPS2 AN505, (continued)
- [Qemu-devel] [PATCH 06/19] target/arm: Define init-svtor property for the reset secure VTOR value, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 14/19] hw/misc/tz-ppc: Model TrustZone peripheral protection controller, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 16/19] hw/misc/iotkit-secctl: Add handling for PPCs, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 02/19] hw/arm/boot: Honour CPU's address space for image loads, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 04/19] target/arm: Define an IDAU interface, Peter Maydell, 2018/02/20
- Re: [Qemu-devel] [PATCH 04/19] target/arm: Define an IDAU interface,
Richard Henderson <=
- [Qemu-devel] [PATCH 07/19] armv7m: Forward init-svtor property to CPU object, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 12/19] hw/core/split-irq: Device that splits IRQ lines, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 19/19] mps2-an505: New board model: MPS2 with AN505 Cortex-M33 FPGA image, Peter Maydell, 2018/02/20
- [Qemu-devel] [PATCH 18/19] hw/arm/iotkit: Model Arm IOT Kit, Peter Maydell, 2018/02/20
- Re: [Qemu-devel] [PATCH 00/19] Add Cortex-M33 and mps2-an505 board model, no-reply, 2018/02/22