mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-12-21 10:38:04 +01:00
fix(atom): properly detect Nxxx Atom series
This commit is contained in:
parent
556951d5f0
commit
5b6e39916d
@ -171,7 +171,9 @@ is_cpu_vulnerable()
|
|||||||
# Intel
|
# Intel
|
||||||
# Old Atoms are not vulnerable to spectre 2 nor meltdown
|
# Old Atoms are not vulnerable to spectre 2 nor meltdown
|
||||||
# https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00088&languageid=en-fr
|
# https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00088&languageid=en-fr
|
||||||
if grep -qE '^model name.+ Atom\(TM\) CPU +(S|D|N|230|330)' /proc/cpuinfo; then
|
# model name : Genuine Intel(R) CPU N270 @ 1.60GHz
|
||||||
|
# model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
|
||||||
|
if grep -qE '^model name.+ Intel\(R\) (Atom\(TM\) CPU +(S|D|230|330)|CPU N\d{3} )' /proc/cpuinfo; then
|
||||||
variant2=1
|
variant2=1
|
||||||
variant3=1
|
variant3=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user