lkml.org 
[lkml]   [2021]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] x86/cpu: Do some janitorial work
Date
From: Borislav Petkov <bp@suse.de>

Beef up clearcpuid= so that it supports the strings from /proc/cpuinfo
too and remove a bunch of useless, and, in some cases even downright
dangerous, chicken bits we have added over the years.

Thx.

Borislav Petkov (6):
x86/cpu: Allow feature bit names from /proc/cpuinfo in clearcpuid=
x86/cpu: Remove "nosep"
x86/cpu: Remove CONFIG_X86_SMAP and "nosmap"
x86/cpu: Remove "nosmep"
x86/cpu: Remove "noexec"
x86/cpu: Remove "noclflush"

.../admin-guide/kernel-parameters.txt | 28 ++----
Documentation/x86/cpuinfo.rst | 5 +-
Documentation/x86/x86_64/boot-options.rst | 9 --
arch/x86/Kconfig | 11 ---
arch/x86/include/asm/disabled-features.h | 8 +-
arch/x86/include/asm/proto.h | 1 -
arch/x86/include/asm/smap.h | 24 -----
arch/x86/kernel/cpu/common.c | 88 +++++++++----------
arch/x86/kernel/setup.c | 28 +++++-
arch/x86/mm/Makefile | 3 +-
arch/x86/mm/init_64.c | 1 -
arch/x86/mm/setup_nx.c | 62 -------------
scripts/Makefile.lib | 4 +-
scripts/link-vmlinux.sh | 6 +-
.../arch/x86/include/asm/disabled-features.h | 8 +-
15 files changed, 83 insertions(+), 203 deletions(-)
delete mode 100644 arch/x86/mm/setup_nx.c

--
2.29.2

\
 
 \ /
  Last update: 2021-11-12 11:33    [W:0.129 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site