diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-05-28 19:07:30 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-10 22:12:13 +1000 |
commit | 6ffe2c6e6dcefb971e4046f02086c4adadd0b310 (patch) | |
tree | 43d7e2faab8483ebd512150de075fdcc3b1b2b46 /block/elevator.c | |
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
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions