Skip to content

x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()

Sebastian Andrzej Siewior kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()arch/x86/include/asm/fpu/signal.h arch/x86/kernel/fpu/regset.c arch/x86/kernel/fpu/signal.c+18 -290 replies
2/22x86/fpu: Remove fpu__restore()Documentation/preempt-locking.txt arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/core.c +2 more+2 -320 replies
3/22x86/fpu: Remove preempt_disable() in fpu__clear()arch/x86/kernel/fpu/core.c+0 -20 replies
4/22x86/fpu: Always init the `state' in fpu__clear()arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/core.c arch/x86/math-emu/fpu_entry.c+2 -70 replies
5/22x86/fpu: Remove fpu->initialized usage in copy_fpstate_to_sigframe()arch/x86/kernel/fpu/signal.c+8 -270 replies
6/22x86/fpu: Don't save fxregs for ia32 frames in copy_fpstate_to_sigframe()arch/x86/kernel/fpu/signal.c+0 -40 replies
7/22x86/fpu: Remove fpu->initializedarch/x86/ia32/ia32_signal.c arch/x86/include/asm/fpu/internal.h arch/x86/include/asm/fpu/types.h +9 more+53 -1210 replies
8/22x86/fpu: Remove user_fpu_begin()arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/core.c arch/x86/kernel/fpu/signal.c+1 -210 replies
9/22x86/fpu: Add (__)make_fpregs_active helpersarch/x86/include/asm/fpu/api.h arch/x86/include/asm/fpu/internal.h+22 -80 replies
10/22x86/fpu: Make __raw_xsave_addr() use feature number instead of maskarch/x86/kernel/fpu/xstate.c+11 -110 replies
11/22x86/fpu: Make get_xsave_field_ptr() and get_xsave_addr() use feature number instead of maskarch/x86/include/asm/fpu/xstate.h arch/x86/kernel/fpu/xstate.c arch/x86/kernel/traps.c +2 more+30 -320 replies
12/22x86/fpu: Only write PKRU if it is different from currentarch/x86/include/asm/special_insns.h+6 -02 replies
13/22x86/pkeys: Don't check if PKRU is zero before writting itarch/x86/mm/pkeys.c+0 -70 replies
14/22x86/fpu: Eager switch PKRU statearch/x86/include/asm/fpu/internal.h arch/x86/include/asm/fpu/xstate.h+19 -26 replies
15/22x86/entry: Add TIF_NEED_FPU_LOADarch/x86/include/asm/fpu/internal.h arch/x86/include/asm/thread_info.h+8 -00 replies
16/22x86/fpu: Always store the registers in copy_fpstate_to_sigframe()arch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/signal.c+13 -660 replies
17/22x86/fpu: Prepare copy_fpstate_to_sigframe() for TIF_NEED_FPU_LOADarch/x86/kernel/fpu/signal.c+10 -10 replies
18/22x86/fpu: Update xstate's PKRU value on write_pkru()arch/x86/include/asm/pgtable.h+18 -20 replies
19/22x86/fpu: Inline copy_user_to_fpregs_zeroing()arch/x86/kernel/fpu/signal.c+19 -230 replies
20/22x86/fpu: Let __fpu__restore_sig() restore the !32bit+fxsr frame from kernel memoryarch/x86/include/asm/fpu/internal.h arch/x86/kernel/fpu/signal.c+73 -240 replies
21/22x86/fpu: Merge the two code paths in __fpu__restore_sig()arch/x86/kernel/fpu/signal.c+57 -890 replies
22/22x86/fpu: Defer FPU state load until return to userspacearch/x86/entry/common.c arch/x86/include/asm/fpu/api.h arch/x86/include/asm/fpu/internal.h +7 more+180 -650 replies

Reviews trailers per patch

5 of 22 patches have a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/22A-b
2/22
3/22R-b
4/22R-b
5/22
6/22
7/22
8/22R-b
9/22
10/22R-b
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

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

Read the v1 thread