mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-03 01:55:51 +01:00
Fixing typo
This commit is contained in:
parent
d623524342
commit
c18b88d745
@ -629,7 +629,7 @@ is_cpu_mds_free()
|
|||||||
|
|
||||||
is_cpu_taa_free()
|
is_cpu_taa_free()
|
||||||
{
|
{
|
||||||
# return true (0) if the CPU isn't affected by tsx asynchronnous aborts, false (1) if it does.
|
# return true (0) if the CPU isn't affected by tsx asynchronous aborts, false (1) if it does.
|
||||||
# There are three types of processors that do not require additional mitigations.
|
# There are three types of processors that do not require additional mitigations.
|
||||||
# 1. CPUs that do not support Intel TSX are not affected.
|
# 1. CPUs that do not support Intel TSX are not affected.
|
||||||
# 2. CPUs that enumerate IA32_ARCH_CAPABILITIES[TAA_NO] (bit 8)=1 are not affected.
|
# 2. CPUs that enumerate IA32_ARCH_CAPABILITIES[TAA_NO] (bit 8)=1 are not affected.
|
||||||
@ -640,7 +640,7 @@ is_cpu_taa_free()
|
|||||||
return 0
|
return 0
|
||||||
# is intel
|
# is intel
|
||||||
elif [ "$capabilities_taa_no" = 0 ] || \
|
elif [ "$capabilities_taa_no" = 0 ] || \
|
||||||
[ "$rtm" = 0]; then
|
[ "$cpuid_rtm" = 0]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -2514,13 +2514,13 @@ check_cpu()
|
|||||||
_info_nol " * TSX support is available: "
|
_info_nol " * TSX support is available: "
|
||||||
read_cpuid 0x7 $EDX 11 1 1; ret=$?
|
read_cpuid 0x7 $EDX 11 1 1; ret=$?
|
||||||
if [ $ret -eq 0 ]; then
|
if [ $ret -eq 0 ]; then
|
||||||
rtm=1
|
cpuid_rtm=1
|
||||||
pstatus green YES "TSX RTM feature bit"
|
pstatus green YES "TSX RTM feature bit"
|
||||||
elif [ $ret -eq 2 ]; then
|
elif [ $ret -eq 2 ]; then
|
||||||
rtm=-1
|
cpuid_rtm=-1
|
||||||
pstatus yellow UNKNOWN "is cpuid kernel module available?"
|
pstatus yellow UNKNOWN "is cpuid kernel module available?"
|
||||||
else
|
else
|
||||||
rtm=0
|
cpuid_rtm=0
|
||||||
pstatus yellow NO
|
pstatus yellow NO
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user