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

Richard Henderson posted 3 patches 3 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210111235740.462469-1-richard.henderson@linaro.org
Maintainers: Thomas Huth <thuth@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
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(-)
[PATCH v7 0/3] target/arm: Implement an IMPDEF pauth algorithm
Posted by Richard Henderson 3 years, 3 months ago
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(-)

-- 
2.25.1


Re: [PATCH v7 0/3] target/arm: Implement an IMPDEF pauth algorithm
Posted by Peter Maydell 3 years, 3 months ago
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