diff options
author | Cédric Le Goater | 2017-12-12 13:02:04 +0100 |
---|---|---|
committer | Michael Ellerman | 2017-12-22 05:34:02 +0100 |
commit | dc1c4165d189350cb51bdd3057deb6ecd164beda (patch) | |
tree | 36a209982dc96e1dafe984b6ea85d021eea46e76 /tools/perf/check-headers.sh | |
parent | powerpc/kernel: Print actual address of regs when oopsing (diff) | |
download | kernel-qcow2-linux-dc1c4165d189350cb51bdd3057deb6ecd164beda.tar.gz kernel-qcow2-linux-dc1c4165d189350cb51bdd3057deb6ecd164beda.tar.xz kernel-qcow2-linux-dc1c4165d189350cb51bdd3057deb6ecd164beda.zip |
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: stable@vger.kernel.org # v4.12+
Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Tested-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/check-headers.sh')
0 files changed, 0 insertions, 0 deletions