On Wed, Jul 27, 2011 at 05:30:56AM -0400, Avi Kivity wrote:
> On 07/27/2011 09:59 AM, Ingo Molnar wrote:
> > >
> > > Yeah, actually the idea is to patch the kernel only this one time
> > > and never ever be needing to do this for future CPUs, for this
> > > matter.
> >
> > But the check you have added turns this workaround on for all family
> > 0x15 CPUs. If a family 0x15 CPU is built with a larger or more
> > associative cache, one that does not need the workaround, we would
> > still turn on the workaround.
>
> Similarly, if family 0x21 CPUs have a similar arrangement (with
> identical or different cache sizes and associativity) the hardcoded
> check will fail.
So, in short, I$ design is the same for all F15h processors so a family
0x15 check suffices here.