Searched hist:e84957e6ae043bb83ad6ae7e949a1ce97b6bbfef (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/mips/kernel/ |
H A D | syscall.c | diff e84957e6ae043bb83ad6ae7e949a1ce97b6bbfef Tue Oct 01 16:53:39 CDT 2019 Paul Burton <paul.burton@mips.com> MIPS: syscall: 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
|