mbox series

[v2,0/3] target/arm: Add support for FEAT_DIT, Data Independent Timing

Message ID 20210122044537.1823-1-rebecca@nuviainc.com (mailing list archive)
Headers show
Series target/arm: Add support for FEAT_DIT, Data Independent Timing | expand

Message

Rebecca Cran Jan. 22, 2021, 4:45 a.m. UTC
As suggested in https://www.mail-archive.com/qemu-devel@nongnu.org/msg767057.html
this second patch contains code to move PSTATE_SS from uncached_cpsr to 
env->pstate.

Being fairly new to both aarch64 and qemu development I hope I'm on the
right track, but I suspect my implementation is incomplete.

Rebecca Cran (3):
  target/arm: Remove PSTATE_SS from cpsr and move it into env->pstate.
  target/arm: Add support for FEAT_DIT, Data Independent Timing
  target/arm: Set ID_AA64PFR0.DIT and ID_PFR0.DIT to 1 for "max" AA64
    CPU

 target/arm/cpu.h           | 12 +++++++++
 target/arm/cpu64.c         |  5 ++++
 target/arm/helper-a64.c    |  4 +--
 target/arm/helper.c        | 26 ++++++++++++++++++--
 target/arm/internals.h     |  6 +++++
 target/arm/op_helper.c     |  9 +------
 target/arm/translate-a64.c | 12 +++++++++
 7 files changed, 61 insertions(+), 13 deletions(-)