Re: [kvm-devel] [PATCH] ignore reads to the EOI register.

2008-03-27 Thread Maciej W. Rozycki
On Thu, 27 Mar 2008, Avi Kivity wrote: Applied, but perhaps a patch to linux to avoid reads to write-only registers is needed as well. Linux performs reads to all registers written including this one deliberately using an RMW cycle to avoid triggering an erratum in some early Pentium

Re: [kvm-devel] [PATCH] ignore reads to the EOI register.

2008-03-27 Thread Avi Kivity
Andi Kleen wrote: Maciej W. Rozycki [EMAIL PROTECTED] writes: Linux performs reads to all registers written including this one deliberately using an RMW cycle to avoid triggering an erratum in some early Pentium integrated APICs. Obviously it does not matter for most of the world as

Re: [kvm-devel] [PATCH] ignore reads to the EOI register.

2008-03-27 Thread Maciej W. Rozycki
On Thu, 27 Mar 2008, Andi Kleen wrote: It would be quite possible to make the cycle conditional on a cpufeatures.h quirk flag that is only set on P5. Just would need to out of line a few functions to avoid code bloat. Exactly what I suggested at the LKML -- you could even go down to a list