[PATCH 0/2] Fixes for s3 with parallel bootup

From: Mario Limonciello
Date: Mon Oct 23 2023 - 12:00:55 EST


Parallel bootup on systems that use x2apic broke suspend to ram.
This series ensures x2apic is re-enabled at startup and fixes an exposed
pre-emption issue.

Mario Limonciello (2):
x86: Enable x2apic during resume from suspend if used previously
perf/x86/amd: Don't allow pre-emption in amd_pmu_lbr_reset()

arch/x86/events/amd/lbr.c | 3 ++-
arch/x86/include/asm/smp.h | 1 +
arch/x86/kernel/acpi/sleep.c | 12 ++++++++----
arch/x86/kernel/head_64.S | 15 +++++++++++++++
4 files changed, 26 insertions(+), 5 deletions(-)

--
2.34.1