On Mon, 29 Aug 2022 17:06:53 +0100, Mark Brown wrote:
The arm64 architecture originally made the signal context a fixed size structure containing a linked list of records with the various kinds of register and other state which may be present. When SVE was implemented it was realised that it supported implementations with more state than could fit in that structure so a new record type EXTRA_CONTEXT was introduced allowing the signal context to be extended beyond the original size. Unfortunately the signal handling tests can not cope with these EXTRA_CONTEXT records at all - some support was implemented but it simply never worked.
[...]
Applied to arm64 (for-next/kselftest), thanks!
[01/10] kselftest/arm64: Enumerate SME rather than SVE vector lengths for za_regs https://git.kernel.org/arm64/c/b3321fbd7fa2 [02/10] kselftest/arm64: Validate signal ucontext in place https://git.kernel.org/arm64/c/b97ff4f3ad95 [03/10] kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT https://git.kernel.org/arm64/c/909e2105c748 [04/10] kselftest/arm64: Fix validation of EXTRA_CONTEXT signal context location https://git.kernel.org/arm64/c/a934077a3f94 [05/10] kselftest/arm64: Remove unneeded protype for validate_extra_context() https://git.kernel.org/arm64/c/e374ab27e738 [06/10] kselftest/arm64: Only validate each signal context once https://git.kernel.org/arm64/c/b9731674ec9c [07/10] kselftest/arm64: Validate contents of EXTRA_CONTEXT blocks https://git.kernel.org/arm64/c/3df95c1efeaf [08/10] kselftest/arm64: Preserve any EXTRA_CONTEXT in handle_signal_copyctx() https://git.kernel.org/arm64/c/91f48fb9f82b [09/10] kselftest/arm64: Allow larger buffers in get_signal_context() https://git.kernel.org/arm64/c/5f6539724421 [10/10] kselftest/arm64: Include larger SVE and SME VLs in signal tests https://git.kernel.org/arm64/c/7384bddbe246