aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorCédric Le Goater <[email protected]>2017-12-12 12:02:04 +0000
committerMichael Ellerman <[email protected]>2017-12-22 15:34:02 +1100
commitdc1c4165d189350cb51bdd3057deb6ecd164beda (patch)
tree36a209982dc96e1dafe984b6ea85d021eea46e76 /lib/memory-notifier-error-inject.c
parent182dc9c7f217146d69d9c0b75c150c0314b9b170 (diff)
KVM: PPC: Book3S: fix XIVE migration of pending interrupts
When restoring a pending interrupt, we are setting the Q bit to force a retrigger in xive_finish_unmask(). But we also need to force an EOI in this case to reach the same initial state : P=1, Q=0. This can be done by not setting 'old_p' for pending interrupts which will inform xive_finish_unmask() that an EOI needs to be sent. Fixes: 5af50993850a ("KVM: PPC: Book3S HV: Native usage of the XIVE interrupt controller") Cc: [email protected] # v4.12+ Suggested-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Cédric Le Goater <[email protected]> Reviewed-by: Laurent Vivier <[email protected]> Tested-by: Laurent Vivier <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions