lkml.org 
[lkml]   [2018]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Suggestion: „spectre v2=off“ and „nopti“ per default in "Intel Atom N270" case ?
From
Date
Am 23.05.2018 um 19:07 schrieb Johannes Hirte:
> On 2018 Mai 23, Pavel Machek wrote:
>> On Sat 2018-05-19 21:53:02, Christian Krüger wrote:
>>> Hi,
>>>
>>> Since the old "in-order-execution" Intel CPUs like the Intel Atom N270
>>> (known for being installed in many Netbooks and Nettops) are not sensitive
>>> for "Meltdown" & "Spectre" , wouldn't it be a good idea to exclude these
>>> anyway "weak" CPUs from the costly patches by default?
>>>
>>> Browsing the web, I can "feel the difference" if the matching kernel options
>>> are applied on such a device.
>>
>> Can you also measure the difference? Placebo effect is hard to avoid.
>>
>> But yes, we do not need to do workarounds on non-buggy machines...
>>
>> Pavel
>
> On my Atom N270 there doesn't seem to be any workaround active with
> kernel 4.14.42:
>
> localhost ~ # cat /sys/devices/system/cpu/vulnerabilities/*
> Not affected
> Not affected
> Not affected
>
> Christian, did you verified the mitigations are active on your system?
> What kernels are affected?
>


$ uname -a
Linux user-device 3.13.0-143-generic #192-Ubuntu SMP Tue Feb 27 10:46:44
UTC 2018 i686 i686 i686 GNU/Linux

$ cat /sys/devices/system/cpu/vulnerabilities/*
Vulnerable
Mittigation: OSB (observable speculation barrier, Intel v6)
Mittigation: Full generic repoline

OK, so I've updated the OS on my (usually off-line) Netbook:

$ uname -a
Linux user-device 3.13.0-149-generic #199-Ubuntu SMP Thu May 17 10:12:57
UTC 2018 i686 i686 i686 GNU/Linux

$ cat /sys/devices/system/cpu/vulnerabilities/*
Not affected
Not affected
Not affected
Not affected

Conclusion:
Don't bother others before not checking the latest version. (Actually
this is the first time it made a difference... ).

Sorry for the noise and thanks for listening and all the great work!
Christian

\
 
 \ /
  Last update: 2018-05-23 20:40    [W:0.053 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site