summaryrefslogtreecommitdiffstats
path: root/scripts/ver_linux
diff options
context:
space:
mode:
authorHeiher <r@hev.cc>2018-06-11 17:01:10 +0800
committerPaul Burton <paul.burton@mips.com>2018-06-24 09:27:27 -0700
commitc8bf38055efaf764fd8c313695759c64dc735842 (patch)
tree01514c17094ee3154485f4b1888492f319c4cd83 /scripts/ver_linux
parentbe462bd9700aec12029d43d48e6ff2207cb68fb7 (diff)
downloadblackbird-op-linux-c8bf38055efaf764fd8c313695759c64dc735842.tar.gz
blackbird-op-linux-c8bf38055efaf764fd8c313695759c64dc735842.zip
MIPS: Fix ejtag handler on SMP
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. [paul.burton@mips.com: This could in theory be backported at least as far back as the beginning of the git era, however in general it's exceedingly rare that anyone would hit this without further changes, so it doesn't seem worthwhile marking for backport.] Signed-off-by: Heiher <r@hev.cc> Patchwork: https://patchwork.linux-mips.org/patch/19507/ Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: jhogan@kernel.org Cc: ralf@linux-mips.org
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud