Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

Dave Hansen
2015-05-08T17:42:19Z

On 05/05/2015 10:27 AM, Borislav Petkov wrote:
> Yeah, I said "Applied" but didn't know at the time Ingo was doing the
> big FPU cleanup:
>
> https://lkml.kernel.org/r/1430843228-13749-1-git-send-email-mingo@kernel.org
>
> So let's wait until the dust settles, I think rediffing this patch
> should be easy and simply made to call fpu__save() which is the new name
> but we'll have to doublecheck.

Hi Borislav,

This fixes a bug present in kernels today. Until we have an ETA for
Ingo's stuff to get merged, I'd really hope you can consider taking
bugfixes like these.

BTW, I didn't really expect you to pull this in directly. I think it's
easier if the entire MPX set is pulled in at once. Otherwise, the x86
maintainers will have to drop this from the set before merging, and it
might not be 100% obvious how this patch got merged via another route.