From fd462040b33a63ca2d457b5b9a007fc6a9a09281 Mon Sep 17 00:00:00 2001 From: Hans-Joachim Kliemeck Date: Sun, 16 Dec 2018 19:46:08 +0100 Subject: [PATCH] add information for hardware mitigation --- spectre-meltdown-checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectre-meltdown-checker.sh b/spectre-meltdown-checker.sh index 727d6c3..1b3e85f 100755 --- a/spectre-meltdown-checker.sh +++ b/spectre-meltdown-checker.sh @@ -3920,7 +3920,7 @@ check_CVE_2018_3646_linux() _info_nol " * Hardware-backed L1D flush supported: " if [ "$opt_live" = 1 ]; then - if grep -qw flush_l1d "$procfs/cpuinfo"; then + if grep -qw flush_l1d "$procfs/cpuinfo" || [ -z "$l1d_xen_hardware" ]; then pstatus green YES "performance impact of the mitigation will be greatly reduced" else pstatus blue NO "flush will be done in software, this is slower"