Re: [PATCH 1/2] x86/mm/pat: Change pat_disable() to emulate PAT table

From: Borislav Petkov
Date: Tue Mar 15 2016 - 12:33:57 EST


On Tue, Mar 15, 2016 at 11:11:23AM -0600, Toshi Kani wrote:
> While cpu_has_pat is the same as boot_cpu_has(X86_FEATURE_PAT), cpu_has_XXX
> should not be used. ÂSo, this code needs to be changed to use
> boot_cpu_has(X86_FEATURE_PAT) directly.
>
> Is this right?

Yes.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.