[PATCH v4 0/6] Make IA32_EMULATION boot time overridable

Nikolay Borisov posted 6 patches 2 years, 7 months ago
.../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(-)
[PATCH v4 0/6] Make IA32_EMULATION boot time overridable
Posted by Nikolay Borisov 2 years, 7 months ago
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