[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH 08/20] target/arm: Make FAULTMASK reg
From: |
Richard Henderson |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH 08/20] target/arm: Make FAULTMASK register banked for v8M |
Date: |
Tue, 29 Aug 2017 08:41:56 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 08/22/2017 08:08 AM, Peter Maydell wrote:
> Make the FAULTMASK register banked if v8M security extensions are enabled.
>
> Note that we do not yet implement the functionality of the new
> AIRCR.PRIS bit (which allows the effect of the NS copy of FAULTMASK to
> be restricted).
>
> This patch includes the code to determine for v8M which copy
> of FAULTMASK should be updated on exception exit; further
> changes will be required to the exception exit code in general
> to support v8M, so this is just a small piece of that.
>
> The v8M ARM ARM introduces a notation where individual paragraphs
> are labelled with R (for rule) or I (for information) followed
> by a random group of subscript letters. In comments where we want
> to refer to a particular part of the manual we use this convention,
> which should be more stable across document revisions than using
> section or page numbers.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> target/arm/cpu.h | 14 ++++++++++++--
> hw/intc/armv7m_nvic.c | 9 ++++++++-
> target/arm/helper.c | 20 ++++++++++++++++----
> target/arm/machine.c | 5 +++--
> 4 files changed, 39 insertions(+), 9 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [Qemu-arm] [PATCH 00/20] first steps towards v8M support, Peter Maydell, 2017/08/22
- [Qemu-arm] [PATCH 07/20] target/arm: Make PRIMASK register banked for v8M, Peter Maydell, 2017/08/22
- [Qemu-arm] [PATCH 08/20] target/arm: Make FAULTMASK register banked for v8M, Peter Maydell, 2017/08/22
- Re: [Qemu-arm] [Qemu-devel] [PATCH 08/20] target/arm: Make FAULTMASK register banked for v8M,
Richard Henderson <=
- [Qemu-arm] [PATCH 04/20] target/arm: Register second AddressSpace for secure v8M CPUs, Peter Maydell, 2017/08/22
- [Qemu-arm] [PATCH 13/20] target/arm: Make MPU_RBAR, MPU_RLAR banked for v8M, Peter Maydell, 2017/08/22
- [Qemu-arm] [PATCH 15/20] target/arm: Make MPU_CTRL register banked for v8M, Peter Maydell, 2017/08/22
- [Qemu-arm] [PATCH 02/20] target/arm: Implement new PMSAv8 behaviour, Peter Maydell, 2017/08/22
- [Qemu-arm] [PATCH 12/20] target/arm: Make MPU_MAIR0, MPU_MAIR1 registers banked for v8M, Peter Maydell, 2017/08/22