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 10:40:29 -0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1iIsLU-0006Hw-Cj for speck@linutronix.de; Fri, 11 Oct 2019 12:40:28 +0200 Received: by mail-wm1-x331.google.com with SMTP id m18so9716436wmc.1 for ; Fri, 11 Oct 2019 03:40:28 -0700 (PDT) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id e15sm12409683wrt.94.2019.10.11.03.40.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Oct 2019 03:40:21 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Subject: [MODERATED] [PATCH v6 2/5] NX 2 Date: Fri, 11 Oct 2019 12:40:13 +0200 Message-Id: <1570790416-25882-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1570790416-25882-1-git-send-email-pbonzini@redhat.com> References: <1570790416-25882-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 To: speck@linutronix.de List-ID: 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 --- 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