diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-01 21:53:37 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 09:43:00 -0700 |
commit | 6a57d2d1e7c3ac7f47d8c51bddd9082fe2fb485b (patch) | |
tree | 789103613e6583abba4109f4e01a6c9ac3724358 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9026737703aeee35702a0f990811e9202469c7b4 (diff) |
MIPS: cmpxchg: Emit Loongson3 sync workarounds within asm
Generate the sync instructions required to workaround Loongson3 LL/SC
errata within inline asm blocks, which feels a little safer than doing
it from C where strictly speaking the compiler would be well within its
rights to insert a memory access between the separate asm statements we
previously had, containing sync & ll instructions respectively.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions