[PATCH v4 1/2] aarch64: clear ZA state of SME before clone and clone3
Yury Khrustalev
yury.khrustalev@arm.com
Fri Sep 19 09:09:39 GMT 2025
* Elliott, Rich
On Mon, Sep 01, 2025 at 10:51:11AM +0100, Yury Khrustalev wrote:
> This change adds a call to the __arm_za_disable() function immediately
> before the SVC instruction inside clone() and clone3() wrappers. This
> sets the ZA state of SME to "off" on return from these functions (for
> both the child and the parent).
I hope that the explanation provided in the commit message in this patch
addresses the questions raised earlier. So far, there was one adjacent
question about making clone3() public. Can I ask if you have any further
concerns or questions from the point of view of bionic or musl? I'd like
to go ahead with this patch, if not.
Thanks,
Yury
More information about the Libc-alpha
mailing list