commit | 6ffe2c6e6dcefb971e4046f02086c4adadd0b310 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Fri May 28 19:07:30 2021 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Jun 10 22:12:13 2021 +1000 |
tree | 43d7e2faab8483ebd512150de075fdcc3b1b2b46 | |
parent | 413679e73bdfc2720dc2fa2172b65b7411185fa7 [diff] |
KVM: PPC: Book3S HV P9: Reduce irq_work vs guest decrementer races irq_work's use of the DEC SPR is racy with guest<->host switch and guest entry which flips the DEC interrupt to guest, which could lose a host work interrupt. This patch closes one race, and attempts to comment another class of races. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210528090752.3542186-11-npiggin@gmail.com