mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] x86/fpu: Complete the removal of cpu_has_xfeatures()
@ 2026-12-06  5:12 Eric Biggers
  2026-12-06  5:12 ` [PATCH 1/4] x86/fpu: Check for missing CET_USER xstate component Eric Biggers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Biggers @ 2026-12-06  5:12 UTC (permalink / raw)
  To: x86, Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen
  Cc: linux-kernel, Christoph Hellwig, Dapeng Mi, Kan Liang,
	Peter Zijlstra, Jiaming Zhang, Eric Biggers

This series completes the removal of cpu_has_xfeatures(), which was
originally attempted in
https://lore.kernel.org/all/20260901145740.42337-1-ebiggers@kernel.org/
but the actual removal was delayed because a new caller appeared.
Patches 1-3 address that new caller, then patch 4 removes
cpu_has_xfeatures().

Patch 1 also happens to fix the get_xsave_addr() warning reported by
Jiaming Zhang.  (I know it's debatable whether it's really a "bug", as
it requires a buggy CPU or hypervisor.  I'll let the x86 maintainers
decide whether they want to add Fixes and Cc stable to patch 1.)

This applies to next-20261204.

Eric Biggers (4):
  x86/fpu: Check for missing CET_USER xstate component
  x86/fpu: Check for missing APX xstate component
  perf/x86/intel: Remove redundant cpu_has_xfeatures() checks
  x86/fpu: Remove cpu_has_xfeatures()

 arch/x86/events/intel/core.c     | 22 ++++--------
 arch/x86/include/asm/fpu/api.h   |  9 -----
 arch/x86/kernel/cpu/cpuid-deps.c |  1 +
 arch/x86/kernel/fpu/xstate.c     | 60 ++++++++++----------------------
 4 files changed, 25 insertions(+), 67 deletions(-)


base-commit: 29beb21c21ada7207692b2d69fc58dcd15dab6e9
-- 
2.56.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-06  5:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-06  5:12 [PATCH 0/4] x86/fpu: Complete the removal of cpu_has_xfeatures() Eric Biggers
2026-12-06  5:12 ` [PATCH 1/4] x86/fpu: Check for missing CET_USER xstate component Eric Biggers
2026-12-06  5:12 ` [PATCH 2/4] x86/fpu: Check for missing APX " Eric Biggers
2026-12-06  5:12 ` [PATCH 3/4] perf/x86/intel: Remove redundant cpu_has_xfeatures() checks Eric Biggers
2026-12-06  5:12 ` [PATCH 4/4] x86/fpu: Remove cpu_has_xfeatures() Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®