All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: LKML <linux-kernel@vger.kernel.org>,
	the arch/x86 maintainers <x86@kernel.org>,
	"Yu, Fenghua" <fenghua.yu@intel.com>
Subject: xsaves support broken?
Date: Mon, 02 Mar 2015 15:59:32 -0800	[thread overview]
Message-ID: <54F4F964.5030701@intel.com> (raw)

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

             reply	other threads:[~2015-03-02 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 23:59 Dave Hansen [this message]
2015-03-03  0:09 ` xsaves support broken? Yu, Fenghua
2015-03-03  0:24   ` Dave Hansen
2015-03-03  0:34     ` Yu, Fenghua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F4F964.5030701@intel.com \
    --to=dave.hansen@intel.com \
    --cc=fenghua.yu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.