Re: [PATCH Bugfix 1/4] x86/xsave.c: Fix xstate offsets and sizes enumeration

From: Dave Hansen
Date: Tue Apr 21 2015 - 10:28:40 EST


On 04/21/2015 02:16 AM, Thomas Gleixner wrote:
> On Sat, 18 Apr 2015, Fenghua Yu wrote:
>> From: Fenghua Yu <fenghua.yu@xxxxxxxxx>
>> When enumerating xstate offsets and sizes from cpuid (eax=0x0d, ecx>=2),
>> it's possible that state m is not implemented while state n (n>m)
>> is implemented. So enumeration shouldn't stop at state m.
>>
>> There is no platform configured like above yet. But this could be a problem
>> in the future.
>
> So this is for future hardware. Why are you claiming this is a BUGFIX?

That was probably phrased badly. I don't know of any platforms out
there in the wild where this will be an issue. So we don't expect this
to impact any end users.

But, I'm not an end user. This bug is impacting me today. I'd like to
see it fixed as widely as possible so that end users have little chance
of running in to it in the future.

--
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/