]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Use barrier_nospec in syscall entry
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 24 Apr 2018 04:15:59 +0000 (14:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:43:45 +0000 (20:43 +1000)
commit2ed159001c8d6882d5cc130bc1c4947d97c2295a
treedd5bd1a449e91b922db6afb4c097eca2cea01583
parent6312158e9f320f61fc46c952ea0affdcea1f5949
powerpc/64: Use barrier_nospec in syscall entry

Our syscall entry is done in assembly so patch in an explicit
barrier_nospec.

Based on a patch by Michal Suchanek.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/entry_64.S