From: Jes Sorensen Date: Thu, 9 Apr 2009 14:38:14 +0000 (+0200) Subject: KVM: ia64: fix locking order entering guest X-Git-Tag: v2.6.30-rc4~59^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d24d2c1cc4156102f9df9cd0425d58cabf955519;p=pandora-kernel.git 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 Acked-by: Xiantao Zhang Signed-off-by: Avi Kivity --- Reading git-diff-tree failed