Skip to content

Commit a13dc4d

Browse files
committed
Merge tag 'x86_cleanups_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Borislav Petkov: - Serious sanitization and cleanup of the whole APERF/MPERF and frequency invariance code along with removing the need for unnecessary IPIs - Finally remove a.out support - The usual trivial cleanups and fixes all over x86 * tag 'x86_cleanups_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits) x86: Remove empty files x86/speculation: Add missing srbds=off to the mitigations= help text x86/prctl: Remove pointless task argument x86/aperfperf: Make it correct on 32bit and UP kernels x86/aperfmperf: Integrate the fallback code from show_cpuinfo() x86/aperfmperf: Replace arch_freq_get_on_cpu() x86/aperfmperf: Replace aperfmperf_get_khz() x86/aperfmperf: Store aperf/mperf data for cpu frequency reads x86/aperfmperf: Make parts of the frequency invariance code unconditional x86/aperfmperf: Restructure arch_scale_freq_tick() x86/aperfmperf: Put frequency invariance aperf/mperf data into a struct x86/aperfmperf: Untangle Intel and AMD frequency invariance init x86/aperfmperf: Separate AP/BP frequency invariance init x86/smp: Move APERF/MPERF code where it belongs x86/aperfmperf: Dont wake idle CPUs in arch_freq_get_on_cpu() x86/process: Fix kernel-doc warning due to a changed function name x86: Remove a.out support x86/mm: Replace nodes_weight() with nodes_empty() where appropriate x86: Replace cpumask_weight() with cpumask_empty() where appropriate x86/pkeys: Remove __arch_set_user_pkey_access() declaration ...
2 parents 1de564b + d936411 commit a13dc4d

File tree

28 files changed

+441
-865
lines changed

28 files changed

+441
-865
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3147,6 +3147,7 @@
31473147
mds=off [X86]
31483148
tsx_async_abort=off [X86]
31493149
kvm.nx_huge_pages=off [X86]
3150+
srbds=off [X86,INTEL]
31503151
no_entry_flush [PPC]
31513152
no_uaccess_flush [PPC]
31523153

MAINTAINERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7385,7 +7385,6 @@ L: [email protected]
73857385
S: Supported
73867386
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve
73877387
F: arch/alpha/kernel/binfmt_loader.c
7388-
F: arch/x86/ia32/ia32_aout.c
73897388
F: fs/*binfmt_*.c
73907389
F: fs/exec.c
73917390
F: include/linux/binfmts.h

arch/x86/Kconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2842,13 +2842,6 @@ config IA32_EMULATION
28422842
64-bit kernel. You should likely turn this on, unless you're
28432843
100% sure that you don't have any 32-bit programs left.
28442844

2845-
config IA32_AOUT
2846-
tristate "IA32 a.out support"
2847-
depends on IA32_EMULATION
2848-
depends on BROKEN
2849-
help
2850-
Support old a.out binaries in the 32bit emulation.
2851-
28522845
config X86_X32_ABI
28532846
bool "x32 ABI for 64-bit mode"
28542847
depends on X86_64

arch/x86/ia32/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55

66
obj-$(CONFIG_IA32_EMULATION) := ia32_signal.o
77

8-
obj-$(CONFIG_IA32_AOUT) += ia32_aout.o
9-
108
audit-class-$(CONFIG_AUDIT) := audit.o
119
obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y)

arch/x86/ia32/ia32_aout.c

Lines changed: 0 additions & 325 deletions
This file was deleted.

arch/x86/include/asm/cpu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ extern int _debug_hotplug_cpu(int cpu, int action);
3636
#endif
3737
#endif
3838

39+
extern void ap_init_aperfmperf(void);
40+
3941
int mwait_usable(const struct cpuinfo_x86 *);
4042

4143
unsigned int x86_family(unsigned int sig);

arch/x86/include/asm/fpu/api.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ static inline bool fpstate_is_confidential(struct fpu_guest *gfpu)
162162
}
163163

164164
/* prctl */
165-
struct task_struct;
166-
extern long fpu_xstate_prctl(struct task_struct *tsk, int option, unsigned long arg2);
165+
extern long fpu_xstate_prctl(int option, unsigned long arg2);
167166

168167
#endif /* _ASM_X86_FPU_API_H */

arch/x86/include/asm/fpu/internal.h

Whitespace-only changes.

arch/x86/include/asm/mmx.h

Whitespace-only changes.

0 commit comments

Comments
 (0)