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

Rebecca Cran posted 3 patches 4 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210122044537.1823-1-rebecca@nuviainc.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>
There is a newer version of this series
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(-)
[PATCH v2 0/3] target/arm: Add support for FEAT_DIT, Data Independent Timing
Posted by Rebecca Cran 4 years, 10 months ago
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(-)

-- 
2.26.2