Re: [RFC][PATCH] x86: proposed new ARCH_CAPABILITIES MSR bit for RSB-underflow

2018-02-16 Thread Arjan van de Ven
On 2/16/2018 11:43 AM, Linus Torvalds wrote: On Fri, Feb 16, 2018 at 11:38 AM, Linus Torvalds wrote: Of course, your patch still doesn't allow for "we claim to be skylake for various other independent reasons, but the RSB issue is fixed". .. maybe nobody ever has a reason to do that, though?

Re: [RFC][PATCH] x86: proposed new ARCH_CAPABILITIES MSR bit for RSB-underflow

2018-02-16 Thread Linus Torvalds
On Fri, Feb 16, 2018 at 11:38 AM, Linus Torvalds wrote: > > Of course, your patch still doesn't allow for "we claim to be skylake > for various other independent reasons, but the RSB issue is fixed". .. maybe nobody ever has a reason to do that, though? Who knows, virtualization people may simpl

Re: [RFC][PATCH] x86: proposed new ARCH_CAPABILITIES MSR bit for RSB-underflow

2018-02-16 Thread Linus Torvalds
On Fri, Feb 16, 2018 at 11:17 AM, Dave Hansen wrote: > > Intel is considering adding a new bit to the IA32_ARCH_CAPABILITIES > MSR to tell when RSB underflow might be happen. Feedback on this > would be greatly appreciated before the specification is finalized. Yes, please. It would be lovely to

[RFC][PATCH] x86: proposed new ARCH_CAPABILITIES MSR bit for RSB-underflow

2018-02-16 Thread Dave Hansen
Intel is considering adding a new bit to the IA32_ARCH_CAPABILITIES MSR to tell when RSB underflow might be happen. Feedback on this would be greatly appreciated before the specification is finalized. --- Background: The RSB is a microarchitectural structure that attempts to help predict the b