mbox series

[0/6] target/arm: Complete ARMv8.3-PAuth linux-user

Message ID 20190125225714.10234-1-richard.henderson@linaro.org
Headers show
Series target/arm: Complete ARMv8.3-PAuth linux-user | expand

Message

Richard Henderson Jan. 25, 2019, 10:57 p.m. UTC
(1) Fix a bug I introduced at the last moment in the last
    patch set -- enable pac keys during reset, not before.
(2) Add the HWCAP bits.
(3) Add the new prctl
(4) Add a smoke test so that (1) doesn't happen again.


r~


Richard Henderson (6):
  target/arm: Always enable pac keys for user-only
  aarch64-linux-user: Update HWCAP bits from linux 5.0-rc1
  aarch64-linux-user: Enable HWCAP bits for PAuth
  linux-user: Initialize aarch64 pac keys
  linux-user: Implement PR_PAC_RESET_KEYS
  tests/tcg/aarch64: Add pauth smoke tests

 linux-user/aarch64/target_syscall.h |  9 +++++
 linux-user/aarch64/cpu_loop.c       | 31 ++++++++++++++-
 linux-user/elfload.c                | 10 +++++
 linux-user/syscall.c                | 33 ++++++++++++++++
 target/arm/cpu.c                    |  3 ++
 target/arm/cpu64.c                  | 60 -----------------------------
 tests/tcg/aarch64/pauth-1.c         | 23 +++++++++++
 tests/tcg/aarch64/Makefile.target   |  7 +++-
 8 files changed, 113 insertions(+), 63 deletions(-)
 create mode 100644 tests/tcg/aarch64/pauth-1.c

-- 
2.17.2

Comments

Peter Maydell Feb. 1, 2019, 3:18 p.m. UTC | #1
On Fri, 25 Jan 2019 at 22:57, Richard Henderson
<richard.henderson@linaro.org> wrote:
>

> (1) Fix a bug I introduced at the last moment in the last

>     patch set -- enable pac keys during reset, not before.

> (2) Add the HWCAP bits.

> (3) Add the new prctl

> (4) Add a smoke test so that (1) doesn't happen again.

>

>

> r~

>

>

> Richard Henderson (6):

>   target/arm: Always enable pac keys for user-only

>   aarch64-linux-user: Update HWCAP bits from linux 5.0-rc1

>   aarch64-linux-user: Enable HWCAP bits for PAuth

>   linux-user: Initialize aarch64 pac keys

>   linux-user: Implement PR_PAC_RESET_KEYS

>   tests/tcg/aarch64: Add pauth smoke tests


Applied patches 1-4 to target-arm.next (5 has a minor nit
and 6 depends on 5).

thanks
-- PMM