Message ID | 20221021015307.2570844-1-yangxiaojuan@loongson.cn (mailing list archive) |
---|---|
Headers | show |
Series | Fix LoongArch extioi coreisr accessing | expand |
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 second patch. > 2. Change the argument of GET_MEMTXATTRS() macro to env. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~