qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: mark.rutland@arm.com, peter.maydell@linaro.org,
	drjones@redhat.com, alex.bennee@linaro.org
Subject: [PATCH v3 0/3] target/arm: Implement an IMPDEF pauth algorithm
Date: Fri, 14 Aug 2020 14:39:35 -0700	[thread overview]
Message-ID: <20200814213938.369628-1-richard.henderson@linaro.org> (raw)

The architected pauth algorithm is quite slow without
hardware support, and boot times for kernels that enable
use of the feature have been significantly impacted.

Version 1 blurb at
  https://lists.nongnu.org/archive/html/qemu-devel/2020-08/msg02172.html
which contains larger study of the tradeoffs.

Version 2 changes:
  * Use boolean properties, for qmp_query_cpu_model_expansion (drjones).
  * Move XXH64 implementation to xxhash.h (ajb).
  * Include a small cleanup to parsing the "sve" property
    that I noticed along the way.

Version 3 changes:
  * Swap order of patches (drjones).
  * Add properties test case (drjones).


r~

Richard Henderson (3):
  target/arm: Implement an IMPDEF pauth algorithm
  target/arm: Add cpu properties to control pauth
  target/arm: Use object_property_add_bool for "sve" property

 include/qemu/xxhash.h          | 82 ++++++++++++++++++++++++++++++++++
 target/arm/cpu.h               | 25 +++++++++--
 target/arm/cpu.c               | 13 ++++++
 target/arm/cpu64.c             | 64 ++++++++++++++++++--------
 target/arm/monitor.c           |  1 +
 target/arm/pauth_helper.c      | 41 ++++++++++++++---
 tests/qtest/arm-cpu-features.c | 13 ++++++
 7 files changed, 212 insertions(+), 27 deletions(-)

-- 
2.25.1



             reply	other threads:[~2020-08-15 16:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-14 21:39 Richard Henderson [this message]
2020-08-14 21:39 ` [PATCH v3 1/3] target/arm: Implement an IMPDEF pauth algorithm Richard Henderson
2020-08-14 21:39 ` [PATCH v3 2/3] target/arm: Add cpu properties to control pauth Richard Henderson
2020-08-14 21:39 ` [PATCH v3 3/3] target/arm: Use object_property_add_bool for "sve" property Richard Henderson
2020-10-18 18:26 ` [PATCH v3 0/3] target/arm: Implement an IMPDEF pauth algorithm Richard Henderson
2020-10-26 20:35   ` Peter Maydell
2020-12-16 22:08     ` Richard Henderson
2020-10-19 14:28 ` Mark Rutland

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=20200814213938.369628-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=drjones@redhat.com \
    --cc=mark.rutland@arm.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).