qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Avi Kivity
Subject: [Qemu-devel] Re: [PATCH] ignore reads to the EOI register.
Date: Thu, 27 Mar 2008 14:55:39 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

Andi Kleen wrote:
"Maciej W. Rozycki" <address@hidden> 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 the workaround is build-time conditional, but you'll get it if you build a generic "runs everywhere" kernel.

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.

Or, alternatives? xchg vs mov?

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]