diff options
author | Jes Sorensen <jes@sgi.com> | 2009-04-09 16:38:14 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-04-22 12:52:09 +0200 |
commit | d24d2c1cc4156102f9df9cd0425d58cabf955519 (patch) | |
tree | 8d487aa14b570e7d7fcebb566ab785850d28dd4b /arch/ia64/kvm/vti.h | |
parent | KVM: MMU: Fix off-by-one calculating large page count (diff) | |
download | linux-d24d2c1cc4156102f9df9cd0425d58cabf955519.tar.xz linux-d24d2c1cc4156102f9df9cd0425d58cabf955519.zip |
KVM: ia64: fix locking order entering guest
Reorder locking as down_read() may return with local interrupts enabled,
which means we could go into vti_vcpu_run() with interrupts enabled.
This caused random crashes on the Altix as the timer interrupt tried
to read a memory mapped clock source, for which the TLB had not yet been
reinstated in the exit, before ipsr was retored.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64/kvm/vti.h')
0 files changed, 0 insertions, 0 deletions