Correct Intel processor level type mask from CPUID
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 19 May 2016 17:02:36 +0000 (10:02 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 19 May 2016 17:02:36 +0000 (10:02 -0700)
commitde71e0421b4e267f9b6cf5a827ee5bab70226cd9
tree5fc28f7cded00f91262356bd505b16f986784e56
parent7c08d791ee4fabf96d96b66dec803602e621057c
Correct Intel processor level type mask from CPUID

Intel CPUID with EAX == 11 returns:

ECX Bits 07 - 00: Level number. Same value in ECX input.
    Bits 15 - 08: Level type.
    ^^^^^^^^^^^^^^^^^^^^^^^^ This is level type.
    Bits 31 - 16: Reserved.

Intel processor level type mask should be 0xff00, not 0xff0.

[BZ #20119]
* sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
processor level type mask for CPUID with EAX == 11.
ChangeLog
sysdeps/x86/cacheinfo.c