Re: [PATCH] ARM: fix memset64() on big-endian
From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2026-01-02 09:24:55
Also in:
lkml, stable
From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2026-01-02 09:24:55
Also in:
lkml, stable
On Fri, Jan 2, 2026, at 08:15, Thomas Weißschuh wrote:
On big-endian systems the 32-bit low and high halves need to be swapped,
for the underlying assembly implemenation to work correctly.
Fixes: fd1d362600e2 ("ARM: implement memset32 & memset64")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh <redacted>
---
Found by the string_test_memset64 KUnit test.Good catch! I guess that likely means you are the first one to run kunit test on armbe since the tests got added. Did you find any other differences between BE and LE kernels running kunit? Reviewed-by: Arnd Bergmann <arnd@arndb.de>