]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Require even maskbits in update_pagemask
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Mar 2025 17:55:25 +0000 (12:55 -0500)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Mar 2025 19:32:43 +0000 (21:32 +0200)
commitd89b9899babcc01d7ee75f2917da861dc2afbc27
treefdb75bfff197beffe4b459aae27c683ecb7ea5b7
parentfca2817fdcb00e65020c2dcfcb0b23b2a20ea3c4
target/mips: Require even maskbits in update_pagemask

The number of bits set in PageMask must be even.

Fixes: d40b55bc1b86 ("target/mips: Fix PageMask with variable page size")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250328175526.368121-3-richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: qemu-stable@nongnu.org
target/mips/tcg/system/cp0_helper.c