]> git.proxmox.com Git - mirror_qemu.git/commit
lm32: take BQL before writing IP/IM register
authorMichael Walle <michael@walle.cc>
Tue, 9 Jan 2018 17:01:13 +0000 (18:01 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 11 Jul 2018 16:48:17 +0000 (11:48 -0500)
commit4f9df08749b22cb7a93da5028f5a435a208feb7d
tree692c7b00bb22cd962ae5081e673c175fd58368af
parentca3150da6dca19024e4c114fc3ab07ac553824fc
lm32: take BQL before writing IP/IM register

Writing to these registers may raise an interrupt request. Actually,
this prevents the milkymist board from starting.

Cc: qemu-stable@nongnu.org
Signed-off-by: Michael Walle <michael@walle.cc>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
(cherry picked from commit 81e9cbd0ca1131012b058df6804b1f626a6b730c)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/lm32/op_helper.c