]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Fix mtDPDES targeting SMT siblings
authorNicholas Piggin <npiggin@gmail.com>
Tue, 6 Aug 2024 13:13:13 +0000 (23:13 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 10 Nov 2024 08:09:27 +0000 (11:09 +0300)
commitd10fbfc7dee5f24cbad33f1aab64941b16efd586
treec8aeecb4ff6a88c31fb3b55c78e5c6c468ba178c
parent6cfa03eaec0e1b46768644b6509de1a6dd872114
target/ppc: Fix mtDPDES targeting SMT siblings

A typo in the loop over SMT threads to set irq level for doorbells
when storing to DPDES meant everything was aimed at the CPU executing
the instruction.

Cc: qemu-stable@nongnu.org
Fixes: d24e80b2ae ("target/ppc: Add msgsnd/p and DPDES SMT support")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
(cherry picked from commit 0324d236d2918c18a9ad4a1081b1083965a1433b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/ppc/misc_helper.c