[PATCH 0/2] Reapply "rcu: Unify force quiescent state"

Akihiko Odaki posted 2 patches 1 month, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260217-alpha-v1-0-0dcc708c9db3@rsg.ci.i.u-tokyo.ac.jp
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>
target/alpha/cpu.c |  1 +
util/rcu.c         | 79 +++++++++++++++++++++++++++++++++++-------------------
2 files changed, 52 insertions(+), 28 deletions(-)
[PATCH 0/2] Reapply "rcu: Unify force quiescent state"
Posted by Akihiko Odaki 1 month, 3 weeks ago
This reverts commit ddb4d9d1748681cfde824d765af6cda4334fcce3.

The commit says:
> This reverts commit 55d98e3edeeb17dd8445db27605d2b34f4c3ba85.
>
> The commit introduced a regression in the replay functional test
> on alpha (tests/functional/alpha/test_replay.py), that causes CI
> failures regularly. Thus revert this change until someone has
> figured out what is going wrong here.

I could not reproduce the alpha issue when I tried a bit while ago, but
trying on a more conventional setup (x86 without ASan where I usually
use Apple M2 with ASan) did a trick. So here is a fix for alpha and a
patch to reapply commit 55d98e3edeeb17dd8445db27605d2b34f4c3ba85. I
confirmed no failure occurs in 100 trials with the alpha fix.

Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
---
Akihiko Odaki (2):
      target/alpha: Reset CPU
      Reapply "rcu: Unify force quiescent state"

 target/alpha/cpu.c |  1 +
 util/rcu.c         | 79 +++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 52 insertions(+), 28 deletions(-)
---
base-commit: ece408818d27f745ef1b05fb3cc99a1e7a5bf580
change-id: 20260216-alpha-42072e98d5bd

Best regards,
--  
Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Re: [PATCH 0/2] Reapply "rcu: Unify force quiescent state"
Posted by Paolo Bonzini 1 month, 1 week ago
Queued, thanks.

Paolo
Re: [PATCH 0/2] Reapply "rcu: Unify force quiescent state"
Posted by Jim MacArthur 1 month, 3 weeks ago
On 2/17/26 06:34, Akihiko Odaki wrote:
> I could not reproduce the alpha issue when I tried a bit while ago, but
> trying on a more conventional setup (x86 without ASan where I usually
> use Apple M2 with ASan) did a trick. So here is a fix for alpha and a
> patch to reapply commit 55d98e3edeeb17dd8445db27605d2b34f4c3ba85. I
> confirmed no failure occurs in 100 trials with the alpha fix.

Very glad to finally have a fix for this. Hopefully a suitable location 
for the cpu_reset can be found. I just wanted to add that I've also run 
the func-alpha-replay test 250 times with no failures whereas before I 
was getting timeouts roughly 10% of the time.

Jim