From: Eric Biggers <ebiggers@kernel.org>
To: x86@kernel.org, Thomas Gleixner <tglx@kernel.org>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Dapeng Mi <dapeng1.mi@linux.intel.com>,
Kan Liang <kan.liang@linux.intel.com>,
Peter Zijlstra <peterz@infradead.org>,
Jiaming Zhang <r772577952@gmail.com>,
Eric Biggers <ebiggers@kernel.org>
Subject: [PATCH 0/4] x86/fpu: Complete the removal of cpu_has_xfeatures()
Date: Sat, 5 Dec 2026 21:12:21 -0800 [thread overview]
Message-ID: <20261206051225.298193-1-ebiggers@kernel.org> (raw)
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
next reply other threads:[~2026-12-06 5:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-06 5:12 Eric Biggers [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261206051225.298193-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=bp@alien8.de \
--cc=dapeng1.mi@linux.intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=hch@lst.de \
--cc=kan.liang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=r772577952@gmail.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.