Re: [RFC PATCH v1 01/18] x86: Set the write-protect cache mode for AMD processors

From: Borislav Petkov
Date: Wed Apr 27 2016 - 11:32:13 EST


On Wed, Apr 27, 2016 at 08:12:56AM -0700, Andy Lutomirski wrote:
> I think there are some errata

Isn't that addressed by the first branch of the if-test in pat_init():

if ((c->x86_vendor == X86_VENDOR_INTEL) &&
(((c->x86 == 0x6) && (c->x86_model <= 0xd)) ||
((c->x86 == 0xf) && (c->x86_model <= 0x6)))) {


--
Regards/Gruss,
Boris.

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