]> 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>
Tue, 5 Nov 2024 15:41:42 +0000 (18:41 +0300)
commit2a14b2f441df165c57ce4cd9bfb260a375f00519
treeee5081ced4d77273414fb12d6520e2c44f8d2ee8
parent3583e93223fe534dce511b3b5b902b76bb136968
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