Skip to content

x86/fpu/state: Fix XSAVES issues - Part 1

Yu-cheng Yu lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86/fpu/xstate: Define and use fpu_user_xstate_sizearch/x86/include/asm/fpu/xstate.h arch/x86/include/asm/processor.h arch/x86/kernel/fpu/init.c +2 more+73 -370 replies
2/4x86/fpu/xstate: Rename xstate_size to fpu_kernel_xstate_size to distinguish from fpu_user_xstate_sizearch/x86/include/asm/processor.h arch/x86/kernel/fpu/core.c arch/x86/kernel/fpu/init.c +2 more+21 -180 replies
3/4x86/fpu/xstate: Keep init_fpstate.xsave.header.xfeatures as zero for init optimizationarch/x86/kernel/fpu/xstate.c+2 -40 replies
4/4x86/fpu/xstate: Copy xstate registers directly to signal frame when compacted format is in usearch/x86/include/asm/fpu/xstate.h arch/x86/kernel/fpu/signal.c arch/x86/kernel/fpu/xstate.c+4 -20 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDave Hansen
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86/fpu/state: Fix XSAVES issues - Part 1

** Based on tip/master **

This is Part 1 of previous 13 XSAVES patches. Break it down to smaller series. There are no code changes; only minor fixes in the titles.

Fenghua Yu (3):
x86/fpu/xstate: Define and use fpu_user_xstate_size x86/fpu/xstate: Rename xstate_size to fpu_kernel_xstate_size to
distinguish from fpu_user_xstate_size
x86/fpu/xstate: Keep init_fpstate.xsave.header.xfeatures as zero for
init optimization

Yu-cheng Yu (1):
x86/fpu/xstate: Copy xstate registers directly to signal frame when
compacted format is in use

 arch/x86/include/asm/fpu/xstate.h |  2 +-
 arch/x86/include/asm/processor.h  |  3 +-
 arch/x86/kernel/fpu/core.c        |  7 +--
 arch/x86/kernel/fpu/init.c        | 21 +++++----
 arch/x86/kernel/fpu/signal.c      | 32 ++++++++++----
 arch/x86/kernel/fpu/xstate.c      | 92 +++++++++++++++++++++++----------------
 6 files changed, 98 insertions(+), 59 deletions(-)
Signature · 1 line
1.9.1