[GIT PULL] x86 fixes

Ingo Molnar
2025-04-04T09:57:55Z

Linus,

Please pull the latest x86/urgent Git tree from:

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

# HEAD: e5f1e8af9c9e151ecd665f6d2e36fb25fec3b110 x86/fred: Fix system hang during S4 resume with FRED enabled

Miscellaneous x86 fixes:

- Fix a performance regression on AMD iGPU and dGPU drivers,
related to the unintended activation of DMA bounce buffers
that regressed game performance if KASLR disturbed things
just enough.

- Fix a copy_user_generic() performance regression on certain
older non-FSRM/ERMS CPUs

- Fix a Clang build warning due to a semantic merge conflict
the Kunit tree generated with the x86 tree

- Fix FRED related system hang during S4 resume

- Remove an unused API

Thanks,

Ingo

------------------>
Balbir Singh (1):
x86/mm/init: Handle the special case of device private pages in add_pages(), to not increase max_pfn and trigger dma_addressing_limited() bounce buffers

Dr. David Alan Gilbert (1):
x86/platform/iosf_mbi: Remove unused iosf_mbi_unregister_pmic_bus_access_notifier()

Herton R. Krzesinski (1):
x86/uaccess: Improve performance by aligning writes to 8 bytes in copy_user_generic(), on non-FSRM/ERMS CPUs

Nathan Chancellor (1):
x86/tools: Drop duplicate unlikely() definition in insn_decoder_test.c

Xin Li (Intel) (1):
x86/fred: Fix system hang during S4 resume with FRED enabled

arch/x86/include/asm/iosf_mbi.h | 7 -------
arch/x86/lib/copy_user_64.S | 18 ++++++++++++++++++
arch/x86/mm/init_64.c | 15 ++++++++++++---
arch/x86/platform/intel/iosf_mbi.c | 13 -------------
arch/x86/power/cpu.c | 14 ++++++++++++++
arch/x86/tools/insn_decoder_test.c | 2 --
drivers/gpu/drm/i915/i915_iosf_mbi.h | 6 ------
7 files changed, 44 insertions(+), 31 deletions(-)