Xiaojuan Yang 5ef4a4af8b
hw/intc: Fix LoongArch ipi device emulation
In ipi_send function, it should not to set irq before
writing data to dest cpu iocsr space, as the irq will
trigger after data writing.
When call this function 'address_space_stl()', it will
trigger loongarch_ipi_writel(), the addr arg is 0x1008
('CORE_SET_OFF'), and qemu_irq_raise will be called in
this case.

Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220930095139.867115-3-yangxiaojuan@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
2022-10-17 10:28:35 +08:00
..
2022-06-08 19:38:47 +01:00
2022-06-08 19:38:47 +01:00
2019-08-16 13:31:52 +02:00
2022-04-21 09:27:54 -07:00
2021-11-09 10:11:27 +01:00
2019-08-16 13:31:52 +02:00
2021-01-08 15:13:38 +00:00
2021-11-09 10:11:27 +01:00
2022-06-28 11:06:02 +02:00
2022-06-08 19:38:47 +01:00
2020-09-09 09:27:09 -04:00