Received: by 10.223.176.46 with SMTP id f43csp1173695wra; Sat, 20 Jan 2018 12:31:07 -0800 (PST) X-Google-Smtp-Source: AH8x226mQG5zTqVAbuOrPE6zZ0NRrW8xmIJ7oY2RxLlsTGa8Zw4U3PLBQTOkFLbd3OYQmAlCa/zW X-Received: by 10.101.97.22 with SMTP id z22mr2946015pgu.24.1516480267689; Sat, 20 Jan 2018 12:31:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516480267; cv=none; d=google.com; s=arc-20160816; b=Oky5vjYrTVEe12PMo8udMpiE69hNJrpPSguyG+g6Yo6VmMNuLZ3ITbEXrPzjJDdF4o lWCRrmmTrHbaoCPskh3ETbIejPxxZFddQKk3Cy5r1TylBMqOGmfhvrODT0vGV82kS/Vm YxdVvNLChC7N5T34I++JAjFtwzAyhGEkAyct/vjF2JPvtDZGMsdthGUc88d5BJzDLGI6 y1DxKsyr7IklbiJOV1Iek/y2q8lrQibPatZ5KOEll9xIJhJUsclFfiZjtiPFC7WFG8Xs v/s4anmoKk9n7dMsvBPmVja4FSWyyEpJpa7cdz+gtjcAdz4Y8Rj/IoI3sTcu4FOO+Iin T4Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=1b/7qYNFQg5cG0jRCAzgw1X5T7W6XfFunRYUaD9NXOk=; b=LMJ6eKRi26NS6SDKz+zjg12hi84QY7/aUGYYmV+jkcN62mtnf8+PxI87K25KvZ1mgv LvqKHRfBLaeAa40VH/OIl2CzpLr3m1pST5SszvmtlnQLkRKaIsJHdpnnqgPThghVO0cF BytRGSV4OOzama58D99KBy6uWoZex9Xy2PZsFF2eJhcPobkFGqlQ6fsfWBldf9/2xJas FCYhoyXxRgvN98NszbcF5FLhBOdbb8KtzxvogoKfTiK/+2c6o3k2IRo5NJNLnw34mtW7 zo53ZP7HapYEzxu/SP1h2UzOTw3LlhBgf/rH4VoDZ+QdCcxe4pzItPxAgEYkTkv3/URH FcHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si10545777pgq.542.2018.01.20.12.30.54; Sat, 20 Jan 2018 12:31:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756745AbeATU3b (ORCPT + 99 others); Sat, 20 Jan 2018 15:29:31 -0500 Received: from mail.skyhub.de ([5.9.137.197]:37758 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756615AbeATU30 (ORCPT ); Sat, 20 Jan 2018 15:29:26 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lJVtPy6a_FcZ; Sat, 20 Jan 2018 21:29:24 +0100 (CET) Received: from pd.tnic (p200300EC2BE1B200747F3329D7103F5F.dip0.t-ipconnect.de [IPv6:2003:ec:2be1:b200:747f:3329:d710:3f5f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 85CB31EC0291; Sat, 20 Jan 2018 21:29:24 +0100 (CET) Date: Sat, 20 Jan 2018 21:29:17 +0100 From: Borislav Petkov To: David Woodhouse Cc: arjan@linux.intel.com, tglx@linutronix.de, karahmed@amazon.de, x86@kernel.org, linux-kernel@vger.kernel.org, tim.c.chen@linux.intel.com, peterz@infradead.org, pbonzini@redhat.com, ak@linux.intel.com, torvalds@linux-foundation.org, gregkh@linux-foundation.org Subject: Re: [PATCH 1/4] x86/cpufeatures: Add Intel feature bits for Speculation Control Message-ID: <20180120202917.wl3ifriy2iyfti4u@pd.tnic> References: <1516449813-7654-1-git-send-email-dwmw@amazon.co.uk> <1516449813-7654-2-git-send-email-dwmw@amazon.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1516449813-7654-2-git-send-email-dwmw@amazon.co.uk> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 20, 2018 at 12:03:30PM +0000, David Woodhouse wrote: > Add three feature bits exposed by new microcode on Intel CPUs for > speculation control. We would now be up to five bits in CPUID(7).RDX > so take them out of the 'scattered' features and make a proper word > for them instead. ... as that leaf is a pure feature bits leaf. > > Signed-off-by: David Woodhouse > --- > arch/x86/include/asm/cpufeature.h | 7 +++++-- > arch/x86/include/asm/cpufeatures.h | 12 +++++++++--- > arch/x86/include/asm/disabled-features.h | 3 ++- > arch/x86/include/asm/required-features.h | 3 ++- > arch/x86/kernel/cpu/common.c | 1 + > arch/x86/kernel/cpu/scattered.c | 2 -- > 6 files changed, 19 insertions(+), 9 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.