x86/entry: Rename ignore_sysret()
authorNikolay Borisov <nik.borisov@suse.com>
Fri, 23 Jun 2023 11:14:05 +0000 (14:14 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 14 Sep 2023 11:19:53 +0000 (13:19 +0200)
commitf71e1d2ff8e6a183bd4004bc97c453ba527b7dc6
tree797fb2c69c608ad7aa6fdfc6b0697be79a9cf32c
parent1da5c9bc119d3a749b519596b93f9b2667e93c4a
x86/entry: Rename ignore_sysret()

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
arch/x86/entry/entry_64.S
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/common.c