[GIT PULL] x86/cleanups for 5.19

From: Borislav Petkov
Date: Mon May 23 2022 - 11:04:06 EST


Hi Linus,

please pull the usual pile of x86 cleanups for 5.19.

Thx.

---

The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cleanups_for_v5.19_rc1

for you to fetch changes up to d936411dc9caeb3edb992e39c33d4d1d81ca8c08:

x86: Remove empty files (2022-05-20 12:29:26 +0200)

----------------------------------------------------------------
- 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

----------------------------------------------------------------
Borislav Petkov (2):
x86: Remove a.out support
x86: Remove empty files

Ira Weiny (2):
x86/pkeys: Clean up arch_set_user_pkey_access() declaration
x86/pkeys: Remove __arch_set_user_pkey_access() declaration

Jiapeng Chong (1):
x86/process: Fix kernel-doc warning due to a changed function name

Thomas Gleixner (13):
x86/aperfmperf: Dont wake idle CPUs in arch_freq_get_on_cpu()
x86/smp: Move APERF/MPERF code where it belongs
x86/aperfmperf: Separate AP/BP frequency invariance init
x86/aperfmperf: Untangle Intel and AMD frequency invariance init
x86/aperfmperf: Put frequency invariance aperf/mperf data into a struct
x86/aperfmperf: Restructure arch_scale_freq_tick()
x86/aperfmperf: Make parts of the frequency invariance code unconditional
x86/aperfmperf: Store aperf/mperf data for cpu frequency reads
x86/aperfmperf: Replace aperfmperf_get_khz()
x86/aperfmperf: Replace arch_freq_get_on_cpu()
x86/aperfmperf: Integrate the fallback code from show_cpuinfo()
x86/aperfperf: Make it correct on 32bit and UP kernels
x86/prctl: Remove pointless task argument

Xiao Yang (1):
x86/speculation: Add missing srbds=off to the mitigations= help text

Yury Norov (2):
x86: Replace cpumask_weight() with cpumask_empty() where appropriate
x86/mm: Replace nodes_weight() with nodes_empty() where appropriate

Documentation/admin-guide/kernel-parameters.txt | 1 +
MAINTAINERS | 1 -
arch/x86/Kconfig | 7 -
arch/x86/ia32/Makefile | 2 -
arch/x86/ia32/ia32_aout.c | 325 ----------------
arch/x86/include/asm/cpu.h | 2 +
arch/x86/include/asm/fpu/api.h | 3 +-
arch/x86/include/asm/fpu/internal.h | 0
arch/x86/include/asm/mmx.h | 0
arch/x86/include/asm/pkeys.h | 8 -
arch/x86/include/asm/proto.h | 3 +-
arch/x86/include/asm/topology.h | 23 +-
arch/x86/kernel/acpi/cppc.c | 29 +-
arch/x86/kernel/cpu/aperfmperf.c | 480 +++++++++++++++++++-----
arch/x86/kernel/cpu/proc.c | 11 +-
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 14 +-
arch/x86/kernel/fpu/xstate.c | 5 +-
arch/x86/kernel/process.c | 11 +-
arch/x86/kernel/process_32.c | 2 +-
arch/x86/kernel/process_64.c | 4 +-
arch/x86/kernel/smpboot.c | 358 +-----------------
arch/x86/lib/mmx_32.c | 0
arch/x86/mm/amdtopology.c | 2 +-
arch/x86/mm/mmio-mod.c | 2 +-
arch/x86/mm/numa_emulation.c | 4 +-
arch/x86/platform/uv/uv_nmi.c | 2 +-
fs/proc/cpuinfo.c | 6 +-
include/linux/cpufreq.h | 1 -
28 files changed, 441 insertions(+), 865 deletions(-)
delete mode 100644 arch/x86/ia32/ia32_aout.c
delete mode 100644 arch/x86/include/asm/fpu/internal.h
delete mode 100644 arch/x86/include/asm/mmx.h
delete mode 100644 arch/x86/lib/mmx_32.c
--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)