Re: [PATCH v2 0/9] x86/xsaves: Fix XSAVES known issues

From: Yu-cheng Yu
Date: Thu Feb 25 2016 - 16:09:55 EST


On Thu, Feb 25, 2016 at 12:57:28PM -0800, Dave Hansen wrote:
> On 02/25/2016 12:26 PM, Yu-cheng Yu wrote:
> > Patch 9 re-enables XSAVES.
>
> Could we also add one more thing to this: A big, fat warning that
> supervisor states are not supported? We might get that from an eventual
> use of xfeature_uncompacted_offset(), but we need something that's very
> clear.
>
> I just don't want somebody coming along and shoving a supervisor state
> in to XCR0 and expecting it to work just because we have XSAVES support
> itself. That might happen in-tree or out-of-tree as things get prototyped.

I will do that.

Yu-cheng