lkml.org 
[lkml]   [2015]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: xsaves support broken?
Date
> From: Hansen, Dave
> Sent: Monday, March 02, 2015 4:00 PM
>
> Hi Fenghua,
>
> I was testing some new MPX code, and realized that MPX had stopped
> working completely. The prctl() failed to turn it on, which I tracked down to a
> 0 in "BNDCSR" where we expected to see an enable bit.
>
> I realized that I had managed to remove the "noxsaves" boot option from my
> kernel. Re-adding "noxsaves" made MPX work again, and the BNDCSR
> contents were properly passed in to the kernel.
>
> Is it possible that "xsaves" use inside the kernel is simply broken?
>
> Config is here:
>
> http://sr71.net/~dave/intel/config-20150302

Xsaves has been tested by QA since 3.17 with or without MPX. I'm not aware of reported issues.

But MPX is the only code to call the get_xsave_addr kernel API. Though it has been tested before on upstream MPX code.

What changes in your new MPX code?

Thanks.

-Fenghua
\
 
 \ /
  Last update: 2015-03-03 01:21    [W:0.062 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site