Attention is currently required from: Matt DeVillier.
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72855 )
Change subject: soc/amd/stoneyridge/cpu: use CPUID_ALL_STEPPINGS_MASK
......................................................................
soc/amd/stoneyridge/cpu: use CPUID_ALL_STEPPINGS_MASK
Use CPUID_ALL_STEPPINGS_MASK as CPUID match mask to support all family
15h model 60h and 70h steppings.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: Id05f849d59c04efa9f38dd66892f3cb99d94e3ff
---
M src/soc/amd/stoneyridge/cpu.c
1 file changed, 15 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/72855/1
diff --git a/src/soc/amd/stoneyridge/cpu.c b/src/soc/amd/stoneyridge/cpu.c
index a40b54b..5ecf0c6 100644
--- a/src/soc/amd/stoneyridge/cpu.c
+++ b/src/soc/amd/stoneyridge/cpu.c
@@ -60,8 +60,8 @@
};
static struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_AMD, 0x660f01, CPUID_EXACT_MATCH_MASK },
- { X86_VENDOR_AMD, 0x670f00, CPUID_EXACT_MATCH_MASK },
+ { X86_VENDOR_AMD, 0x660f00, CPUID_ALL_STEPPINGS_MASK },
+ { X86_VENDOR_AMD, 0x670f00, CPUID_ALL_STEPPINGS_MASK },
{ 0, 0, 0 },
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/72855
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id05f849d59c04efa9f38dd66892f3cb99d94e3ff
Gerrit-Change-Number: 72855
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-MessageType: newchange
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72852 )
Change subject: soc/amd/glinda/cpu: use CPUID_ALL_STEPPINGS_MASK
......................................................................
soc/amd/glinda/cpu: use CPUID_ALL_STEPPINGS_MASK
Use CPUID_ALL_STEPPINGS_MASK as CPUID match mask to support all Glinda
steppings once GLINDA_A0_CPUID is updated.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: Ic9b8cbb2dc925a8258db6a4eb0d1b00b2745637f
---
M src/soc/amd/glinda/cpu.c
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/72852/1
diff --git a/src/soc/amd/glinda/cpu.c b/src/soc/amd/glinda/cpu.c
index c5a0ec4..e441ead 100644
--- a/src/soc/amd/glinda/cpu.c
+++ b/src/soc/amd/glinda/cpu.c
@@ -50,7 +50,7 @@
};
static struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_AMD, GLINDA_A0_CPUID, CPUID_EXACT_MATCH_MASK }, /* TODO: Update for Glinda */
+ { X86_VENDOR_AMD, GLINDA_A0_CPUID, CPUID_ALL_STEPPINGS_MASK }, /* TODO: Update for Glinda */
{ 0, 0, 0 },
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/72852
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic9b8cbb2dc925a8258db6a4eb0d1b00b2745637f
Gerrit-Change-Number: 72852
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72851 )
Change subject: soc/amd/phoenix/cpu: use CPUID_ALL_STEPPINGS_MASK
......................................................................
soc/amd/phoenix/cpu: use CPUID_ALL_STEPPINGS_MASK
Use CPUID_ALL_STEPPINGS_MASK as CPUID match mask to support all
Phoenix 2 steppings that might be available in the future. Right now it
shouldn't change any behavior.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: If9878b4687360250cac4cfe1409d5dbad7147cf3
---
M src/soc/amd/phoenix/cpu.c
1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/72851/1
diff --git a/src/soc/amd/phoenix/cpu.c b/src/soc/amd/phoenix/cpu.c
index cba22e9..9c51a57 100644
--- a/src/soc/amd/phoenix/cpu.c
+++ b/src/soc/amd/phoenix/cpu.c
@@ -51,7 +51,7 @@
static struct cpu_device_id cpu_table[] = {
/* TODO: Add Phoenix CPUID */
- { X86_VENDOR_AMD, PHOENIX2_A0_CPUID, CPUID_EXACT_MATCH_MASK },
+ { X86_VENDOR_AMD, PHOENIX2_A0_CPUID, CPUID_ALL_STEPPINGS_MASK },
{ 0, 0, 0 },
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/72851
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If9878b4687360250cac4cfe1409d5dbad7147cf3
Gerrit-Change-Number: 72851
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72850 )
Change subject: soc/amd/mendocino/cpu: use CPUID_ALL_STEPPINGS_MASK
......................................................................
soc/amd/mendocino/cpu: use CPUID_ALL_STEPPINGS_MASK
Use CPUID_ALL_STEPPINGS_MASK as CPUID match mask to support all
Mendocino steppings that might be available in the future. Right now it
shouldn't change any behavior.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: I77ea8c6162667e0a318176e62078b1f57726c10c
---
M src/soc/amd/mendocino/cpu.c
1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/72850/1
diff --git a/src/soc/amd/mendocino/cpu.c b/src/soc/amd/mendocino/cpu.c
index 7561b24..f59a910 100644
--- a/src/soc/amd/mendocino/cpu.c
+++ b/src/soc/amd/mendocino/cpu.c
@@ -48,7 +48,7 @@
};
static struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_AMD, MENDOCINO_A0_CPUID, CPUID_EXACT_MATCH_MASK },
+ { X86_VENDOR_AMD, MENDOCINO_A0_CPUID, CPUID_ALL_STEPPINGS_MASK },
{ 0, 0, 0 },
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/72850
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I77ea8c6162667e0a318176e62078b1f57726c10c
Gerrit-Change-Number: 72850
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72849 )
Change subject: soc/amd/cezanne: use CPUID_ALL_STEPPINGS_MASK to support all steppings
......................................................................
soc/amd/cezanne: use CPUID_ALL_STEPPINGS_MASK to support all steppings
Use CPUID_ALL_STEPPINGS_MASK as CPUID match mask to support all Cezanne
steppings. This adds support for Cezanne stepping A1 and possible future
steppings.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: Idb020052685d9369109f391797fdd8f8790a91d1
---
M src/soc/amd/cezanne/cpu.c
1 file changed, 15 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/72849/1
diff --git a/src/soc/amd/cezanne/cpu.c b/src/soc/amd/cezanne/cpu.c
index ddd4afe..4d3fa1e 100644
--- a/src/soc/amd/cezanne/cpu.c
+++ b/src/soc/amd/cezanne/cpu.c
@@ -47,7 +47,7 @@
};
static struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_AMD, CEZANNE_A0_CPUID, CPUID_EXACT_MATCH_MASK },
+ { X86_VENDOR_AMD, CEZANNE_A0_CPUID, CPUID_ALL_STEPPINGS_MASK },
{ 0, 0, 0 },
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/72849
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idb020052685d9369109f391797fdd8f8790a91d1
Gerrit-Change-Number: 72849
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Attention is currently required from: Jason Glenesk, Matt DeVillier, Fred Reitberger.
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72848 )
Change subject: soc/amd/picasso/cpu: use CPUID_ALL_STEPPINGS_MASK
......................................................................
soc/amd/picasso/cpu: use CPUID_ALL_STEPPINGS_MASK
Use CPUID_ALL_STEPPINGS_MASK to only need one CPU device ID table entry
per family & model combination and not one per stepping.
TEST=Mandolin with a Picasso APU with PICASSO_B1_CPUID (0x00810f81)
still finished mpinit and boots successfully even though now only
PICASSO_B0_CPUID (0x00810f80) with CPUID_ALL_STEPPINGS_MASK specified as
device match mask. When commenting out the line with PICASSO_B0_CPUID
as a negative test, mpinit fails as expected.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: I00ba43834ad86ecffa09d60599b17d122acd0b99
---
M src/soc/amd/picasso/cpu.c
1 file changed, 22 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/72848/1
diff --git a/src/soc/amd/picasso/cpu.c b/src/soc/amd/picasso/cpu.c
index 0ec753d..5d206e4 100644
--- a/src/soc/amd/picasso/cpu.c
+++ b/src/soc/amd/picasso/cpu.c
@@ -48,11 +48,9 @@
};
static struct cpu_device_id cpu_table[] = {
- { X86_VENDOR_AMD, RAVEN1_B0_CPUID, CPUID_EXACT_MATCH_MASK },
- { X86_VENDOR_AMD, PICASSO_B0_CPUID, CPUID_EXACT_MATCH_MASK },
- { X86_VENDOR_AMD, PICASSO_B1_CPUID, CPUID_EXACT_MATCH_MASK },
- { X86_VENDOR_AMD, RAVEN2_A0_CPUID, CPUID_EXACT_MATCH_MASK },
- { X86_VENDOR_AMD, RAVEN2_A1_CPUID, CPUID_EXACT_MATCH_MASK },
+ { X86_VENDOR_AMD, RAVEN1_B0_CPUID, CPUID_ALL_STEPPINGS_MASK },
+ { X86_VENDOR_AMD, PICASSO_B0_CPUID, CPUID_ALL_STEPPINGS_MASK },
+ { X86_VENDOR_AMD, RAVEN2_A0_CPUID, CPUID_ALL_STEPPINGS_MASK },
{ 0, 0, 0 },
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/72848
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I00ba43834ad86ecffa09d60599b17d122acd0b99
Gerrit-Change-Number: 72848
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-MessageType: newchange
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72846 )
Change subject: arch/x86/include/cpu: retype device field in cpu_device_id
......................................................................
arch/x86/include/cpu: retype device field in cpu_device_id
In identify_cpu the uint32_t return value of cpu_get_cpuid gets written
to this field.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: Ic54f73dcd3496a5ad85291b9b9586bc740b734d5
---
M src/arch/x86/include/arch/cpu.h
1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/72846/1
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index 18bc961..26315eb 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -113,7 +113,7 @@
struct cpu_device_id {
unsigned int vendor;
- unsigned int device;
+ uint32_t device;
};
struct cpu_driver {
--
To view, visit https://review.coreboot.org/c/coreboot/+/72846
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic54f73dcd3496a5ad85291b9b9586bc740b734d5
Gerrit-Change-Number: 72846
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange