qemu/linux-user/aarch64
Richard Henderson d3b4f7170f linux-user/aarch64: Move sve record checks into restore
Move the checks out of the parsing loop and into the
restore function.  This more closely mirrors the code
structure in the kernel, and is slightly clearer.

Reject rather than silently skip incorrect VL and SVE record sizes,
bringing our checks in to line with those the kernel does.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220708151540.18136-40-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2022-07-11 13:43:51 +01:00
..
cpu_loop.c linux-user/aarch64: Reset PSTATE.SM on syscalls 2022-07-11 13:43:51 +01:00
signal.c linux-user/aarch64: Move sve record checks into restore 2022-07-11 13:43:51 +01:00
sockbits.h linux-user: move socket.h generic definitions to generic/sockbits.h 2018-05-25 10:10:55 +02:00
syscall_nr.h linux-user: update syscall_nr.h to Linux v5.13 2021-07-13 13:59:59 +02:00
target_cpu.h linux-user/aarch64: Clear tpidr2_el0 if CLONE_SETTLS 2022-07-11 13:43:51 +01:00
target_elf.h linux-user: Move CPU type name selection to a function 2018-02-25 17:27:41 +01:00
target_errno_defs.h linux-user: Extract target errno to 'target_errno_defs.h' 2021-07-12 21:53:35 +02:00
target_fcntl.h linux-user: move arm/aarch64/m68k fcntl definitions to [arm|aarch64|m68k]/target_fcntl.h 2018-06-04 01:30:44 +02:00
target_prctl.h linux-user/aarch64: Introduce sve_vq 2022-06-08 19:38:55 +01:00
target_resource.h linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h 2022-02-01 08:01:38 +01:00
target_signal.h linux-user: Move target_signal.h generic definitions to generic/signal.h 2022-01-06 11:40:52 +01:00
target_structs.h linux-user: Move target_struct.h generic definitions to generic/ 2022-01-11 18:40:44 +01:00
target_syscall.h Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
termbits.h linux-user: Add generic 'termbits.h' for some archs 2020-08-27 12:29:50 +02:00