[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7b0ef81b-c46b-5fa2-6a69-c008310b2e94@intel.com>
Date: Tue, 13 Mar 2018 08:09:48 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: "Kirill A. Shutemov" <kirill@...temov.name>,
Kai Huang <kai.huang@...ux.intel.com>
Cc: peterz@...radead.org, hpa@...or.com, mingo@...nel.org,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
torvalds@...ux-foundation.org, kirill.shutemov@...ux.intel.com,
thomas.lendacky@....com, linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/mm] x86/tme: Detect if TME and MKTME is activated by
BIOS
On 03/13/2018 05:49 AM, Kirill A. Shutemov wrote:
> On Tue, Mar 13, 2018 at 03:12:02PM +1300, Kai Huang wrote:
>> It seems setup_pku() will call get_cpu_cap to restore c->x86_phys_bits
>> later? In which case I think you need to change setup_pku as well.
> Thanks for catching this.
>
> I think setup_pku() shouldn't call get_cpu_cap().
I think if you want to make it illegal to call get_cpu_cap() twice, you
should enforce that.
Powered by blists - more mailing lists