qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/4] target-arm: Implement missing EL3 (and EL2) reg


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 0/4] target-arm: Implement missing EL3 (and EL2) registers
Date: Thu, 30 Jul 2015 19:36:34 +0100

This series adds a handful of EL3 system registers that
we were missing. It also includes the EL2 flavours
where there were obvious easy parallels. I think this
means we now have all the EL3 sysregs we care about.
(A previous series added missing address translation
operations; I still have to do the missing TLB ops.)

None of these registers are exciting; they're all either
reads-as-written or RAZ/WI.

A note for people who care about EL2: I notice that a
lot of AArch32 EL2 registers have the access permission
pattern of "accessible from EL2(NS) and from EL3 if
SCR.NS==1, but traps if accessed from EL3 if SCR.NS==0".
We don't implement this wrinkle (we won't trap the
erroneous EL3 access). This is true of the EL2 regs I
add here, but then it's true of all our existing ones...

Peter Maydell (4):
  target-arm: Add missing MAIR_EL3 and TPIDR_EL3 registers
  target-arm: Implement missing AMAIR registers
  target-arm: Implement missing AFSR registers
  target-arm: Implement missing ACTLR registers

 target-arm/helper.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 68 insertions(+), 6 deletions(-)

-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]