diff options
author | 2025-04-15 19:16:57 -0700 | |
---|---|---|
committer | 2025-04-16 10:01:00 +0200 | |
commit | 64e54461ab6e8524a8de4e63b7d1a3e4481b5cf3 (patch) | |
tree | 3a7de04e83d0134b978446043e6f2a800d768b84 /scripts/gdb/linux/utils.py | |
parent | x86/fpu: Log XSAVE disablement consistently (diff) | |
download | linux-rng-64e54461ab6e8524a8de4e63b7d1a3e4481b5cf3.tar.xz linux-rng-64e54461ab6e8524a8de4e63b7d1a3e4481b5cf3.zip |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions