mbox series

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

Message ID 20210111235740.462469-1-richard.henderson@linaro.org (mailing list archive)
Headers show
Series target/arm: Implement an IMPDEF pauth algorithm | expand

Message

Richard Henderson Jan. 11, 2021, 11:57 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 7 changes:
  * Fix rebase error (drjones).

Version 6 changes:
  * Rearrange xxhash64 (pmm).
  * Add documentation (pmm).
 
 
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

 docs/system/arm/cpu-features.rst | 21 +++++++
 include/qemu/xxhash.h            | 98 ++++++++++++++++++++++++++++++++
 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        | 27 +++++++--
 tests/qtest/arm-cpu-features.c   | 13 +++++
 8 files changed, 235 insertions(+), 27 deletions(-)

Comments

Peter Maydell Jan. 19, 2021, 10:37 a.m. UTC | #1
On Mon, 11 Jan 2021 at 23:57, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> 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 7 changes:
>   * Fix rebase error (drjones).
>
> Version 6 changes:
>   * Rearrange xxhash64 (pmm).
>   * Add documentation (pmm).

Applied to target-arm.next, thanks.
I fixed a typo in the docs text in patch 2 and adjusted
the text to say "impdef algorithm used by QEMU" to clarify
that this is something of our own devising.

-- PMM