]> 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:42:29 +0000 (14:42 +0000)
commit5fe151d86a19bc3dc791fd2d92efeb6c6e11cf64
tree3cb04dbb80da050670fa2093f682f5316d11c342
parent95aa21432ccbf77225abd485d98df36ba760ff80
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