diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-09-01 07:57:33 -0700 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-09-02 10:35:40 -0700 |
| commit | 518aa9948e4f2ba69b7066371d3ac8e4d31d604e (patch) | |
| tree | 1e01fb040b6a3c1ebf866814e7ab921461e33b7c /tools/perf/scripts/python/task-analyzer.py | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
x86/fpu: Check for missing AVX and AVX-512 xstate bits
If the CPU declares AVX or AVX-512 support, verify that the corresponding
xstate bits are also set. If not, warn and clear them.
This eliminates the perceived need for AVX and AVX-512 optimized code in the
kernel to call cpu_has_xfeatures(). That has never been universally done,
which strongly suggests that it has never really been needed in practice, but
this should remove any remaining doubt.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260901145740.42337-2-ebiggers@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
