target/mips: Implement CP0.Config7.WII bit support
authorMarcin Nowakowski <marcin.nowakowski@fungible.com>
Thu, 16 Feb 2023 05:17:16 +0000 (06:17 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 7 Mar 2023 23:37:48 +0000 (00:37 +0100)
commit36b84f856ed67f5b2ee2e26368f7009f3222ba46
tree245e3cd89a701498b26445d09fe39b417b27e5c7
parent7c00edb9a2e2cb975a60e80dbe1e66287a9d5777
target/mips: Implement CP0.Config7.WII bit support

Some pre-release 6 cores use CP0.Config7.WII bit to indicate that a
disabled interrupt should wake up a sleeping CPU.
Enable this bit by default for M14K(c) and P5600. There are potentially
other cores that support this feature, but I do not have a complete
list.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@fungible.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230216051717.3911212-4-marcin.nowakowski@fungible.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/mips/cpu-defs.c.inc
target/mips/cpu.c
target/mips/cpu.h