Hi Heiher, On Mon, Jun 11, 2018 at 05:01:10PM +0800, r@xxxxxx wrote: > From: Heiher <r@xxxxxx> > > On SMP systems, the shared ejtag debug buffer may be overwritten by > other cores, because every cores can generate ejtag exception at > same time. > > Unfortunately, in that context, it's difficult to relax more registers > to access per cpu buffers. so use ll/sc to serialize the access. > > Signed-off-by: Heiher <r@xxxxxx> > --- > arch/mips/kernel/genex.S | 46 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 46 insertions(+) Thanks, applied to mips-next for 4.19. Paul