diff options
| author | Thomas Gleixner <[email protected]> | 2021-10-21 15:55:09 -0700 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2021-10-26 10:18:09 +0200 |
| commit | c33f0a81a2cf3920465309ce683534751bb86485 (patch) | |
| tree | bc4f3638b7a069ff3bc7072f3d9207ee101253b5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6f6a7c09c4065a5b140194dfcfe4cf7104fec4d2 (diff) | |
x86/fpu: Add fpu_state_config::legacy_features
The upcoming prctl() which is required to request the permission for a
dynamically enabled feature will also provide an option to retrieve the
supported features. If the CPU does not support XSAVE, the supported
features would be 0 even when the CPU supports FP and SSE.
Provide separate storage for the legacy feature set to avoid that and fill
in the bits in the legacy init function.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Chang S. Bae <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions