Files
qemu/linux-user
Richard Henderson 3011e4e441 linux-user/riscv: Fix handling of cpu mask in riscv_hwprobe syscall
The third argument of the syscall contains the size of the
cpu mask in bytes, not bits.  Nor is the size rounded up to
a multiple of sizeof(abi_ulong).

Cc: qemu-stable@nongnu.org
Reported-by: Andreas Schwab <schwab@suse.de>
Fixes: 9e1c7d982d ("linux-user/riscv: Add syscall riscv_hwprobe")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20250308225902.1208237-3-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit 1a010d22b7)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2025-03-24 07:49:26 +03:00
..
2023-10-30 13:41:55 -07:00
2023-10-30 13:41:56 -07:00
2023-12-04 15:12:57 +01:00
2023-10-30 13:41:55 -07:00
2023-10-04 11:03:54 -07:00
2023-10-30 13:41:56 -07:00
2023-10-30 13:41:55 -07:00
2023-10-30 13:41:55 -07:00
2019-06-12 13:20:21 +02:00