mbox series

[v2,0/3] target/arm: Implement an IMPDEF pauth algorithm

Message ID 20200813200243.3036772-1-richard.henderson@linaro.org
Headers show
Series target/arm: Implement an IMPDEF pauth algorithm | expand

Message

Richard Henderson Aug. 13, 2020, 8:02 p.m. UTC
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.


r~


Richard Henderson (3):
  target/arm: Add cpu properties to control pauth
  target/arm: Implement an IMPDEF pauth algorithm
  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 +++++++++++++++++---
 6 files changed, 199 insertions(+), 27 deletions(-)

-- 
2.25.1