Attention is currently required from: Karthik Ramasubramanian, Paul Menzel, Shelley Chen.
Ashish Kumar Mishra has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81224?usp=email )
Change subject: mb/google/brox: Select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
......................................................................
Patch Set 4:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/81224/comment/7f6e2118_718ad370 :
PS3, Line 11: This also adds a warm boot step, only when booting from cold reset
: to disable the UFS Controller.
> I do not understand the relation regarding to the Kconfig change at hand. […]
Choosing this KConfig handles UFS disable on relevant SKUs and it requires a cold reset, during which the settings will be applied and a warm boot triggered. This is added to clarify the behavior expected due to this Kconfig.
https://review.coreboot.org/c/coreboot/+/81224/comment/4d047b4c_1340af88 :
PS3, Line 9: Select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS in brox Kconfig.
: This enables a single binary for both SKU1 and SKU2.
: This also adds a warm boot step, only when booting from cold reset
: to disable the UFS Controller.
> Please add a blank line between paragraphs, or do not break lines just because a sentence ends.
Acknowledged
--
To view, visit https://review.coreboot.org/c/coreboot/+/81224?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iabd0b3a83aa386e09310b671632368807a4018d4
Gerrit-Change-Number: 81224
Gerrit-PatchSet: 4
Gerrit-Owner: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Tue, 19 Mar 2024 11:16:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Lean Sheng Tan, Nico Huber, Paul Menzel, Werner Zeh.
Mario Scheithauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81344?usp=email )
Change subject: soc/intel/elkhartlake/Kconfig: Rename FSPRel.bin to FSP.fd
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> Hmmm, the old file is still around and the newer has a different version […]
Yes, it is the same code base but with a new label.
However, I have no information as to why Intel used the new labelling.
But I think that the previous name didn't fit, so it was renamed to FSPRel.bin.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81344?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ibc87ea2744e971d58e9a402f7cf04ef3f316f3b8
Gerrit-Change-Number: 81344
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Tue, 19 Mar 2024 11:08:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Attention is currently required from: Ashish Kumar Mishra, Karthik Ramasubramanian, Shelley Chen.
Hello Karthik Ramasubramanian, Shelley Chen, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/81224?usp=email
to look at the new patch set (#4).
Change subject: mb/google/brox: Select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
......................................................................
mb/google/brox: Select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS
Select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS in brox Kconfig.
This enables a single binary for both SKU1 and SKU2. For SKU2, upon
boot from cold reset, it will disable the UFS Controller and then
trigger a warm boot.
BUG=b:329209576
BRANCH=None
TEST=Boot image on SKU1/SKU2 and check S0ix working.
Change-Id: Iabd0b3a83aa386e09310b671632368807a4018d4
Signed-off-by: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
---
M src/mainboard/google/brox/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/81224/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/81224?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iabd0b3a83aa386e09310b671632368807a4018d4
Gerrit-Change-Number: 81224
Gerrit-PatchSet: 4
Gerrit-Owner: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Ashish Kumar Mishra <ashish.k.mishra(a)intel.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Felix Singer, Lean Sheng Tan, Mario Scheithauer, Paul Menzel, Werner Zeh.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81344?usp=email )
Change subject: soc/intel/elkhartlake/Kconfig: Rename FSPRel.bin to FSP.fd
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Hmmm, the old file is still around and the newer has a different version
scheme (MR7 vs. IPU2024.2) do we know any details? is this the same line
of FSP?
--
To view, visit https://review.coreboot.org/c/coreboot/+/81344?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ibc87ea2744e971d58e9a402f7cf04ef3f316f3b8
Gerrit-Change-Number: 81344
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Comment-Date: Tue, 19 Mar 2024 10:25:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Rudolph has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81187?usp=email )
Change subject: soc/intel/xeon_sp/spr: Enable 512 MMCONF buses by default
......................................................................
soc/intel/xeon_sp/spr: Enable 512 MMCONF buses by default
As of now coreboot only supported one PCI segment group and thus the
MMCONF size had to be limited to 256 buses on ibm/sbp1. Since the
default FSP doesn't allow to disable unused IIO stacks a patched
version had to be used. Those unused IIO stacks consume lots of PCI
bus ranges, leaving no free buses for the secondary side behind PCI
bridges. The IIO disable mechanism doesn't work after ACPI G3 exit
and thus requires multiple reboots when the previous state was G3.
Since coreboot now supports multi PCI segment groups enable 512
MMCONF buses on 4S platforms by default and drop the IIO stack
disable UPDs on ibm/sbp1. This allows to boot faster without the
need for a patched FSP.
The use of multiple PCI segment groups might prevent legacy software
from working properly, however the only board where multiple PCI
segment groups are used uses u-root as default payload.
TEST=Booted on ibm/sbp1 to ubuntu22.04 using two PCI segment groups.
TEST=intel/archercity CRB
Change-Id: I4e6e5eca1196d4ab50e43b4b58d24eca444ab519
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81187
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/mainboard/ibm/sbp1/romstage.c
M src/soc/intel/xeon_sp/Kconfig
M src/soc/intel/xeon_sp/spr/romstage.c
3 files changed, 30 insertions(+), 20 deletions(-)
Approvals:
build bot (Jenkins): Verified
Arthur Heymans: Looks good to me, approved
diff --git a/src/mainboard/ibm/sbp1/romstage.c b/src/mainboard/ibm/sbp1/romstage.c
index 5cda689..365d6b1 100644
--- a/src/mainboard/ibm/sbp1/romstage.c
+++ b/src/mainboard/ibm/sbp1/romstage.c
@@ -270,8 +270,6 @@
void mainboard_memory_init_params(FSPM_UPD *mupd)
{
- UINT32 *sktbmp;
-
/* Set Rank Margin Tool to disable. */
mupd->FspmConfig.EnableRMT = 0x0;
@@ -287,25 +285,7 @@
else
mupd->FspmConfig.serialDebugMsgLvl = 0;
- /* Force 256MiB MMCONF (Segment0) only */
- mupd->FspmConfig.mmCfgSize = 0x2;
mupd->FspmConfig.PcieHotPlugEnable = 1;
-
- /*
- * Disable unused IIO stack:
- * Socket 0 : IIO1, IIO4
- * Socket 1 : IIO1, IIO2
- * Socket 2 : IIO1, IIO5
- * Socket 3 : IIO1, IIO5
- * Stack Disable bit mapping is:
- * IIO stack number: 1 2 3 4 5
- * Stack Disable Bit: 1 5 3 2 4
- */
- sktbmp = (UINT32 *)&mupd->FspmConfig.StackDisableBitMap[0];
- sktbmp[0] = BIT(1) | BIT(2);
- sktbmp[1] = BIT(1) | BIT(5);
- sktbmp[2] = BIT(1) | BIT(4);
- sktbmp[3] = BIT(1) | BIT(4);
soc_config_iio(mupd, sbp1_socket_config, sbp1_socket_config_iou);
}
diff --git a/src/soc/intel/xeon_sp/Kconfig b/src/soc/intel/xeon_sp/Kconfig
index 52aaec17..923527e3 100644
--- a/src/soc/intel/xeon_sp/Kconfig
+++ b/src/soc/intel/xeon_sp/Kconfig
@@ -89,6 +89,7 @@
default 0x80000000
config ECAM_MMCONF_BUS_NUMBER
+ default 512 if MAX_SOCKET = 4
default 256
config ALWAYS_ALLOW_ABOVE_4G_ALLOCATION
diff --git a/src/soc/intel/xeon_sp/spr/romstage.c b/src/soc/intel/xeon_sp/spr/romstage.c
index 4cce21f..74976b3 100644
--- a/src/soc/intel/xeon_sp/spr/romstage.c
+++ b/src/soc/intel/xeon_sp/spr/romstage.c
@@ -211,6 +211,35 @@
m_cfg->mmiohBase = 0x2000;
m_cfg->mmiohSize = 0x3;
+ /*
+ * By default FSP will set MMCFG size to 256 buses on 1S and 2S platforms
+ * and 512 buses on 4S platforms. 512 buses are implemented by using multiple
+ * PCI segment groups and is likely incompatible with legacy software stacks.
+ */
+ switch (CONFIG_ECAM_MMCONF_BUS_NUMBER) {
+ case 2048:
+ m_cfg->mmCfgSize = 5;
+ break;
+ case 1024:
+ m_cfg->mmCfgSize = 4;
+ break;
+ case 512:
+ m_cfg->mmCfgSize = 3;
+ break;
+ case 256:
+ m_cfg->mmCfgSize = 2;
+ break;
+ case 128:
+ m_cfg->mmCfgSize = 1;
+ break;
+ case 64:
+ m_cfg->mmCfgSize = 0;
+ break;
+ default:
+ printk(BIOS_ERR, "%s: Unsupported ECAM_MMCONF_BUS_NUMBER = %d\n",
+ __func__, CONFIG_ECAM_MMCONF_BUS_NUMBER);
+ }
+
m_cfg->BoardTypeBitmask = 0x11111133;
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/81187?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4e6e5eca1196d4ab50e43b4b58d24eca444ab519
Gerrit-Change-Number: 81187
Gerrit-PatchSet: 10
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
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: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Eric Lai, Kapil Porwal, Paul Menzel, Subrata Banik.
Sumeet R Pawnikar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78386?usp=email )
Change subject: drivers/intel/dptf: Add DCFG method support
......................................................................
Patch Set 5:
(1 comment)
File src/drivers/intel/dptf/dptf.c:
https://review.coreboot.org/c/coreboot/+/78386/comment/b69539c2_55841691 :
PS4, Line 164: acpigen_write_name("DCFE");
> How to change the DCFE is it is hard code? Should pass by config?
ODM/OEM can configure this by adding dcfg config under overridetree.cb file for specific product.
Submitted TEST patch https://review.coreboot.org/c/coreboot/+/81345 on usage of this.
--
To view, visit https://review.coreboot.org/c/coreboot/+/78386?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I507c4d6eee565d39b2f42950d888d110ab94de64
Gerrit-Change-Number: 78386
Gerrit-PatchSet: 5
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Comment-Date: Tue, 19 Mar 2024 10:12:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Eric Lai <ericllai(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Dinesh Gehlot, Eran Mitrani, Jakub Czapiga, Kapil Porwal, Subrata Banik, Tarun.
Sumeet R Pawnikar has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81345?usp=email )
Change subject: TEST: use dcfg config to control thermal tuning mechanism
......................................................................
TEST: use dcfg config to control thermal tuning mechanism
This is an example on how to use dcfg config to control the thermal
tuning mechanism on specific platform.
BUG=b:272382080
TEST=Build, boot on rex board and dump SSDT to check DCFG method.
Also, verified the value over sysfs attribute "production_mode"
present under /sys/bus/platform/devices/INTC1042:00 path.
Change-Id: I12c84d16102c1678c8f0162af15f34587c978028
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar(a)intel.com>
---
M src/mainboard/google/rex/variants/rex0/overridetree.cb
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/81345/1
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index 12068ce..55e39b2 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -176,6 +176,9 @@
end # Integrated Graphics Device
device ref dtt on
chip drivers/intel/dptf
+
+ register "dcfg" = "5"
+
## sensor information
register "options.tsr[0].desc" = ""DDR_SOC""
register "options.tsr[1].desc" = ""Ambient""
--
To view, visit https://review.coreboot.org/c/coreboot/+/81345?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I12c84d16102c1678c8f0162af15f34587c978028
Gerrit-Change-Number: 81345
Gerrit-PatchSet: 1
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun <tstuli(a)gmail.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Tarun <tstuli(a)gmail.com>
Gerrit-MessageType: newchange