]> git.ipfire.org Git - thirdparty/glibc.git/commit
AArch64: Remove zva_128 from memset
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Mon, 25 Nov 2024 18:43:08 +0000 (18:43 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 28 Feb 2025 14:31:33 +0000 (14:31 +0000)
commit0cd10047bf046a658f32e12833ccc42304b3b152
treeb86915bfb9310a7b2d988407198a27a73a9678bc
parentdd1e63ab580d801926265007796f290b84747ec8
AArch64: Remove zva_128 from memset

Remove ZVA 128 support from memset - the new memset no longer
guarantees count >= 256, which can result in underflow and a
crash if ZVA size is 128 ([1]).  Since only one CPU uses a ZVA
size of 128 and its memcpy implementation was removed in commit
e162ab2bf1b82c40f29e1925986582fa07568ce8, remove this special
case too.

[1] https://sourceware.org/pipermail/libc-alpha/2024-November/161626.html

Reviewed-by: Andrew Pinski <quic_apinski@quicinc.com>
(cherry picked from commit a08d9a52f967531a77e1824c23b5368c6434a72d)
sysdeps/aarch64/memset.S