summaryrefslogtreecommitdiff
path: root/mm/mmu_notifier.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-09-04 22:05:00 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2023-10-20 12:30:50 +0200
commit34a3cae7474c6e6f4a85aad4a7b8191b8b35cdcd (patch)
tree2c3c62864ab2b14a39d22a9e4fda0638fc4b044c /mm/mmu_notifier.c
parent351236947a45a512c517153bbe109fe868d05e6d (diff)
downloadlinux-34a3cae7474c6e6f4a85aad4a7b8191b8b35cdcd.tar.gz
linux-34a3cae7474c6e6f4a85aad4a7b8191b8b35cdcd.tar.bz2
linux-34a3cae7474c6e6f4a85aad4a7b8191b8b35cdcd.zip
x86/srso: Disentangle rethunk-dependent options
CONFIG_RETHUNK, CONFIG_CPU_UNRET_ENTRY and CONFIG_CPU_SRSO are all tangled up. De-spaghettify the code a bit. Some of the rethunk-related code has been shuffled around within the '.text..__x86.return_thunk' section, but otherwise there are no functional changes. srso_alias_untrain_ret() and srso_alias_safe_ret() ((which are very address-sensitive) haven't moved. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/2845084ed303d8384905db3b87b77693945302b4.1693889988.git.jpoimboe@kernel.org
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions