summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-01 21:53:20 +0000
committerPaul Burton <paul.burton@mips.com>2019-10-07 09:42:31 -0700
commit4d1dbfe6cbec34c6398a480c0572bba794e89e11 (patch)
treeb6deb52ed3d549c3fe3390a67da26b082738c31c /arch/powerpc/platforms
parenta38ee6bb14a41b6849576bcf6cbd33cbbe5c3a7d (diff)
MIPS: atomic: 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 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions