APPLIED: [PATCH Groovy] UBUNTU: SAUCE: selftests/powerpc: return skip code for spectre_v2

seth.forshee at seth.forshee at
Wed Jul 29 21:39:46 UTC 2020

On Tue, Jul 28, 2020 at 01:09:31PM -0300, Thadeu Lima de Souza Cascardo wrote:
> When running under older versions of qemu of under newer versions with old
> machine types, some security features will not be reported to the guest.
> This will lead the guest OS to consider itself Vulnerable to spectre_v2.
> So, spectre_v2 test fails in such cases when the host is mitigated and miss
> predictions cannot be detected as expected by the test.
> Make it return the skip code instead, for this particular case. We don't
> want to miss the case when the test fails and the system reports as
> mitigated or not affected. But it is not a problem to miss failures when
> the system reports as Vulnerable.
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at>

Applied to groovy/master-next, thanks!

More information about the kernel-team mailing list