Re: [PATCH 00/19] x86, mpx updates for 4.2 (take 7)

From: Ingo Molnar
Date: Wed May 20 2015 - 06:06:03 EST



* Dave Hansen <dave@xxxxxxxx> wrote:

> Hi x86 maintainers,
>
> There are a few basic things going on here:
> 1. Make FPU/xsave code preempt safe and work properly
> 2. Add trace points to make kernel and app debugging easier
> 3. Add a boot-time disable for mpx
> 4. Rewrite the unmapping code.
> 5. Support 32-bit binaries to run on 64-bit kernels
>
> This sees breakage unless either booted with 'noxsaves'
> or if it has Fenghua's set from here applied:
>
> http://lkml.kernel.org/r/1429678319-61356-1-git-send-email-fenghua.yu@xxxxxxxxx
>
> This set is also available against 4.1-rc3 in git:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-mpx.git mpx-v22

Yeah, so as a first step, could you please test that the patch below
solves the crashes as well, without having to specify 'noxsaves' on
the boot line?

That would make it possible to apply your MPX fixes to v4.2,
independently of the work to re-enable proper XSAVES support.

Please also merge your queue on top of tip:x86/fpu (or tip/master).

Thanks,

Ingo

===================>