]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc: Fix doorbell delivery to threads in powersave
authorNicholas Piggin <npiggin@gmail.com>
Tue, 6 Aug 2024 13:13:15 +0000 (23:13 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Sun, 3 Nov 2024 23:08:44 +0000 (09:08 +1000)
commit06229545f55abfc0aebcbc493f97247ed7ed278f
treebfa8886bc59a38951d39158b41a978578f3ca9a1
parentc5747965afca017e27a475082126594e8306c766
target/ppc: Fix doorbell delivery to threads in powersave

Doorbell exceptions are not not cleared when they cause a wake from
powersave state, only when they take the corresponding interrupt.
The sreset-on-wake logic must avoid clearing the interrupt in this
case.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/excp_helper.c