Bug#1091858: mips/math-emu: fix emulation of the prefx instruction

2025-01-06 Thread Mateusz Jończyk
Control: reassign 1091858 linux 6.1.119-1 Control: affects 1091858 +zstd Control: forwarded 1091858 https://lore.kernel.org/linux-mips/20250105211806.421305-1-mat.jonc...@o2.pl/T/ Control: tags 1091858 +patch W dniu 3.01.2025 o 22:14, Mateusz Jończyk pisze: > The above patch fixes the issue

Bug#1091858: [PATCH] mips/math-emu: fix emulation of the prefx instruction

2025-01-03 Thread Mateusz Jończyk
The above patch fixes the issue for me (on 32-bit mipsel), but would need some further testing. I wrote: > Fixes: 51061b8876a3 ("MIPS: math-emu: Fix prefx detection and COP1X function > field definition") but I realized this has been broken by commit 919af8b96c89 ("MIPS: Make definitions of MI

Bug#1091858: [PATCH] mips/math-emu: fix emulation of the prefx instruction

2025-01-03 Thread Mateusz Jończyk
nd on 00 binary. In this case, MIPSInst_FMA_FFMT(ir) must be equal to 0x7, which does not match that case label. This causes emulation failure for the prefx instruction. Fix it. Signed-off-by: Mateusz Jończyk Cc: sta...@vger.kernel.org # after 2 weeks Cc: Dengcheng Zhu Cc: Thomas Bogendo

Bug#1091858: zstd: -9 SIGILLs on mips64el

2025-01-02 Thread Mateusz Jończyk
Dnia 3 stycznia 2025 00:17:11 CET, Peter Pentchev napisał/a: > So yeah, does this look like a qemu bug, or a compiler bug? I'm still > not completely sure, but from the source code it does not really seem to be a libzstd bug - it leaves __builtin_prefetch() to GCC.. More than anything, I suspect

Bug#1091858: zstd: -9 SIGILLs on mips64el

2025-01-02 Thread Mateusz Jończyk
Hello, I also hit this bug on 32-bit mipsel, on the Malta platform in QEMU. I used images from https://ftp.debian.org/debian/dists/Debian12.8/main/installer-mipsel/current/images/malta/netboot/ Command line: qemu-system-mipsel -cpu    24Kc -M  malta -m  512  -kerne