Files
kernel_nothing_sm7325/include/linux
James Morse a04f5e2607 UPSTREAM: arm64: entry: Add vectors that have the bhb mitigation sequences
commit ba2689234be92024e5635d30fe744f4853ad97db upstream.

Some CPUs affected by Spectre-BHB need a sequence of branches, or a
firmware call to be run before any indirect branch. This needs to go
in the vectors. No CPU needs both.

While this can be patched in, it would run on all CPUs as there is a
single set of vectors. If only one part of a big/little combination is
affected, the unaffected CPUs have to run the mitigation too.

Create extra vectors that include the sequence. Subsequent patches will
allow affected CPUs to select this set of vectors. Later patches will
modify the loop count to match what the CPU requires.

Bug: 215557547
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic04ed6f5ef848b5b964d8b7ba715c09fcbfb99d8
2022-03-17 18:06:27 +01:00
..
2021-08-11 10:16:17 +02:00
2021-11-06 14:08:38 +01:00
2021-07-14 17:12:58 +02:00
2021-04-07 15:05:05 +02:00
2021-11-17 10:19:21 +01:00
2021-01-30 13:54:11 +01:00
2021-09-12 09:54:40 +02:00
2020-10-07 08:50:29 +02:00
2021-09-15 14:01:16 +02:00
2021-06-30 19:19:07 +02:00
2021-03-05 06:50:46 +01:00
2021-05-19 10:41:47 +02:00
2021-08-27 16:27:13 +02:00
2021-03-04 10:26:29 +01:00
2021-02-07 15:35:49 +01:00
2021-11-17 09:48:17 +01:00
2021-06-30 19:19:07 +02:00
2021-06-30 08:47:51 -04:00
2020-10-14 17:07:42 +02:00
2021-09-25 14:41:58 +02:00
2021-11-21 15:34:05 +01:00
2021-11-17 10:19:21 +01:00
2021-10-17 10:56:22 +02:00
2021-09-25 14:41:58 +02:00
2021-03-07 12:20:49 +01:00
2021-09-16 15:57:48 +02:00
2020-12-11 13:23:28 +01:00
2021-12-12 16:44:26 +01:00
2021-06-10 13:37:14 +02:00