Skip to content

Added Willow Cove #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Added Willow Cove #301

wants to merge 5 commits into from

Conversation

rrwinterton
Copy link
Contributor

No description provided.

@rrwinterton
Copy link
Contributor Author

Added a detection for Willow Cove Client (Tiger Lake - client)

@malfet
Copy link
Contributor

malfet commented Jun 4, 2025

@rrwinterton can you post some reference to the doc that says this number corresponds to Willow Cove?

@@ -353,6 +353,8 @@ enum cpuinfo_uarch {
cpuinfo_uarch_palm_cove = 0x0010020B,
/** Intel Sunny Cove microarchitecture (10 nm, Ice Lake). */
cpuinfo_uarch_sunny_cove = 0x0010020C,
/** Intel Willow Cove (10 nm, Tiger Lake). */
cpuinfo_uarch_willow_cove = 0x00100302,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change constant to 0x0010020D for consistency with sunny_cove predecessor

src/x86/uarch.c Outdated
@@ -21,6 +21,8 @@ enum cpuinfo_uarch cpuinfo_x86_decode_uarch(
// systems
case 0x04: // Pentium MMX
return cpuinfo_uarch_p5;
case 0x06: // Tiger Lake, Alder Lake, Raptor Lake and Meteor Lake
return cpuinfo_uarch_
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -168,6 +170,9 @@ enum cpuinfo_uarch cpuinfo_x86_decode_uarch(
case 0x7E: // Ice Lake-U
return cpuinfo_uarch_sunny_cove;

case 0x8C: // Tiger U
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note 8c = 140 is the one that sde -tgl exposes but https://en.wikichip.org/wiki/intel/cpuid confirms 141

@@ -82,6 +82,8 @@ static const char* uarch_to_string(enum cpuinfo_uarch uarch) {
return "Sunny Cove";
case cpuinfo_uarch_willamette:
return "Willamette";
case cpuinfo_uarch_willow_cove:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move up 2 lines because willow cove is the successor to sunny cove (icelake)

@fbarchard
Copy link
Collaborator

Confirmed Tigerlake does not detect currently:

Was
sde -tgl -- blaze-bin/third_party/cpuinfo/cpu_info
Packages:
0: Intel 11th Gen Core i7-1165G7
1: Intel 11th Gen Core i7-1165G7
2: Intel 11th Gen Core i7-1165G7
3: Intel 11th Gen Core i7-1165G7
Microarchitectures:
36x unknown
Cores:
0: 37 processors (0-36), Intel unknown
1: 1 processor (37), Intel unknown

With your change sde -tgl works:

sde -tgl -- ./cpu-info | head
Packages:
0: Intel 11th Gen Core i7-1165G7
1: Intel 11th Gen Core i7-1165G7
2: Intel 11th Gen Core i7-1165G7
3: Intel 11th Gen Core i7-1165G7
Microarchitectures:
36x Willow Cove
Cores:
0: 37 processors (0-36), Intel Willow Cove
1: 1 processor (37), Intel Willow Cove

If you have a real Tigerlake available, could you verify a package name? SDE seems to fill them in wrong

Testing icelake, the predecessor of tigerlake, shows Sunny Cove.

sde -icl -- ./cpu-info | head
Packages:
0:
1:
2:
3:
Microarchitectures:
36x Sunny Cove
Cores:
0: 37 processors (0-36), Intel Sunny Cove
1: 1 processor (37), Intel Sunny Cove

removed incomplete modification in naming
moved willow_cove up two lines to be next to sunny_cove
made the enum consistent with uarch naming following sunny_cove
@rrwinterton
Copy link
Contributor Author

Willow Cove is that micro architecture of Tiger Lake CPU's from Intel.
https://en.wikichip.org/wiki/intel/microarchitectures/tiger_lake
https://en.wikichip.org/wiki/intel/microarchitectures/willow_cove

Willow Cove architecture has an Intel Family 6, Model 0x8C or 0x8D.

@rrwinterton
Copy link
Contributor Author

@rrwinterton can you post some reference to the doc that says this number corresponds to Willow Cove?

Added comments below and did fix of incomplete file per frank's comments. Intel Willow Cover is part of the Tiger Lake CPU family microarchitecture.

Intel Family 6, Model 0x8C or 0x8D

@@ -353,6 +353,8 @@ enum cpuinfo_uarch {
cpuinfo_uarch_palm_cove = 0x0010020B,
/** Intel Sunny Cove microarchitecture (10 nm, Ice Lake). */
cpuinfo_uarch_sunny_cove = 0x0010020C,
/** Intel Willow Cove (10 nm, Tiger Lake). */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/** Intel Willow Cove microarchitecture (10 nm, Tiger Lake). */

updated comments to refer to intel microarchitecture per request to keep consistent.
Copy link
Collaborator

@fbarchard fbarchard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks. Fill in some description for PR in future

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

Successfully merging this pull request may close these issues.

4 participants