diff options
author | Nicholas Piggin <[email protected]> | 2022-09-08 23:25:42 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-09-28 01:07:19 +1000 |
commit | c953f7500b65f2b157d1eb468ca8b86328834cce (patch) | |
tree | 77a8354d764041d470ca1bdc5a1ccb487b3f7f0d /lib/mpi/mpi-internal.h | |
parent | bc91c04bfff7cdf676011b97bb21b2861d7b21c9 (diff) |
KVM: PPC: Book3S HV P9: Fix irq disabling in tick accounting
kvmhv_run_single_vcpu() disables PMIs as well as Linux irqs,
however the tick time accounting code enables and disables irqs and
not PMIs within this region. By chance this might not actually cause
a bug, but it is clearly an incorrect use of the APIs.
Fixes: 2251fbe76395e ("KVM: PPC: Book3S HV P9: Improve mtmsrd scheduling by delaying MSR[EE] disable")
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions