]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/entry: Rename ignore_sysret()
authorNikolay Borisov <nik.borisov@suse.com>
Fri, 23 Jun 2023 11:14:05 +0000 (14:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jul 2024 11:21:26 +0000 (13:21 +0200)
commitf73481d9a8fbdb8e53c7ee72f501b88dc755fa2a
tree4ad225ec5143f9cd52841e10fcdff6110f6effed
parent557d62e49e71c609775a80d7efcf03ab6f1054da
x86/entry: Rename ignore_sysret()

[ Upstream commit f71e1d2ff8e6a183bd4004bc97c453ba527b7dc6 ]

The SYSCALL instruction cannot really be disabled in compatibility mode.
The best that can be done is to configure the CSTAR msr to point to a
minimal handler. Currently this handler has a rather misleading name -
ignore_sysret() as it's not really doing anything with sysret.

Give it a more descriptive name.

Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230623111409.3047467-3-nik.borisov@suse.com
Stable-dep-of: ac8b270b61d4 ("x86/bhi: Avoid warning in #DB handler due to BHI mitigation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/entry/entry_64.S
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/common.c