historical-speck.lore.kernel.org archive mirror
 help / color / mirror / Atom feed
* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
@ 2020-02-20 10:07 Borislav Petkov
  2020-02-20 10:10 ` Andrew Cooper
  2020-02-20 17:53 ` mark gross
  0 siblings, 2 replies; 9+ messages in thread
From: Borislav Petkov @ 2020-02-20 10:07 UTC (permalink / raw)
  To: speck

On Thu, Feb 06, 2020 at 02:11:02PM -0800, speck for mark gross wrote:
> From: mark gross <mgross@linux.intel.com>
> 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 <mgross@linux.intel.com>
> Reviewed-by: tony luck <tony.luck@intel.com>
> ---
>  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?

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 10:07 [MODERATED] Re: [PATCH 1/2] more sampling fun 1 Borislav Petkov
@ 2020-02-20 10:10 ` Andrew Cooper
  2020-02-20 10:13   ` [MODERATED] " Borislav Petkov
  2020-02-20 17:53 ` mark gross
  1 sibling, 1 reply; 9+ messages in thread
From: Andrew Cooper @ 2020-02-20 10:10 UTC (permalink / raw)
  To: speck

[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]

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 <mgross@linux.intel.com>
>> 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 <mgross@linux.intel.com>
>> Reviewed-by: tony luck <tony.luck@intel.com>
>> ---
>>  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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 10:10 ` Andrew Cooper
@ 2020-02-20 10:13   ` Borislav Petkov
  2020-02-20 11:00     ` [MODERATED] " Andrew Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Borislav Petkov @ 2020-02-20 10:13 UTC (permalink / raw)
  To: speck

On Thu, Feb 20, 2020 at 10:10:03AM +0000, speck for Andrew Cooper wrote:
> Because it is under embargo until May 12th.

Maybe 2/2 is - which I don't have in my mbox - but by staring only at
1/2 there's nothing to embargo there AFAICT.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 10:13   ` [MODERATED] " Borislav Petkov
@ 2020-02-20 11:00     ` Andrew Cooper
  2020-02-20 12:39       ` Greg KH
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Cooper @ 2020-02-20 11:00 UTC (permalink / raw)
  To: speck

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

On 20/02/2020 10:13, speck for Borislav Petkov wrote:
> On Thu, Feb 20, 2020 at 10:10:03AM +0000, speck for Andrew Cooper wrote:
>> Because it is under embargo until May 12th.
> Maybe 2/2 is - which I don't have in my mbox - but by staring only at
> 1/2 there's nothing to embargo there AFAICT.
>

Right, but a lone patch (coming pre-reviewed even!) adding stepping
support into the speculative model checking is going to be about as
subtle as the KPTI work was :)

~Andrew


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 11:00     ` [MODERATED] " Andrew Cooper
@ 2020-02-20 12:39       ` Greg KH
  0 siblings, 0 replies; 9+ messages in thread
From: Greg KH @ 2020-02-20 12:39 UTC (permalink / raw)
  To: speck

On Thu, Feb 20, 2020 at 11:00:40AM +0000, speck for Andrew Cooper wrote:
> On 20/02/2020 10:13, speck for Borislav Petkov wrote:
> > On Thu, Feb 20, 2020 at 10:10:03AM +0000, speck for Andrew Cooper wrote:
> >> Because it is under embargo until May 12th.
> > Maybe 2/2 is - which I don't have in my mbox - but by staring only at
> > 1/2 there's nothing to embargo there AFAICT.
> >
> 
> Right, but a lone patch (coming pre-reviewed even!) adding stepping
> support into the speculative model checking is going to be about as
> subtle as the KPTI work was :)

Don't pre-review it then.  Just submit it like any other normal cleanup
patch.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 10:07 [MODERATED] Re: [PATCH 1/2] more sampling fun 1 Borislav Petkov
  2020-02-20 10:10 ` Andrew Cooper
@ 2020-02-20 17:53 ` mark gross
  2020-02-20 18:26   ` Borislav Petkov
  1 sibling, 1 reply; 9+ messages in thread
From: mark gross @ 2020-02-20 17:53 UTC (permalink / raw)
  To: speck

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 <mgross@linux.intel.com>
> > 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 <mgross@linux.intel.com>
> > Reviewed-by: tony luck <tony.luck@intel.com>
> > ---
> >  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
> -- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 17:53 ` mark gross
@ 2020-02-20 18:26   ` Borislav Petkov
  2020-02-20 19:24     ` mark gross
  2020-02-21 22:12     ` mark gross
  0 siblings, 2 replies; 9+ messages in thread
From: Borislav Petkov @ 2020-02-20 18:26 UTC (permalink / raw)
  To: speck

On Thu, Feb 20, 2020 at 09:53:40AM -0800, speck for mark gross wrote:
> 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.

Actually, your 2/2 was being held by the ML because you've sent,
reportedly, not from the mail address you're subscribed with, to speck@.
It should be fixed now because Thomas added an alias for your other mail
address.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
-- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 18:26   ` Borislav Petkov
@ 2020-02-20 19:24     ` mark gross
  2020-02-21 22:12     ` mark gross
  1 sibling, 0 replies; 9+ messages in thread
From: mark gross @ 2020-02-20 19:24 UTC (permalink / raw)
  To: speck

On Thu, Feb 20, 2020 at 07:26:46PM +0100, speck for Borislav Petkov wrote:
> On Thu, Feb 20, 2020 at 09:53:40AM -0800, speck for mark gross wrote:
> > 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.
> 
> Actually, your 2/2 was being held by the ML because you've sent,
> reportedly, not from the mail address you're subscribed with, to speck@.
> It should be fixed now because Thomas added an alias for your other mail
> address.

I have moved my work to a different workstation recently.... I'll look into
this.

Thanks, 

--mark

> 
> -- 
> Regards/Gruss,
>     Boris.
> 
> SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
> -- 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [MODERATED] Re: [PATCH 1/2] more sampling fun 1
  2020-02-20 18:26   ` Borislav Petkov
  2020-02-20 19:24     ` mark gross
@ 2020-02-21 22:12     ` mark gross
  1 sibling, 0 replies; 9+ messages in thread
From: mark gross @ 2020-02-21 22:12 UTC (permalink / raw)
  To: speck

On Thu, Feb 20, 2020 at 07:26:46PM +0100, speck for Borislav Petkov wrote:
> On Thu, Feb 20, 2020 at 09:53:40AM -0800, speck for mark gross wrote:
> > 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.
> 
> Actually, your 2/2 was being held by the ML because you've sent,
> reportedly, not from the mail address you're subscribed with, to speck@.
> It should be fixed now because Thomas added an alias for your other mail
> address.
>
Fixed my .gitconfig to use mgross@linux.intel.com FWIW I plan to post an update
Monday rebased to rc3.

--mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-02-21 22:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20 10:07 [MODERATED] Re: [PATCH 1/2] more sampling fun 1 Borislav Petkov
2020-02-20 10:10 ` Andrew Cooper
2020-02-20 10:13   ` [MODERATED] " Borislav Petkov
2020-02-20 11:00     ` [MODERATED] " Andrew Cooper
2020-02-20 12:39       ` Greg KH
2020-02-20 17:53 ` mark gross
2020-02-20 18:26   ` Borislav Petkov
2020-02-20 19:24     ` mark gross
2020-02-21 22:12     ` mark gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).