[GIT PULL] x86/urgent for 6.1

From: Borislav Petkov
Date: Sun Oct 23 2022 - 05:37:11 EST


Hi Linus,

as it is usually the case, right after a major release, the tip urgent
branches accumulate a couple more fixes than normal. And here is the
x86, a bit bigger, urgent pile.

Please pull,
thx.

---

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.0_rc2

for you to fetch changes up to 471f0aa7fa64e23766a1473b32d9ec3f0718895a:

x86/fpu: Fix copy_xstate_to_uabi() to copy init states correctly (2022-10-21 15:22:09 -0700)

----------------------------------------------------------------
- Use the correct CPU capability clearing function on the error path in
Intel perf LBR

- A CFI fix to ftrace along with a simplification

- Adjust handling of zero capacity bit mask for resctrl cache allocation
on AMD

- A fix to the AMD microcode loader to attempt patch application on
every logical thread

- A couple of topology fixes to handle CPUID leaf 0x1f enumeration info
properly

- Drop a -mabi=ms compiler option check as both compilers support it now
anyway

- A couple of fixes to how the initial, statically allocated FPU buffer
state is setup and its interaction with dynamic states at runtime

----------------------------------------------------------------
Babu Moger (1):
x86/resctrl: Fix min_cbm_bits for AMD

Borislav Petkov (1):
x86/microcode/AMD: Apply the patch early on every logical thread

Chang S. Bae (4):
x86/fpu: Configure init_fpstate attributes orderly
x86/fpu: Fix the init_fpstate size check with the actual size
x86/fpu: Exclude dynamic states from init_fpstate
x86/fpu: Fix copy_xstate_to_uabi() to copy init states correctly

Maxim Levitsky (1):
perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()

Nathan Chancellor (1):
x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB

Peter Zijlstra (2):
x86/ftrace: Remove ftrace_epilogue()
ftrace,kcfi: Separate ftrace_stub() and ftrace_stub_graph()

Zhang Rui (3):
hwmon/coretemp: Handle large core ID value
x86/topology: Fix multiple packages shown on a single-package system
x86/topology: Fix duplicated core ID within a package

arch/arm64/kernel/entry-ftrace.S | 7 ++++-
arch/x86/Kconfig | 1 -
arch/x86/events/intel/lbr.c | 2 +-
arch/x86/kernel/cpu/microcode/amd.c | 16 +++++++++--
arch/x86/kernel/cpu/resctrl/core.c | 8 ++----
arch/x86/kernel/cpu/topology.c | 16 +++++++----
arch/x86/kernel/fpu/init.c | 8 ------
arch/x86/kernel/fpu/xstate.c | 42 +++++++++++++++-------------
arch/x86/kernel/ftrace_64.S | 34 +++++++++-------------
drivers/hwmon/coretemp.c | 56 +++++++++++++++++++++++++++----------
include/asm-generic/vmlinux.lds.h | 18 ++++++++----
11 files changed, 122 insertions(+), 86 deletions(-)

--
Regards/Gruss,
Boris.

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