From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 11 Oct 2019 13:15:32 -0000 Received: from userp2120.oracle.com ([156.151.31.85]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iIulX-0000kg-2A for speck@linutronix.de; Fri, 11 Oct 2019 15:15:31 +0200 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9BD3k67153384 for ; Fri, 11 Oct 2019 13:15:24 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2vekts1d0q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 11 Oct 2019 13:15:24 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9BD5pp1091313 for ; Fri, 11 Oct 2019 13:15:24 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2vjryc590r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 11 Oct 2019 13:15:24 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9BDFNok015295 for ; Fri, 11 Oct 2019 13:15:23 GMT Date: Fri, 11 Oct 2019 09:18:42 -0400 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: [PATCH v6 2/5] NX 2 Message-ID: <20191011131842.GD31316@char.us.oracle.com> References: <1570790416-25882-1-git-send-email-pbonzini@redhat.com> <1570790416-25882-3-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 In-Reply-To: <1570790416-25882-3-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, Oct 11, 2019 at 03:40:13AM -0700, speck for Paolo Bonzini wrote: > > This patch adds new cpu family ATOM_TREMONT_X to the cpu vunerability > whitelist. ATOM_TREMONT_X is not affected by X86_BUG_ITLB_MULTIHIT. There > may be more bugs not affecting ATOM_TREMONT_X which are not known at > this point and could be added later. > > Signed-off-by: Pawan Gupta > Signed-off-by: Paolo Bonzini Reviewed-by: Konrad Rzeszutek Wilk Thank you! > --- > arch/x86/kernel/cpu/common.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c > index fc00b2349a9f..c652ca9dc046 100644 > --- a/arch/x86/kernel/cpu/common.c > +++ b/arch/x86/kernel/cpu/common.c > @@ -1074,6 +1074,8 @@ static void identify_cpu_without_cpuid(struct cpuinfo_x86 *c) > * good enough for our purposes. > */ > > + VULNWL_INTEL(ATOM_TREMONT_D, NO_ITLB_MULTIHIT), > + > /* AMD Family 0xf - 0x12 */ > VULNWL_AMD(0x0f, NO_MELTDOWN | NO_SSB | NO_L1TF | NO_MDS | NO_SWAPGS | NO_ITLB_MULTIHIT), > VULNWL_AMD(0x10, NO_MELTDOWN | NO_SSB | NO_L1TF | NO_MDS | NO_SWAPGS | NO_ITLB_MULTIHIT), > -- > 1.8.3.1