Re: [PATCH] selftests/powerpc/spectre_v2: Return skip code when miss_percent is high

2021-12-14 Thread Michael Ellerman
On Tue, 7 Dec 2021 10:05:57 -0300, Thadeu Lima de Souza Cascardo wrote: > A mis-match between reported and actual mitigation is not restricted to the > Vulnerable case. The guest might also report the mitigation as "Software > count cache flush" and the host will still mitigate with branch cache >

[PATCH] selftests/powerpc/spectre_v2: Return skip code when miss_percent is high

2021-12-07 Thread Thadeu Lima de Souza Cascardo
A mis-match between reported and actual mitigation is not restricted to the Vulnerable case. The guest might also report the mitigation as "Software count cache flush" and the host will still mitigate with branch cache disabled. So, instead of skipping depending on the detected mitigation, simply