On 8/29/23 07:46, Peter Maydell wrote:
+/* See arch/arm64/kernel/traps.c, do_el0_fpac, and our cpu_loop(). */
+if (sig == TARGET_SIGILL && code == TARGET_ILL_ILLOPN) {
+return true;
+}
This works, but we'll need to do something else if the kernel adds
some other fault later
On Tue, 22 Aug 2023 at 18:02, Richard Henderson
wrote:
>
> The PACFAIL fault uses ILL_ILLOPN and includes ESR.
>
> Signed-off-by: Richard Henderson
> ---
> linux-user/aarch64/cpu_loop.c | 7 ++-
> linux-user/aarch64/signal.c | 6 ++
> tests/tcg/aarch64/pauth-2.c | 25 ++
The PACFAIL fault uses ILL_ILLOPN and includes ESR.
Signed-off-by: Richard Henderson
---
linux-user/aarch64/cpu_loop.c | 7 ++-
linux-user/aarch64/signal.c | 6 ++
tests/tcg/aarch64/pauth-2.c | 25 -
3 files changed, 36 insertions(+), 2 deletions(-)
diff --