diff options
author | Alexander Graf <agraf@suse.de> | 2012-02-20 23:57:26 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-04-08 12:55:26 +0300 |
commit | 4e642ccbd6a3f1410155c7700f54b56b6c7df9a2 (patch) | |
tree | 7c1362f967a0ed2c3563cc945f0498e491cc92cc /arch/powerpc/include/asm/hw_irq.h | |
parent | 95f2e921446dbc2e9a785734049ee349a67434bd (diff) | |
download | blackbird-op-linux-4e642ccbd6a3f1410155c7700f54b56b6c7df9a2.tar.gz blackbird-op-linux-4e642ccbd6a3f1410155c7700f54b56b6c7df9a2.zip |
KVM: PPC: booke: expose good state on irq reinject
When reinjecting an interrupt into the host interrupt handler after we're
back in host kernel land, we need to tell the kernel where the interrupt
happened. We can't tell it that we were in guest state, because that might
lead to random code walking host addresses. So instead, we tell it that
we came from the interrupt reinject code.
This helps getting reasonable numbers out of perf.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/hw_irq.h')
0 files changed, 0 insertions, 0 deletions