Attention is currently required from: Bora Guvendik, Hannah Williams, Anil Kumar K, Subrata Banik.
Hello Bora Guvendik, Hannah Williams, Anil Kumar K, Subrata Banik,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/72422
to look at the new patch set (#2).
Change subject: mb/intel/adlrvp: Fix RTD3 timing for PCIe slot1
......................................................................
mb/intel/adlrvp: Fix RTD3 timing for PCIe slot1
Fix RTD3 timing for adlrvp_p_ext_ec and adlrvp_rpl_ext_ec
BUG=none
BRANCH=firmware-brya-14505.B
TEST=Insert a SD card or NIC AIC on PCIe slot1 and run
'suspend_stress_test -c 1'. The RP8 should not cause suspend issue.
Signed-off-by: Cliff Huang <cliff.huang(a)intel.com>
Change-Id: I792c55a6361d1eae55cc6f668a03dc2503120fe1
---
M src/mainboard/intel/adlrvp/variants/adlrvp_p_ext_ec/overridetree.cb
M src/mainboard/intel/adlrvp/variants/adlrvp_rpl_ext_ec/overridetree.cb
2 files changed, 22 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/72422/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/72422
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I792c55a6361d1eae55cc6f668a03dc2503120fe1
Gerrit-Change-Number: 72422
Gerrit-PatchSet: 2
Gerrit-Owner: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Attention: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Simon Chou, Johnny Lin, Christian Walter, Arthur Heymans.
Jonathan Zhang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71965 )
Change subject: soc/intel/xeon_sp/chip_common.c: Update attach_iio_stacks()
......................................................................
Patch Set 10:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/71965/comment/92a16159_48445c9e
PS10, Line 7: soc/intel/xeon_sp/chip_common.c: Update attach_iio_stacks()
How about "Probe all buses in attach_iio_stacks()"?
--
To view, visit https://review.coreboot.org/c/coreboot/+/71965
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ica3c61493a0ff6c699b500f30788b2cf5a06c250
Gerrit-Change-Number: 71965
Gerrit-PatchSet: 10
Gerrit-Owner: Simon Chou <simonchou(a)supermicro.com.tw>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Attention: Simon Chou <simonchou(a)supermicro.com.tw>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Wed, 01 Feb 2023 21:49:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Patrick Rudolph, Simon Chou, Johnny Lin, Christian Walter, Shuming Chu (Shuming), Arthur Heymans.
Jonathan Zhang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71967 )
Change subject: soc/intel/xeon_sp/spr: add ACPI code
......................................................................
Patch Set 13:
(2 comments)
File src/soc/intel/xeon_sp/spr/acpi/uncore.asl:
https://review.coreboot.org/c/coreboot/+/71967/comment/b6444edc_fe63a8e6
PS13, Line 38: #if (CONFIG_MAX_SOCKET > 3)
This part of the DSDT code should be generated, using hob->PlatformData.numofIIO.
File src/soc/intel/xeon_sp/spr/soc_acpi.c:
https://review.coreboot.org/c/coreboot/+/71967/comment/f3b8a959_5d348b60
PS13, Line 387: for (uint8_t socket = 0; socket < hob->PlatformData.numofIIO; ++socket) {
> The issue is that SSDT needs to be in sync with DSDT (src/soc/intel/xeon_sp/spr/acpi/uncore. […]
Got you. I think we should use hob->PlatformData.numofIIO for DSDT as well; in other words, we should generate that part of the DSDT code. Do you agree?
--
To view, visit https://review.coreboot.org/c/coreboot/+/71967
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic2a9be0222e122ae087b9cc8e1859d257e3411d6
Gerrit-Change-Number: 71967
Gerrit-PatchSet: 13
Gerrit-Owner: Simon Chou <simonchou(a)supermicro.com.tw>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-CC: Shuming Chu (Shuming) <s1218944(a)gmail.com>
Gerrit-CC: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Simon Chou <simonchou(a)supermicro.com.tw>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Shuming Chu (Shuming) <s1218944(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Wed, 01 Feb 2023 21:46:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Comment-In-Reply-To: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-MessageType: comment
Attention is currently required from: Martin L Roth, Arthur Heymans, Eric Lai.
Elyes Haouas has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71855 )
Change subject: vc/amd/pi: Fix "No such file or directory"
......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS5:
needed for https://review.coreboot.org/c/coreboot/+/70251
--
To view, visit https://review.coreboot.org/c/coreboot/+/71855
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I745f4fc421c91c413fe0d3155d3494ed9704eeb6
Gerrit-Change-Number: 71855
Gerrit-PatchSet: 5
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Comment-Date: Wed, 01 Feb 2023 21:39:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Jason Glenesk, Raul Rangel, Matt DeVillier, Fred Reitberger, Felix Held.
Hello Jason Glenesk, Raul Rangel, Matt DeVillier, Fred Reitberger, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/72659
to look at the new patch set (#2).
Change subject: soc/amd: Use common reset code for PCO, CZN, MDN, PHX & Glinda
......................................................................
soc/amd: Use common reset code for PCO, CZN, MDN, PHX & Glinda
This switches the Ryzen SoCs to use the common reset code.
Cezanne and newer do not support warm reset, so use cold resets in all
cases (including the OS).
Picasso does support warm reset, so set the SOC_SUPPORTS_WARM_RESET
flag in Kconfig.
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Change-Id: Ie05c790573e4e68f3ec91bacffcc7d7efb986d79
---
M src/soc/amd/cezanne/Kconfig
M src/soc/amd/cezanne/Makefile.inc
M src/soc/amd/cezanne/fch.c
D src/soc/amd/cezanne/reset.c
M src/soc/amd/glinda/Kconfig
M src/soc/amd/glinda/Makefile.inc
M src/soc/amd/glinda/fch.c
D src/soc/amd/glinda/reset.c
M src/soc/amd/mendocino/Kconfig
M src/soc/amd/mendocino/Makefile.inc
M src/soc/amd/mendocino/fch.c
D src/soc/amd/mendocino/reset.c
M src/soc/amd/phoenix/Kconfig
M src/soc/amd/phoenix/Makefile.inc
M src/soc/amd/phoenix/fch.c
D src/soc/amd/phoenix/reset.c
M src/soc/amd/picasso/Kconfig
M src/soc/amd/picasso/Makefile.inc
D src/soc/amd/picasso/reset.c
19 files changed, 32 insertions(+), 174 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/72659/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/72659
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie05c790573e4e68f3ec91bacffcc7d7efb986d79
Gerrit-Change-Number: 72659
Gerrit-PatchSet: 2
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: 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-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newpatchset
Jérémy Compostella has uploaded this change for review. ( https://review.coreboot.org/c/libgfxinit/+/72714 )
Change subject: [EXPERIMENTAL] Begin Meteor Lake integration
......................................................................
[EXPERIMENTAL] Begin Meteor Lake integration
MeteoLake is gen 14 which is another generation (compared to Tigerlake
12) but according to the GOP team, changes are minimal. Therefore,
this patch does NOT create a new Gen_Meteorlake.
On the first run the board got stuck on
common/tigerlake/hw-gfx-gma-power_and_clocks.adb::Get_RawClk()
It turns that it hangs on Registers.SFUSE_STRAP. According to the
https://patchwork.freedesktop.org/patch/499261/ i915 driver change:
MTL has a fixed rawclk of 38400Khz. Register does not need to be
reprogrammed.
So I made Get_RawClk() return 38_400_000 on MTL. The commit message
also states that it does not need to be reprogrammed and that's
something I have not looked in and that may be something worth looking
at. Nevertheless, with this change the board gets further and at least
isn't stuck.
Change-Id: I890b32497af8edc82dd533e5c556e30ec50d0d04
Signed-off-by: Jeremy Compostella <jeremy.compostella(a)intel.com>
---
M common/hw-gfx-gma-config.ads.template
M common/hw-gfx-gma.ads
M common/tigerlake/hw-gfx-gma-power_and_clocks.adb
3 files changed, 55 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/14/72714/1
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index 8a39618..7ab5071 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -31,7 +31,7 @@
when Haswell => Broadwell,
when Broxton => Broxton,
when Skylake => Kabylake,
- when Tigerlake => Alderlake);
+ when Tigerlake => Meteorlake);
CPU_Var_Last : constant CPU_Variant :=
(case Gen is
when Haswell | Skylake | Tigerlake => ULX,
@@ -161,6 +161,7 @@
CPU_Kabylake : <sklbool> := Gen_Skylake and then CPU = Kabylake;
CPU_Tigerlake : <tglbool> := Gen_Tigerlake and then CPU = Tigerlake;
CPU_Alderlake : <tglbool> := Gen_Tigerlake and then CPU = Alderlake;
+ CPU_Meteorlake : <tglbool> := Gen_Tigerlake and then CPU = Meteorlake;
Sandybridge_On : <ilkbool> :=
((Gen_Ironlake and then CPU >= Sandybridge) or Haswell_On);
@@ -566,6 +567,9 @@
Is_Alder_Lake_N (Device_Id) or
Is_Raptor_Lake_P (Device_Id));
+ function Is_Meteor_Lake (Device_ID : Word16) return Boolean is
+ (Device_Id = 16#7d45#);
+
function Is_GPU (Device_Id : Word16; CPU : CPU_Type; CPU_Var : CPU_Variant)
return Boolean is
(case CPU is
@@ -609,7 +613,12 @@
when Normal =>
False,
when ULT | ULX =>
- Is_Alder_Lake (Device_ID)));
+ Is_Alder_Lake (Device_ID)),
+ when Meteorlake => (case CPU_Var is
+ when Normal =>
+ False,
+ when ULT | ULX =>
+ Is_Meteor_Lake (Device_ID)));
function Compatible_GPU (Device_Id : Word16) return Boolean is
(Is_GPU (Device_Id, CPU, CPU_Var));
diff --git a/common/hw-gfx-gma.ads b/common/hw-gfx-gma.ads
index 1c589d0..54e24be 100644
--- a/common/hw-gfx-gma.ads
+++ b/common/hw-gfx-gma.ads
@@ -49,7 +49,8 @@
Skylake,
Kabylake,
Tigerlake,
- Alderlake);
+ Alderlake,
+ Meteorlake);
type CPU_Variant is (Normal, ULT, ULX);
@@ -61,7 +62,8 @@
Sunrise_Point, -- Union Point compatible
Cannon_Point,
Tiger_Point,
- Alder_Point);
+ Alder_Point,
+ Meteor_Point);
type Port_Type is
(Disabled,
diff --git a/common/tigerlake/hw-gfx-gma-power_and_clocks.adb b/common/tigerlake/hw-gfx-gma-power_and_clocks.adb
index a01a89d..570eb1a 100644
--- a/common/tigerlake/hw-gfx-gma-power_and_clocks.adb
+++ b/common/tigerlake/hw-gfx-gma-power_and_clocks.adb
@@ -133,14 +133,18 @@
Raw_Frequency_24_MHz : Boolean;
SFUSE_STRAP_RAW_FREQUENCY : constant := 1 * 2 ** 8;
begin
- Rawclk := Config.Default_RawClk_Freq;
- Registers.Is_Set_Mask
- (Register => Registers.SFUSE_STRAP,
- Mask => SFUSE_STRAP_RAW_FREQUENCY,
- Result => Raw_Frequency_24_MHz);
+ if Config.CPU_Meteorlake then
+ Rawclk := 38_400_000;
+ else
+ Rawclk := Config.Default_RawClk_Freq;
+ Registers.Is_Set_Mask
+ (Register => Registers.SFUSE_STRAP,
+ Mask => SFUSE_STRAP_RAW_FREQUENCY,
+ Result => Raw_Frequency_24_MHz);
- if not Raw_Frequency_24_MHz then
- Rawclk := 19_200_000;
+ if not Raw_Frequency_24_MHz then
+ Rawclk := 38_400_000;
+ end if;
end if;
end Get_RawClk;
--
To view, visit https://review.coreboot.org/c/libgfxinit/+/72714
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-Change-Id: I890b32497af8edc82dd533e5c556e30ec50d0d04
Gerrit-Change-Number: 72714
Gerrit-PatchSet: 1
Gerrit-Owner: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-MessageType: newchange
Attention is currently required from: Jonathan Zhang, Simon Chou, Johnny Lin, Christian Walter, Shuming Chu (Shuming), Arthur Heymans.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71967 )
Change subject: soc/intel/xeon_sp/spr: add ACPI code
......................................................................
Patch Set 13:
(1 comment)
File src/soc/intel/xeon_sp/spr/soc_acpi.c:
https://review.coreboot.org/c/coreboot/+/71967/comment/f7449a13_99c00f93
PS13, Line 387: for (uint8_t socket = 0; socket < hob->PlatformData.numofIIO; ++socket) {
> I do not have such a system. […]
The issue is that SSDT needs to be in sync with DSDT (src/soc/intel/xeon_sp/spr/acpi/uncore.asl) and DSDT only uses CONFIG_MAX_SOCKET, but not hob->PlatformData.numofIIO.
--
To view, visit https://review.coreboot.org/c/coreboot/+/71967
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic2a9be0222e122ae087b9cc8e1859d257e3411d6
Gerrit-Change-Number: 71967
Gerrit-PatchSet: 13
Gerrit-Owner: Simon Chou <simonchou(a)supermicro.com.tw>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-CC: Shuming Chu (Shuming) <s1218944(a)gmail.com>
Gerrit-CC: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Attention: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Attention: Simon Chou <simonchou(a)supermicro.com.tw>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Shuming Chu (Shuming) <s1218944(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Wed, 01 Feb 2023 20:47:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Comment-In-Reply-To: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-MessageType: comment