]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sve: Signal frame and context structure definition
authorDave Martin <Dave.Martin@arm.com>
Tue, 31 Oct 2017 15:51:03 +0000 (15:51 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Nov 2017 15:24:14 +0000 (15:24 +0000)
commitd5f3f681916280be25df2147fd0b7c0c152b5052
tree1d902181aff99d313fbf9b347663fd846afd7c9e
parentb25eed69912ecb8f8d14300a0cd3a041018ca1e7
arm64/sve: Signal frame and context structure definition

This patch defines the representation that will be used for the SVE
register state in the signal frame, and implements support for
saving and restoring the SVE registers around signals.

The same layout will also be used for the in-kernel task state.

Due to the variability of the SVE vector length, it is not possible
to define a fixed C struct to describe all the registers.  Instead,
Macros are defined in sigcontext.h to facilitate access to the
parts of the structure.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/uapi/asm/sigcontext.h