Skip to content
Snippets Groups Projects
Unverified Commit a649fffc authored by Xiaojuan Yang's avatar Xiaojuan Yang Committed by Song Gao
Browse files

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: default avatarXiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20221021015307.2570844-3-yangxiaojuan@loongson.cn>
Signed-off-by: default avatarSong Gao <gaosong@loongson.cn>
parent 3fc8f74b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment