Skip to content

AMD Threadripper 3970x not properly detected #1

Description

@dankamongmen

We get to leaf 0x80000006 and our EDX is quite clearly 04009140, as verified with cpuid -r: edx=0x04009140. According to the AMD CPUID guide Revision 2.34,

CPUID Fn8000_0006_EDX L3 Cache Identifiers
Bits Description
31:18 L3Size: L3 cache size. Specifies the L3 cache size is within the following range:
 (L3Size[31:18] * 512KB)  L3 cache size < ((L3Size[31:18]+1) * 512KB).
17:16 Reserved.
15:12 L3Assoc: L3 cache associativity. L3 cache associativity. See Table 4

Table 4:

Table 4: L2/L3 Cache and TLB Associativity Field Definition
Associativity
[3:0]
Definition
0h L2/L3 cache or TLB is disabled.
1h Direct mapped.
2h 2-way associative.
4h 4-way associative.
6h 8-way associative.
8h 16-way associative.
Ah 32-way associative.
Bh 48-way associative.
Ch 64-way associative.
Dh 96-way associative.
Eh 128-way associative.
Fh Fully associative.
All other encodings are reserved.

so i don't see how 9 is possibly valid there; the L3 on 3970x is 16-way, so i'd expect 8. what's up?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions