Re: [PATCH] x86: make clflush a required feature on x86_64

From: Pavel Machek
Date: Wed Jan 23 2008 - 07:49:22 EST


On Fri 2008-01-18 01:27:06, H. Peter Anvin wrote:
> Kyle McMartin wrote:
> >On Fri, Jan 18, 2008 at 06:53:53AM +0100, Andi Kleen
> >wrote:
> >>One problem that we had in the past is that some
> >>simulators
> >>only implement the absolutely minimum feature set and
> >>you
> >>might have well broken one of these with this.
> >
> >Yeah, true. Please ignore the patch folks.
> >
> >cheers, Kyle
>
> Simulators can be fixed, even if it takes time; for
> something like clflush this is easier since clflush can
> be implemented as a simple noop for most of them.
>
> I just verified that Bochs 2.3.0 lacks this CPUID bit
> whereas the current version, 2.3.6, enables CLFLUSH iff
> SSE2 is enabled. Qemu 0.9.0 has CLFLUSH. Andi, do you
> happen to know of any specific simulators which are
> problematic? I would assume any recent version of
> SimNow is up to date.

simics? It was very useful long time ago...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/