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

Michael Ellerman patch-notifications at ellerman.id.au
Wed Dec 15 11:24:40 AEDT 2021


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
> disabled.
> 
> So, instead of skipping depending on the detected mitigation, simply skip
> whenever the detected miss_percent is the expected one for a fully
> mitigated system, that is, above 95%.
> 
> [...]

Applied to powerpc/next.

[1/1] selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
      https://git.kernel.org/powerpc/c/3c42e9542050d49610077e083c7c3f5fd5e26820

cheers


More information about the Linuxppc-dev mailing list