[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <00e786f8-033e-3d55-305c-385fa262fe5b@intel.com>
Date: Fri, 11 Jun 2021 17:40:25 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Cc: Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Fenghua Yu <fenghua.yu@...el.com>,
Tony Luck <tony.luck@...el.com>,
Yu-cheng Yu <yu-cheng.yu@...el.com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Borislav Petkov <bp@...e.de>,
Peter Zijlstra <peterz@...radead.org>,
Kan Liang <kan.liang@...ux.intel.com>
Subject: Re: [patch 00/41] x86/fpu: Spring cleaning and PKRU sanitizing
On 6/11/21 5:24 PM, Thomas Gleixner wrote:
> The Intel SDM states in volume 1, chapter 13.6
>
> PROCESSOR TRACKING OF XSAVE-MANAGED STATE
>
> * PKRU state. PKRU state is in its initial configuration if the value
> of the PKRU is 0.>
...
> IOW there is no consistency vs. XINUSE and initial state guaranteed at
> all. So why should the kernel worry about this?
This is my feeling on it as well. I may be a bit corrupted by having
talked to the hardware folks who have built the init state "trackers",
but I've always had the opinion that XINUSE is very weakly defined.
There are some other bits of the SDM that you noted that clearly call
out that XINUSE is not strictly tied to the *value* of the component.
Powered by blists - more mailing lists