All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rebecca Cran <rebecca@nuviainc.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Rebecca Cran <rebecca@nuviainc.com>,
	Richard Henderson <richard.henderson@linaro.org>
Subject: [PATCH v2 0/3] target/arm: Add support for FEAT_DIT, Data Independent Timing
Date: Thu, 21 Jan 2021 21:45:34 -0700	[thread overview]
Message-ID: <20210122044537.1823-1-rebecca@nuviainc.com> (raw)

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



             reply	other threads:[~2021-01-22  4:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22  4:45 Rebecca Cran [this message]
2021-01-22  4:45 ` [PATCH v2 1/3] target/arm: Remove PSTATE_SS from cpsr and move it into env->pstate Rebecca Cran
2021-01-22 21:03   ` Richard Henderson
2021-01-23  0:28     ` Rebecca Cran
2021-01-22  4:45 ` [PATCH v2 2/3] target/arm: Add support for FEAT_DIT, Data Independent Timing Rebecca Cran
2021-01-22 21:07   ` Richard Henderson
2021-01-22  4:45 ` [PATCH v2 3/3] target/arm: Set ID_AA64PFR0.DIT and ID_PFR0.DIT to 1 for "max" AA64 CPU Rebecca Cran
2021-01-22 21:06   ` Richard Henderson
2021-01-23  0:27     ` Rebecca Cran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210122044537.1823-1-rebecca@nuviainc.com \
    --to=rebecca@nuviainc.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.