diff options
| author | Paul Burton <paul.burton@mips.com> | 2019-10-02 00:53:42 +0300 |
|---|---|---|
| committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 19:43:09 +0300 |
| commit | 12dbb04f2ac1fcbef0d6463abb3071ce8d8fe45f (patch) | |
| tree | 09b1a1b5d7d35db3a5a20cec5a5cab111a6fca92 /tools/perf/scripts/python | |
| parent | ae4cd0b1a4756344cb99c0004d156b585cf9e907 (diff) | |
| download | linux-12dbb04f2ac1fcbef0d6463abb3071ce8d8fe45f.tar.xz | |
MIPS: genex: Add Loongson3 LL/SC workaround to ejtag_debug_handler
In ejtag_debug_handler we use LL & SC instructions to acquire & release
an open-coded spinlock. For Loongson3 systems affected by LL/SC errata
this requires that we insert a sync instruction prior to the LL in order
to ensure correct behavior of the LL/SC loop.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
