Re: [PATCH v6 1/1] hw/intc: Fix LoongArch extioi coreisr accessing

2022-10-19 Thread Philippe Mathieu-Daudé
On 19/10/22 11:15, Xiaojuan Yang wrote: When cpu read or write extioi COREISR reg, it should access "When the CPU reads or writes ..." 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. Signed-off-by: Xiaoj

[PATCH v6 1/1] hw/intc: Fix LoongArch extioi coreisr accessing

2022-10-19 Thread Xiaojuan Yang
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. Signed-off-by: Xiaojuan Yang --- hw/intc/loongarch_extioi.c | 42 ++---