James Morse 228a26b912 arm64: Use the clearbhb instruction in mitigations
Future CPUs may implement a clearbhb instruction that is sufficient
to mitigate SpectreBHB. CPUs that implement this instruction, but
not CSV2.3 must be affected by Spectre-BHB.

Add support to use this instruction as the BHB mitigation on CPUs
that support it. The instruction is in the hint space, so it will
be treated by a NOP as older CPUs.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
2022-02-24 14:02:44 +00:00
..
2021-10-01 13:31:00 +01:00
2021-08-04 16:54:36 +00:00
2021-12-01 00:06:44 +01:00
2022-01-16 16:15:14 +02:00
2020-09-07 15:00:52 +01:00
2021-03-24 20:19:30 +00:00
2021-02-04 13:59:49 +00:00
2021-10-07 09:30:24 +01:00
2022-01-12 16:26:58 -08:00
2021-09-01 15:04:29 -07:00
2021-12-01 00:06:44 +01:00
2021-04-16 16:10:36 -07:00
2021-11-02 22:22:13 -07:00
2021-12-01 00:06:44 +01:00