commit | bc90923e27908ef65aa8aaad2f234e18b5273c78 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Jan 08 02:58:05 2010 +0100 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:49 2010 -0300 |
tree | 58f95e4a6c50cefd7e07e7f28bcf36c88f28bd49 | |
parent | b4433a7cceed59714b0778e1ace624befdd15ded [diff] |
KVM: PPC: Get rid of unnecessary RFI Using an RFI in IR=1 is dangerous. We need to set two SRRs and then do an RFI without getting interrupted at all, because every interrupt could potentially overwrite the SRR values. Fortunately, we don't need to RFI in at least this particular case of the code, so we can just replace it with an mtmsr and b. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>