]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
Decode new values for CPUID leaf 2 cache and TLB descriptors, from the
authorkib <kib@FreeBSD.org>
Fri, 23 Oct 2015 11:43:56 +0000 (11:43 +0000)
committerkib <kib@FreeBSD.org>
Fri, 23 Oct 2015 11:43:56 +0000 (11:43 +0000)
Intel SDM revision 56.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

sys/x86/x86/identcpu.c

index 4fe3e3cbe99d1780df562bf1fe161796000addf9..2f6cfbcdfb6d40af100cb0dfbaa911caf5179b43 100644 (file)
@@ -1883,6 +1883,18 @@ print_INTEL_TLB(u_int data)
        case 0x68:
                printf("1st-level data cache: 32 KB, 4 way set associative, sectored cache, 64 byte line size\n");
                break;
+       case 0x6a:
+               printf("uTLB: 4KByte pages, 8-way set associative, 64 entries\n");
+               break;
+       case 0x6b:
+               printf("DTLB: 4KByte pages, 8-way set associative, 256 entries\n");
+               break;
+       case 0x6c:
+               printf("DTLB: 2M/4M pages, 8-way set associative, 126 entries\n");
+               break;
+       case 0x6d:
+               printf("DTLB: 1 GByte pages, fully associative, 16 entries\n");
+               break;
        case 0x70:
                printf("Trace cache: 12K-uops, 8-way set associative\n");
                break;