]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpu/intel: Add missing TLB cpuid values
authorjacek.tomaka@poczta.fm <jacek.tomaka@poczta.fm>
Mon, 23 Apr 2018 16:14:25 +0000 (00:14 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 26 Apr 2018 19:42:44 +0000 (21:42 +0200)
commit0f2258b7941fa4a04dcd4b7dbb3955b2ac5dd245
tree2a9b5538c4fd93f74a268534126f59a308d3d31f
parent62f8a20669fde7a0f6c38a35734c75153e908331
x86/cpu/intel: Add missing TLB cpuid values

Make kernel print the correct number of TLB entries on Intel Xeon Phi 7210
(and others)

Before:
[ 0.320005] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
After:
[ 0.320005] Last level dTLB entries: 4KB 256, 2MB 128, 4MB 128, 1GB 16

The entries do exist in the official Intel SMD but the type column there is
incorrect (states "Cache" where it should read "TLB"), but the entries for
the values 0x6B, 0x6C and 0x6D are correctly described as 'Data TLB'.

Signed-off-by: Jacek Tomaka <jacek.tomaka@poczta.fm>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20180423161425.24366-1-jacekt@dugeo.com
arch/x86/kernel/cpu/intel.c