[PATCH v4 0/2] aarch64: clear ZA state of SME in clone and clone3

Yury Khrustalev yury.khrustalev@arm.com
Mon Sep 1 09:51:10 GMT 2025


Passes tests on AArch64, OK for trunk?

Base-commit: 0c6cb5285b

Changes in v4:
 - Rebased on master.
 - Updated commit message to explain the background behind this change.
 - Added a test for SME state in signal handlers.
 - v3: https://patchwork.sourceware.org/project/glibc/list/?series=48789

Changes in v3:
 - Rebased on master.
 - Added documentation,
 - v2: https://patchwork.sourceware.org/project/glibc/list/?series=48383

Changes in v2:
 - Rebased on recent master.
 - v1: https://patchwork.sourceware.org/project/glibc/list/?series=47709

---

Yury Khrustalev (2):
  aarch64: clear ZA state of SME before clone and clone3
  manual: add architecture specific note on clone and clone3 syscalls

 manual/startup.texi                      |  13 ++
 sysdeps/aarch64/Makefile                 |   8 ++
 sysdeps/aarch64/tst-sme-clone.c          |  93 ++++++++++++++
 sysdeps/aarch64/tst-sme-clone3.c         | 148 +++++++++++++++++++++++
 sysdeps/aarch64/tst-sme-helper.h         |  34 +++++-
 sysdeps/aarch64/tst-sme-signal.c         | 131 ++++++++++++++++++++
 sysdeps/aarch64/tst-sme-za-state.c       |  40 +-----
 sysdeps/unix/sysv/linux/aarch64/clone.S  |  11 ++
 sysdeps/unix/sysv/linux/aarch64/clone3.S |  11 ++
 9 files changed, 453 insertions(+), 36 deletions(-)
 create mode 100644 sysdeps/aarch64/tst-sme-clone.c
 create mode 100644 sysdeps/aarch64/tst-sme-clone3.c
 create mode 100644 sysdeps/aarch64/tst-sme-signal.c

-- 
2.47.2



More information about the Libc-alpha mailing list