[MODERATED] Re: [PATCH 1/2] more sampling fun 1
mark gross <[email protected]> Thu, 20 Feb 2020 09:53:40 -0800
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Feb 20, 2020 at 11:07:45AM +0100, speck for Borislav Petkov wrote: > On Thu, Feb 06, 2020 at 02:11:02PM -0800, speck for mark gross wrote: > > From: mark gross <[email protected]> > > 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 behavior. > > > > Add an API to allow easy specification of stepping or range of steppings > > 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 mode > > code using the structure. > > > > Signed-off-by: mark gross <[email protected]> > > Reviewed-by: tony luck <[email protected]> > > --- > > 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 its only needed in the context of the WIP mitigation patch that I'm having issues sending propperly. Sigh, I guess I'll just put it in a reply. --mark > > -- > Regards/Gruss, > Boris. > > SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg > --