diff options
author | Chang S. Bae <chang.seok.bae@intel.com> | 2025-04-16 05:16:57 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-16 11:01:00 +0300 |
commit | 64e54461ab6e8524a8de4e63b7d1a3e4481b5cf3 (patch) | |
tree | 3a7de04e83d0134b978446043e6f2a800d768b84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 39cd7fad39ce2ffbeb21939c805ee55f3ec808d4 (diff) | |
download | linux-64e54461ab6e8524a8de4e63b7d1a3e4481b5cf3.tar.xz |
x86/fpu: Refactor xfeature bitmask update code for sigframe XSAVE
Currently, saving register states in the signal frame, the legacy feature
bits are always set in xregs_state->header->xfeatures. This code sequence
can be generalized for reuse in similar cases.
Refactor the logic to ensure a consistent approach across similar usages.
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Link: https://lore.kernel.org/r/20250416021720.12305-8-chang.seok.bae@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions