[PATCH v3 0/8] Implement Most ARMv8.3 Pointer Authentication Features

Aaron Lindsay posted 8 patches 1 year ago
There is a newer version of this series
target/arm/cpu.h               |  67 +++++++++++-
target/arm/cpu64.c             |  48 ++++++---
target/arm/helper-a64.h        |   4 +
target/arm/helper.c            |   4 +-
target/arm/hvf/hvf.c           |   1 +
target/arm/kvm64.c             |   2 +
target/arm/syndrome.h          |   7 ++
target/arm/tcg/pauth_helper.c  | 189 ++++++++++++++++++++++++++-------
target/arm/tcg/translate-a64.c |  20 ++--
9 files changed, 274 insertions(+), 68 deletions(-)
[PATCH v3 0/8] Implement Most ARMv8.3 Pointer Authentication Features
Posted by Aaron Lindsay 1 year ago
Changes from v2 of this patchset [0]:
- Remove properties for EPAC, Pauth2, FPAC, FPACCombined
- Put aa64isar2 addition/initialization into separate patch
- Clarified several comments (particularly one regarding our divergence
  from ARM's pseudocode around EPAC feature-detection)
- Several code formatting fixes and logic simplifications

[0] - https://lists.nongnu.org/archive/html/qemu-devel/2023-02/msg06494.html

Aaron Lindsay (8):
  target/arm: Add ID_AA64ISAR2_EL1
  target/arm: v8.3 PAC ID_AA64ISAR[12] feature-detection
  target/arm: Implement v8.3 QARMA3 PAC cipher
  target/arm: Implement v8.3 EnhancedPAC
  target/arm: Implement v8.3 Pauth2
  targer/arm: Inform helpers whether a PAC instruction is 'combined'
  target/arm: Implement v8.3 FPAC and FPACCOMBINE
  target/arm: Add CPU property for QARMA3, enable FPACCombined by
    default

 target/arm/cpu.h               |  67 +++++++++++-
 target/arm/cpu64.c             |  48 ++++++---
 target/arm/helper-a64.h        |   4 +
 target/arm/helper.c            |   4 +-
 target/arm/hvf/hvf.c           |   1 +
 target/arm/kvm64.c             |   2 +
 target/arm/syndrome.h          |   7 ++
 target/arm/tcg/pauth_helper.c  | 189 ++++++++++++++++++++++++++-------
 target/arm/tcg/translate-a64.c |  20 ++--
 9 files changed, 274 insertions(+), 68 deletions(-)

-- 
2.25.1