From 060e63d615213a4e758cf1b811a821d9525eef2e Mon Sep 17 00:00:00 2001 From: Rob Gill Date: Sun, 27 May 2018 08:58:38 +1000 Subject: [PATCH] amd families fix amd families are reported by parse_cpu_details() in decimal --- spectre-meltdown-checker.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 803ae24..5a3b8ac 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -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