From: Alexander Graf Date: Fri, 8 Jan 2010 01:58:06 +0000 (+0100) Subject: KVM: PPC: Call SLB patching code in interrupt safe manner X-Git-Tag: v2.6.34-rc1~193^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=021ec9c69f8b7b20f46296cc76cc4cb341b25191;p=pandora-kernel.git KVM: PPC: Call SLB patching code in interrupt safe manner Currently we're racy when doing the transition from IR=1 to IR=0, from the module memory entry code to the real mode SLB switching code. To work around that I took a look at the RTAS entry code which is faced with a similar problem and did the same thing: A small helper in linear mapped memory that does mtmsr with IR=0 and then RFIs info the actual handler. Thanks to that trick we can safely take page faults in the entry code and only need to be really wary of what to do as of the SLB switching part. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed