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

From: Ingo Molnar
Date: Fri May 20 2016 - 03:12:13 EST



* Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx> wrote:

> 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(-)

Hm, the series does not apply cleanly:

patching file arch/x86/include/asm/fpu/xstate.h
patching file arch/x86/include/asm/processor.h
patching file arch/x86/kernel/fpu/init.c
patching file arch/x86/kernel/fpu/signal.c
patching file arch/x86/kernel/fpu/xstate.c
Hunk #4 FAILED at 552.
1 out of 6 hunks FAILED -- rejects in file arch/x86/kernel/fpu/xstate.c

which suggests that this series isn't against a recent x86 tree, right?

Thanks,

Ingo