From 7d1f269bede45d3e1e244801b931b6360e3e54fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Thu, 16 May 2019 11:31:28 +0200 Subject: [PATCH] fix(mds): AMD confirms they're not vulnerable --- spectre-meltdown-checker.sh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 0d382cd..68d0d53 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -597,16 +597,12 @@ is_cpu_mds_free() fi fi + # official statement from AMD says none of their CPUs are vulnerable + # https://www.amd.com/en/corporate/product-security + # https://www.amd.com/system/files/documents/security-whitepaper.pdf if is_amd; then - if [ "$cpu_family" = "18" ] || \ - [ "$cpu_family" = "17" ] || \ - [ "$cpu_family" = "16" ] || \ - [ "$cpu_family" = "15" ]; then - return 0 - fi - fi - - if is_hygon; then + return 0 + elif is_hygon; then return 0 elif [ "$cpu_vendor" = CAVIUM ]; then return 0