mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2024-11-07 06:33:38 +01:00
fix(mds): check MDS_NO bit in is_cpu_mds_free()
This commit is contained in:
parent
497efe6a82
commit
77b34d48c6
@ -595,6 +595,7 @@ is_cpu_mds_free()
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
[ "$capabilities_mds_no" = 1 ] && return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# official statement from AMD says none of their CPUs are vulnerable
|
# official statement from AMD says none of their CPUs are vulnerable
|
||||||
@ -2441,7 +2442,7 @@ check_cpu()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_info_nol " * CPU explicitly indicates not being vulnerable to Meltdown (RDCL_NO): "
|
_info_nol " * CPU explicitly indicates not being vulnerable to Meltdown/L1TF (RDCL_NO): "
|
||||||
if [ "$capabilities_rdcl_no" = -1 ]; then
|
if [ "$capabilities_rdcl_no" = -1 ]; then
|
||||||
pstatus yellow UNKNOWN
|
pstatus yellow UNKNOWN
|
||||||
elif [ "$capabilities_rdcl_no" = 1 ]; then
|
elif [ "$capabilities_rdcl_no" = 1 ]; then
|
||||||
@ -2477,7 +2478,7 @@ check_cpu()
|
|||||||
pstatus blue NO
|
pstatus blue NO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_info_nol " * CPU explicitly indicates not being vulnerable to Microarchitectural Data Sampling (MDC_NO): "
|
_info_nol " * CPU explicitly indicates not being vulnerable to Microarchitectural Data Sampling (MDS_NO): "
|
||||||
if [ "$capabilities_mds_no" = -1 ]; then
|
if [ "$capabilities_mds_no" = -1 ]; then
|
||||||
pstatus yellow UNKNOWN
|
pstatus yellow UNKNOWN
|
||||||
elif [ "$capabilities_mds_no" = 1 ]; then
|
elif [ "$capabilities_mds_no" = 1 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user