target/nios2: Special case ipending in rdctl and wrctl
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 26 Feb 2022 11:29:42 +0000 (01:29 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 3 Mar 2022 19:49:17 +0000 (09:49 -1000)
commit8d8d73b55144e0d8d3c15a83a8fd8f3de78c460d
tree2a253c516c6b2a7a0398c22add3595fe7a677100
parent304c05df7c3e383133a70e20d7b5121d75ae4190
target/nios2: Special case ipending in rdctl and wrctl

It was never correct to be able to write to ipending.
Until the rest of the irq code is tidied, the read of
ipending will generate an "unnecessary" mask.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/nios2/translate.c