[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230623111409.3047467-1-nik.borisov@suse.com>
Date: Fri, 23 Jun 2023 14:14:03 +0300
From: Nikolay Borisov <nik.borisov@...e.com>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org, mohocko@...e.com, jslaby@...e.cz,
Nikolay Borisov <nik.borisov@...e.com>
Subject: [PATCH v4 0/6] Make IA32_EMULATION boot time overridable
Here's v4 of the patchset, incorporating latest round of reviews, Namely,
* Split the first patch into 2 - one introducing the ia32_enabled() function
which simply return true if IA32_EMULATION is selected.
* Some minor typos (rdunlap)
* Reworked some changelogs.
* Added one final patch which introduces the Kconfig/boot time parameter after
everything is predicated on ia32_enabled. This allows the config switch to be
fully operable when it's introduced. (tgxl)
* Renamed the runtime parameter name to ia32_emulation and its format to bool.
Nikolay Borisov (6):
x86: Introduce ia32_enabled
x86/entry: Rename ignore_sysret
x86/entry: Compile entry_SYSCALL32_ignore unconditionally
x86/elf: Make loading of 32bit processes depend on ia32_enabled()
x86/entry: Make IA32 syscalls' availability depend on ia32_enabled()
x86: Make IA32_EMULATION boot time configurable
.../admin-guide/kernel-parameters.txt | 5 +++
arch/x86/Kconfig | 9 +++++
arch/x86/entry/common.c | 20 ++++++++++
arch/x86/entry/entry_64.S | 6 +--
arch/x86/include/asm/elf.h | 3 +-
arch/x86/include/asm/ia32.h | 16 +++++++-
arch/x86/include/asm/processor.h | 2 +-
arch/x86/include/asm/proto.h | 3 ++
arch/x86/kernel/cpu/common.c | 37 ++++++++++---------
arch/x86/kernel/idt.c | 7 ++++
10 files changed, 83 insertions(+), 25 deletions(-)
--
2.34.1
Powered by blists - more mailing lists