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 ; 20 Feb 2020 10:10:15 -0000 Received: from esa4.hc3370-68.iphmx.com ([216.71.155.144]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1j4imc-0005Wr-EC for speck@linutronix.de; Thu, 20 Feb 2020 11:10:15 +0100 Subject: [MODERATED] Re: [PATCH 1/2] more sampling fun 1 References: <20200220100745.GA30404@zn.tnic> From: Andrew Cooper Message-ID: <42389fc9-72b1-e04c-cc44-21487a0006e0@citrix.com> Date: Thu, 20 Feb 2020 10:10:03 +0000 MIME-Version: 1.0 In-Reply-To: <20200220100745.GA30404@zn.tnic> Content-Type: multipart/mixed; boundary="0Y0Joy1NZPEifVYivlBN2Nc6csTrRAh7G" To: speck@linutronix.de List-ID: --0Y0Joy1NZPEifVYivlBN2Nc6csTrRAh7G Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 20/02/2020 10:07, speck for Borislav Petkov wrote: > On Thu, Feb 06, 2020 at 02:11:02PM -0800, speck for mark gross wrote: >> From: mark gross >> Subject: [PATCH 1/2] Add capability to specify a range of steppings in= the >> >> Intel has produced processors with the same CPUID family+model. Code >> may need to check the stepping when programming model specific behavio= r. >> >> Add an API to allow easy specification of stepping or range of steppin= gs >> with a 16 bit bitmask. >> >> Update cpu_vuln_whitelist using this new API. >> >> I implemented this in the way I did to avoid modifying x86_cpu_id as >> that structure is an exported ABI and any change would impact user mod= e >> code using the structure. >> >> Signed-off-by: mark gross >> Reviewed-by: tony luck >> --- >> arch/x86/include/asm/cpu_device_id.h | 12 ++++++++++++ >> arch/x86/kernel/cpu/common.c | 28 ++++++++++++++-------------= - >> arch/x86/kernel/cpu/match.c | 26 ++++++++++++++++++++++++++ >> 3 files changed, 52 insertions(+), 14 deletions(-) > Why isn't this sent to lkml like a normal patch? > Because it is under embargo until May 12th. ~Andrew --0Y0Joy1NZPEifVYivlBN2Nc6csTrRAh7G--