aboutsummaryrefslogtreecommitdiff
path: root/net/util.c
diff options
context:
space:
mode:
authorXiaojuan Yang <yangxiaojuan@loongson.cn>2022-09-30 17:51:39 +0800
committerSong Gao <gaosong@loongson.cn>2022-10-17 10:28:35 +0800
commit5ef4a4af8b41fb175374726f379a2aea79929023 (patch)
treef475b22875dbb734cc82cb51247c39cc056307c4 /net/util.c
parent7bf36a5c5276c4dc7926a0bc2e5ebbd93eedac41 (diff)
downloadqemu-5ef4a4af8b41fb175374726f379a2aea79929023.zip
qemu-5ef4a4af8b41fb175374726f379a2aea79929023.tar.gz
qemu-5ef4a4af8b41fb175374726f379a2aea79929023.tar.bz2
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>
Diffstat (limited to 'net/util.c')
0 files changed, 0 insertions, 0 deletions