summaryrefslogtreecommitdiffstats
path: root/hw/net/xilinx_ethlite.c
diff options
context:
space:
mode:
authorXiaojuan Yang2022-10-21 03:53:07 +0200
committerSong Gao2022-11-04 10:07:40 +0100
commita649fffcc9589a88464474e9105798eb62023352 (patch)
treebfe140f99ca8ff4d1911c16f33d2e99ef1ba03f5 /hw/net/xilinx_ethlite.c
parenthw/intc: Convert the memops to with_attrs in LoongArch extioi (diff)
downloadqemu-a649fffcc9589a88464474e9105798eb62023352.tar.gz
qemu-a649fffcc9589a88464474e9105798eb62023352.tar.xz
qemu-a649fffcc9589a88464474e9105798eb62023352.zip
hw/intc: Fix LoongArch extioi coreisr accessing
1. When cpu read or write extioi COREISR reg, it should access the reg belonged to itself, so the cpu index of 's->coreisr' is current cpu number. Using MemTxAttrs' requester_id to get the cpu index. 2. it need not to mask 0x1f when calculate the coreisr array index. Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20221021015307.2570844-3-yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw/net/xilinx_ethlite.c')
0 files changed, 0 insertions, 0 deletions