Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753508AbcD0PcJ (ORCPT ); Wed, 27 Apr 2016 11:32:09 -0400 Received: from mail.skyhub.de ([78.46.96.112]:54577 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752270AbcD0PcG (ORCPT ); Wed, 27 Apr 2016 11:32:06 -0400 Date: Wed, 27 Apr 2016 17:31:58 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Tom Lendacky , linux-arch , "linux-efi@vger.kernel.org" , kvm list , "linux-doc@vger.kernel.org" , X86 ML , "linux-kernel@vger.kernel.org" , kasan-dev , "linux-mm@kvack.org" , iommu@lists.linux-foundation.org, Radim =?utf-8?B?S3LEjW3DocWZ?= , Arnd Bergmann , Jonathan Corbet , Matt Fleming , Joerg Roedel , Konrad Rzeszutek Wilk , Paolo Bonzini , Ingo Molnar , "H. Peter Anvin" , Andrey Ryabinin , Alexander Potapenko , Thomas Gleixner , Dmitry Vyukov Subject: Re: [RFC PATCH v1 01/18] x86: Set the write-protect cache mode for AMD processors Message-ID: <20160427153158.GJ21011@pd.tnic> References: <20160426225553.13567.19459.stgit@tlendack-t1.amdoffice.net> <20160426225604.13567.55443.stgit@tlendack-t1.amdoffice.net> <5720D066.7080409@amd.com> <5720D546.6050105@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 419 Lines: 15 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.