fix: taa: CPUs having TAA_NO bit set are not vulnerable

This commit is contained in:
Stéphane Lesimple 2019-11-25 21:14:54 +01:00
parent 4fc2afe1bc
commit 4993b04922

View File

@ -682,7 +682,7 @@ is_cpu_taa_free()
if ! is_intel; then
return 0
# is intel
elif [ "$capabilities_taa_no" = 0 ] || [ "$cpuid_rtm" = 0 ]; then
elif [ "$capabilities_taa_no" = 1 ] || [ "$cpuid_rtm" = 0 ]; then
return 0
fi