diff options
author | Alexander Graf <agraf@suse.de> | 2012-04-27 16:33:35 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-05-16 15:02:10 +0200 |
commit | 56e13dbae3eddb1648e6e94ae251c83cdc8304e0 (patch) | |
tree | d9e7df8e8bf1917e82711e9437673535f40c8f55 /ipc/shm.c | |
parent | 7ef4e985d54bad2773f260da38530f858a9a8491 (diff) |
KVM: PPC: Fix PR KVM on POWER7 bare metal
When running on a system that is HV capable, some interrupts use HSRR
SPRs instead of the normal SRR SPRs. These are also used in the Linux
handlers to jump back to code after an interrupt got processed.
Unfortunately, in our "jump back to the real host handler after we've
done the context switch" code, we were only setting the SRR SPRs,
rendering Linux to jump back to some invalid IP after it's processed
the interrupt.
This fixes random crashes on p7 opal mode with PR KVM for me.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions