[GIT PULL] x86 fixes

From: Ingo Molnar
Date: Sun Apr 07 2024 - 04:15:28 EST


Linus,

Please pull the latest x86/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2024-04-07

# HEAD: b377c66ae3509ccea596512d6afb4777711c4870 x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk

Miscellaneous x86 fixes:

- Fix MCE timer reinit locking
- Fix/improve CoCo guest random entropy pool init
- Fix SEV-SNP late disable bugs
- Fix false positive objtool build warning
- Fix header dependency bug
- Fix resctrl CPU offlining bug

Thanks,

Ingo

------------------>
Arnd Bergmann (1):
x86/numa/32: Include missing <asm/pgtable_areas.h>

Borislav Petkov (AMD) (5):
x86/kvm/Kconfig: Have KVM_AMD_SEV select ARCH_HAS_CC_PLATFORM
x86/cc: Add cc_platform_set/_clear() helpers
x86/CPU/AMD: Track SNP host status with cc_platform_*()
x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()
x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk

Jason A. Donenfeld (1):
x86/coco: Require seeding RNG with RDRAND on CoCo systems

Reinette Chatre (1):
x86/resctrl: Fix uninitialized memory read when last CPU of domain goes offline


arch/x86/coco/core.c | 93 ++++++++++++++++++++++++++++++++++
arch/x86/include/asm/coco.h | 2 +
arch/x86/include/asm/sev.h | 4 +-
arch/x86/kernel/cpu/amd.c | 38 ++++++++------
arch/x86/kernel/cpu/mce/core.c | 4 +-
arch/x86/kernel/cpu/mtrr/generic.c | 2 +-
arch/x86/kernel/cpu/resctrl/internal.h | 3 +-
arch/x86/kernel/setup.c | 2 +
arch/x86/kernel/sev.c | 10 ----
arch/x86/kvm/Kconfig | 1 +
arch/x86/kvm/svm/sev.c | 2 +-
arch/x86/lib/retpoline.S | 1 +
arch/x86/mm/numa_32.c | 1 +
arch/x86/virt/svm/sev.c | 26 +++++++---
drivers/crypto/ccp/sev-dev.c | 2 +-
drivers/iommu/amd/init.c | 4 +-
include/linux/cc_platform.h | 12 +++++
17 files changed, 166 insertions(+), 41 deletions(-)