mbox series

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

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

Message

Richard Henderson Dec. 16, 2020, 10:12 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.

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

Version 4 changes:
  * Rebase.


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           |  3 +-
 target/arm/pauth_helper.c      | 41 ++++++++++++++---
 tests/qtest/arm-cpu-features.c | 13 ++++++
 7 files changed, 213 insertions(+), 28 deletions(-)

-- 
2.25.1