All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: linuxppc-dev@lists.ozlabs.org,
	Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Cc: linux-kselftest@vger.kernel.org, mpe@ellerman.id.au
Subject: Re: [PATCH] selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
Date: Wed, 15 Dec 2021 11:24:40 +1100	[thread overview]
Message-ID: <163952788080.919625.5237049240642905738.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20211207130557.40566-1-cascardo@canonical.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: linuxppc-dev@lists.ozlabs.org,
	Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Cc: linux-kselftest@vger.kernel.org
Subject: Re: [PATCH] selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
Date: Wed, 15 Dec 2021 11:24:40 +1100	[thread overview]
Message-ID: <163952788080.919625.5237049240642905738.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20211207130557.40566-1-cascardo@canonical.com>

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

  reply	other threads:[~2021-12-15  0:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-07 13:05 [PATCH] selftests/powerpc/spectre_v2: Return skip code when miss_percent is high Thadeu Lima de Souza Cascardo
2021-12-07 13:05 ` Thadeu Lima de Souza Cascardo
2021-12-15  0:24 ` Michael Ellerman [this message]
2021-12-15  0:24   ` Michael Ellerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=163952788080.919625.5237049240642905738.b4-ty@ellerman.id.au \
    --to=patch-notifications@ellerman.id.au \
    --cc=cascardo@canonical.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.