aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorKim Phillips <[email protected]>2024-01-25 22:11:02 -0600
committerBorislav Petkov (AMD) <[email protected]>2024-01-29 17:19:01 +0100
commitacaa4b5c4c854b5009f4d4a5395b2609ad0f4937 (patch)
treee692d6d999c4ac18a9648ca15aad5ed51e3b39b8 /net/lapb/lapb_timer.c
parentb6e0f6666f74f0794530e3557f5b0a4ce37bd556 (diff)
x86/speculation: Do not enable Automatic IBRS if SEV-SNP is enabled
Without SEV-SNP, Automatic IBRS protects only the kernel. But when SEV-SNP is enabled, the Automatic IBRS protection umbrella widens to all host-side code, including userspace. This protection comes at a cost: reduced userspace indirect branch performance. To avoid this performance loss, don't use Automatic IBRS on SEV-SNP hosts and all back to retpolines instead. [ mdr: squash in changes from review discussion. ] Signed-off-by: Kim Phillips <[email protected]> Signed-off-by: Michael Roth <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Acked-by: Dave Hansen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions