Re: [PATCH v6 07/13] x86/xsaves: Fix PTRACE frames for XSAVES

From: Ingo Molnar
Date: Wed May 11 2016 - 11:16:24 EST



* Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx> wrote:

> On 05/10/2016 04:29 PM, Yu-cheng Yu wrote:
> > XSAVES uses compacted format and is a kernel instruction. The kernel
> > should use standard-format, non-supervisor state data for PTRACE.
> >
> > Signed-off-by: Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx>
>
> This looks fine. There are a few comments that could use some sprucing
> up, like:
>
> + /*
> + * Reject if the user sets any forbidden features.
> + */
>
> But it's minor stuff.
>
> Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxx>

Well it's too late for v4.7 due to intrusiveness, so please refine the series and
also incorporate the cleanups requested by Boris. I can put it into -tip whenever
you guys submit it, but it will have to wait for v4.8 most likely.

Thanks,

Ingo