[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 03/10] target/arm: Implement RAZ/WI HACTLR2
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-arm] [PATCH 03/10] target/arm: Implement RAZ/WI HACTLR2 |
Date: |
Tue, 14 Aug 2018 16:44:53 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
On Tue, Aug 14, 2018 at 01:42:47PM +0100, Peter Maydell wrote:
> The AArch32 HACTLR2 register maps to bits [63:32] of ACTLR_EL2.
> We implement ACTLR_EL2 as RAZ/WI, so make HACTLR2 also RAZ/WI.
> (We put the regdef next to ACTLR_EL2 as a reminder in case we
> ever make ACTLR_EL2 something other than RAZ/WI).
>
> Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
> ---
> target/arm/helper.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/target/arm/helper.c b/target/arm/helper.c
> index 466c8ae492e..14fd78f587a 100644
> --- a/target/arm/helper.c
> +++ b/target/arm/helper.c
> @@ -5436,6 +5436,11 @@ void register_cp_regs_for_features(ARMCPU *cpu)
> .opc0 = 3, .opc1 = 4, .crn = 1, .crm = 0, .opc2 = 1,
> .access = PL2_RW, .type = ARM_CP_CONST,
> .resetvalue = 0 },
> + /* HACTLR2 maps to ACTLR_EL2[63:32] */
> + { .name = "HACTLR2", .state = ARM_CP_STATE_AA32,
> + .cp = 15, .opc1 = 4, .crn = 1, .crm = 0, .opc2 = 3,
> + .access = PL2_RW, .type = ARM_CP_CONST,
> + .resetvalue = 0 },
> { .name = "ACTLR_EL3", .state = ARM_CP_STATE_AA64,
> .opc0 = 3, .opc1 = 6, .crn = 1, .crm = 0, .opc2 = 1,
> .access = PL3_RW, .type = ARM_CP_CONST,
> --
> 2.18.0
>
- [Qemu-arm] [PATCH 06/10] target/arm: Implement AArch32 Hyp FARs, (continued)
- [Qemu-arm] [PATCH 06/10] target/arm: Implement AArch32 Hyp FARs, Peter Maydell, 2018/08/14
- [Qemu-arm] [PATCH 07/10] target/arm: Implement ESR_EL2/HSR for AArch32 and no-EL2, Peter Maydell, 2018/08/14
- [Qemu-arm] [PATCH 08/10] target/arm: Permit accesses to ELR_Hyp from Hyp mode via MSR/MRS (banked), Peter Maydell, 2018/08/14
- [Qemu-arm] [PATCH 03/10] target/arm: Implement RAZ/WI HACTLR2, Peter Maydell, 2018/08/14
- [Qemu-arm] [PATCH 01/10] target/arm: Correct typo in HAMAIR1 regdef name, Peter Maydell, 2018/08/14
- [Qemu-arm] [PATCH 05/10] target/arm: Implement AArch32 HCR and HCR2, Peter Maydell, 2018/08/14
- [Qemu-arm] [PATCH 04/10] target/arm: Implement AArch32 HVBAR, Peter Maydell, 2018/08/14