Re: [PATCH v8 0/2] Fix LoongArch extioi coreisr accessing

2022-10-21 Thread Richard Henderson
On 10/21/22 11:53, Xiaojuan Yang wrote: 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. Changes for v8: 1. Move the iocsr_helper changes to the sec

[PATCH v8 0/2] Fix LoongArch extioi coreisr accessing

2022-10-20 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. Changes for v8: 1. Move the iocsr_helper changes to the second patch. 2. Change the argument of GET_