Home
last modified time | relevance | path

Searched refs:sve_context (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/tools/testing/selftests/arm64/signal/testcases/
Dfake_sigreturn_sme_change_vl.c54 struct sve_context *sve; in fake_sigreturn_ssve_change_vl()
67 if (head->size != sizeof(struct sve_context)) { in fake_sigreturn_ssve_change_vl()
72 sve = (struct sve_context *)head; in fake_sigreturn_ssve_change_vl()
Dfake_sigreturn_sve_change_vl.c56 struct sve_context *sve; in fake_sigreturn_sve_change_vl()
69 if (head->size != sizeof(struct sve_context)) { in fake_sigreturn_sve_change_vl()
74 sve = (struct sve_context *)head; in fake_sigreturn_sve_change_vl()
Dtestcases.c57 bool validate_sve_context(struct sve_context *sve, char **err) in validate_sve_context()
67 if ((sve->head.size != sizeof(struct sve_context)) && in validate_sve_context()
114 struct sve_context *sve = NULL; in validate_reserved()
165 sve = (struct sve_context *)head; in validate_reserved()
Dsve_vl.c34 struct sve_context *sve; in sve_vl()
46 sve = (struct sve_context *)head; in sve_vl()
Dsve_regs.c63 struct sve_context *sve; in do_one_sve_vl()
87 sve = (struct sve_context *)head; in do_one_sve_vl()
Dssve_regs.c63 struct sve_context *ssve; in do_one_sme_vl()
89 ssve = (struct sve_context *)head; in do_one_sme_vl()
/linux-6.1.9/arch/arm64/include/uapi/asm/
Dsigcontext.h134 struct sve_context { struct
246 ((sizeof(struct sve_context) + (__SVE_VQ_BYTES - 1)) \
/linux-6.1.9/Documentation/arm64/
Dsve.rst80 example the signal frame (struct sve_context) and ptrace interface
137 * A new signal frame record sve_context encodes the SVE registers on signal
142 is duplicated between sve_context and fpsimd_context.
150 the thread's vector length (in sve_context.vl).
155 sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).
167 __reserved[] referencing this space. sve_context is then written in the
176 * If there is no sve_context record in the signal frame, or if the record is
180 * If sve_context is present in the signal frame and contains full register
184 and not from sve_context. The remaining bits are restored from sve_context.
187 irrespective of whether sve_context is present or not.
[all …]
/linux-6.1.9/arch/arm64/kernel/
Dsignal.c221 struct sve_context __user *sve;
227 static int preserve_sve_context(struct sve_context __user *ctx) in preserve_sve_context()
272 struct sve_context sve; in restore_sve_fpsimd_context()
536 user->sve = (struct sve_context __user *)head; in parse_user_sigframe()
817 struct sve_context __user *sve_ctx = in setup_sigframe()