[GIT PULL] x86/percpu changes for v6.10
From: Ingo Molnar
Date: Mon May 13 2024 - 03:57:16 EST
Linus,
Please pull the latest x86/percpu Git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-percpu-2024-05-13
# HEAD: 93cfa544cf9e4771def159002304a2e366cd97af x86/percpu: Introduce raw_cpu_read_long() to reduce ifdeffery
x86/percpu changes for v6.10:
- Expand the named address spaces optimizations down to
GCC 9.1+.
- Re-enable named address spaces with sanitizers for GCC 13.3+
- Generate better this_percpu_xchg_op() code
- Introduce raw_cpu_read_long() to reduce ifdeffery
- Simplify the x86_this_cpu_test_bit() et al macros
- Address Sparse warnings
- Misc cleanups & fixes
Thanks,
Ingo
------------------>
Uros Bizjak (11):
x86/percpu: Convert this_percpu_xchg_op() from asm() to C code, to generate better code
x86/percpu: Move raw_percpu_xchg_op() to a better place
x86/percpu: Re-enable named address spaces with KASAN for GCC 13.3+
x86/percpu: Enable named address spaces for GCC 9.1+
x86/percpu: Unify arch_raw_cpu_ptr() defines
x86/percpu: Do not use this_cpu_read_stable_8() for 32-bit targets
x86/percpu: Use __force to cast from __percpu address space
x86/percpu: Re-enable named address spaces with sanitizers for GCC 13.3+
x86/percpu: Fix x86_this_cpu_variable_test_bit() asm template
x86/percpu: Rewrite x86_this_cpu_test_bit() and friends as macros
x86/percpu: Introduce raw_cpu_read_long() to reduce ifdeffery
arch/um/include/asm/cpufeature.h | 3 +-
arch/x86/Kconfig | 14 ++--
arch/x86/include/asm/cpufeature.h | 3 +-
arch/x86/include/asm/percpu.h | 157 +++++++++++++++++---------------------
4 files changed, 78 insertions(+), 99 deletions(-)