diff options
author | 2017-01-27 14:00:34 +1000 | |
---|---|---|
committer | 2017-01-31 19:07:39 +1100 | |
commit | a97a65d53d9f53b6897dc1b2aed381bc1707136b (patch) | |
tree | 08dcf2d0b98a978d80bf09dc5f6829e9831c7bb5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: PPC: Book3S: Move 64-bit KVM interrupt handler out from alt section (diff) | |
download | wireguard-linux-a97a65d53d9f53b6897dc1b2aed381bc1707136b.tar.xz wireguard-linux-a97a65d53d9f53b6897dc1b2aed381bc1707136b.zip |
KVM: PPC: Book3S: 64-bit CONFIG_RELOCATABLE support for interrupts
64-bit Book3S exception handlers must find the dynamic kernel base
to add to the target address when branching beyond __end_interrupts,
in order to support kernel running at non-0 physical address.
Support this in KVM by branching with CTR, similarly to regular
interrupt handlers. The guest CTR saved in HSTATE_SCRATCH1 and
restored after the branch.
Without this, the host kernel hangs and crashes randomly when it is
running at a non-0 address and a KVM guest is started.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions