mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2024-10-31 18:58:03 +01:00
amd families fix
amd families are reported by parse_cpu_details() in decimal
This commit is contained in:
parent
2475482a98
commit
060e63d615
@ -490,10 +490,10 @@ is_cpu_ssb_free()
|
||||
fi
|
||||
fi
|
||||
if is_amd; then
|
||||
if [ "$cpu_family" = "0x12" ] || \
|
||||
[ "$cpu_family" = "0x11" ] || \
|
||||
[ "$cpu_family" = "0x10" ] || \
|
||||
[ "$cpu_family" = "0xf" ]; then
|
||||
if [ "$cpu_family" = "18" ] || \ # family 0x12
|
||||
[ "$cpu_family" = "17" ] || \ # family 0x11
|
||||
[ "$cpu_family" = "16" ] || \ # family 0x10
|
||||
[ "$cpu_family" = "15" ]; then # family 0xf
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user