ARM: spectre-v1: add speculation barrier (csdb) macros
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 11 May 2018 10:15:29 +0000 (11:15 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 May 2018 22:27:16 +0000 (23:27 +0100)
commita78d156587931a2c3b354534aa772febf6c9e855
treee76fd07a3833a1e3a91ad3c86a19a736a39033f4
parentadd5609877c6785cc002c6ed7e008b1d61064439
ARM: spectre-v1: add speculation barrier (csdb) macros

Add assembly and C macros for the new CSDB instruction.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Boot-tested-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
arch/arm/include/asm/assembler.h
arch/arm/include/asm/barrier.h