diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-04-11 17:49:55 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-04-17 01:36:38 +0200 |
commit | a0c9a822bf37e6282eb6006b407ec5aec22e08fb (patch) | |
tree | 62e0ba3e3b031ded8187b1c37681015ec920ebe2 /arch/arm/mach-ixp2000 | |
parent | KVM: x86 emulator: implement MMX MOVQ (opcodes 0f 6f, 0f 7f) (diff) | |
download | linux-a0c9a822bf37e6282eb6006b407ec5aec22e08fb.tar.xz linux-a0c9a822bf37e6282eb6006b407ec5aec22e08fb.zip |
KVM: dont clear TMR on EOI
Intel spec says that TMR needs to be set/cleared
when IRR is set, but kvm also clears it on EOI.
I did some tests on a real (AMD based) system,
and I see same TMR values both before
and after EOI, so I think it's a minor bug in kvm.
This patch fixes TMR to be set/cleared on IRR set
only as per spec.
And now that we don't clear TMR, we can save
an atomic read of TMR on EOI that's not propagated
to ioapic, by checking whether ioapic needs
a specific vector first and calculating
the mode afterwards.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/arm/mach-ixp2000')
0 files changed, 0 insertions, 0 deletions