Attention is currently required from: Felix Singer, Paul Menzel.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/65225?usp=email
to look at the new patch set (#20).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: mb/asrock: Add ASRock H370m-ITX support (Coffee Lake)
......................................................................
mb/asrock: Add ASRock H370m-ITX support (Coffee Lake)
I tested my code on a Intel i3-9100F under Ubuntu 24.04 and Windows 10 with SeaBIOS.
the following things are working flawlessly:
* all PCIe slots
* all USB ports
* VGA init in SeaBIOS (discrete nvida gpu)
* WiFi and onboard sound
* both Ethernet ports
* all SATA ports (besides m.2)
what was not tested:
* front audio jacks
whats not working:
* suspend to ram, it won't poweroff correctly
* edk2 with Windows 10+
* m.2 sata port/pcie is working
romstage changes:
* corrects resistor cfg (see 573387)
* removes unused dq/dqs mappings
* adds default config for Asrock H370M-ITX
* uses devicetree pci aliases
* removes unncesseray keys in devicetree.cb
* rename Makefile.inc to Makefile.mk
* load gpio config after FSP-S init
* move gpio_table to C file
* cleanup gpio.c
* adds smbios_slot_desc
* fixes pcie devicetree
Change-Id: I79302247311471153ebbba991081365d9265791b
Signed-off-by: Max Fritz <antischmock(a)googlemail.com>
---
A configs/config.asrock_h370m_itx
A src/mainboard/asrock/h370m/Kconfig
A src/mainboard/asrock/h370m/Kconfig.name
A src/mainboard/asrock/h370m/Makefile.mk
A src/mainboard/asrock/h370m/board_info.txt
A src/mainboard/asrock/h370m/bootblock.c
A src/mainboard/asrock/h370m/cmos.default
A src/mainboard/asrock/h370m/cmos.layout
A src/mainboard/asrock/h370m/devicetree.cb
A src/mainboard/asrock/h370m/dsdt.asl
A src/mainboard/asrock/h370m/gpio.c
A src/mainboard/asrock/h370m/include/gpio.h
A src/mainboard/asrock/h370m/ramstage.c
A src/mainboard/asrock/h370m/romstage.c
14 files changed, 699 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/65225/20
--
To view, visit https://review.coreboot.org/c/coreboot/+/65225?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I79302247311471153ebbba991081365d9265791b
Gerrit-Change-Number: 65225
Gerrit-PatchSet: 20
Gerrit-Owner: Name of user not set #1004406
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
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>
Attention is currently required from: David Wu, Dinesh Gehlot, Eran Mitrani, Jakub Czapiga, Kapil Porwal, Subrata Banik, Tarun.
Tyler Wang has posted comments on this change by Tyler Wang. ( https://review.coreboot.org/c/coreboot/+/85511?usp=email )
Change subject: mb/google/rex/var/kanix: Enable/Disable PCIE WLAN based on fw_config
......................................................................
Patch Set 1:
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/coreboot/+/85511?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I2020c431444f21d82f8722d24065558a62e0cb93
Gerrit-Change-Number: 85511
Gerrit-PatchSet: 1
Gerrit-Owner: Tyler Wang <tyler.wang(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: David Wu <david_wu(a)quanta.corp-partner.google.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-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(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-Comment-Date: Fri, 06 Dec 2024 01:11:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Attention is currently required from: Caveh Jalali, Gwendal Grignou, Rob Barnes.
Boris Mittelberg has posted comments on this change by Rob Barnes. ( https://review.coreboot.org/c/coreboot/+/85461?usp=email )
Change subject: ec/google/chromeec: Define ACPI_NOTIFY_CROS_EC_MKBP constant
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/85461?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ia476263620acc269f9dd8a6b3c9e5e247b403aee
Gerrit-Change-Number: 85461
Gerrit-PatchSet: 1
Gerrit-Owner: Rob Barnes <robbarnes(a)google.com>
Gerrit-Reviewer: Boris Mittelberg <bmbm(a)google.com>
Gerrit-Reviewer: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Gwendal Grignou <gwendal(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Attention: Rob Barnes <robbarnes(a)google.com>
Gerrit-Attention: Gwendal Grignou <gwendal(a)chromium.org>
Gerrit-Comment-Date: Fri, 06 Dec 2024 00:40:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85456?usp=email )
Change subject: soc/intel/ptl: Populate SMBIOS Type 4 with unique serial number
......................................................................
soc/intel/ptl: Populate SMBIOS Type 4 with unique serial number
This commit enhances the SMBIOS Type 4 table by populating the "serial
number" field with the unique SoC QDF information retrieved via PMC
IPC.
This improvement provides more accurate and detailed processor
information for Panther Lake SoCs and onwards, aiding in:
- System identification
- Diagnostics
- Asset management
Previously, the serial number field was not populated.
TEST=Able to build and boot google/fatcat.
Example of SMBIOS Type 4 output:
Before this commit:
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
After this commit:
Serial Number: ABCD (Example SoC QDF information)
Asset Tag: Not Specified
Part Number: Not Specified
Change-Id: I38a0bb0e44c619393b8f058ae30fbf2f9719b724
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85456
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Eric Lai <ericllai(a)google.com>
---
M src/soc/intel/pantherlake/cpu.c
1 file changed, 13 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Eric Lai: Looks good to me, approved
diff --git a/src/soc/intel/pantherlake/cpu.c b/src/soc/intel/pantherlake/cpu.c
index 28fa1d8..4b3c950 100644
--- a/src/soc/intel/pantherlake/cpu.c
+++ b/src/soc/intel/pantherlake/cpu.c
@@ -15,6 +15,8 @@
#include <intelblocks/cpulib.h>
#include <intelblocks/mp_init.h>
#include <intelblocks/msr.h>
+#include <intelblocks/pmclib.h>
+#include <smbios.h>
#include <soc/cpu.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
@@ -234,3 +236,14 @@
return 0;
}
+
+/* Override SMBIOS type 4 processor serial numbers */
+const char *smbios_processor_serial_number(void)
+{
+ char *qdf = retrieve_soc_qdf_info_via_pmc_ipc();
+
+ if (qdf != NULL)
+ return qdf;
+ else
+ return "";
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/85456?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I38a0bb0e44c619393b8f058ae30fbf2f9719b724
Gerrit-Change-Number: 85456
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85455?usp=email )
Change subject: soc/intel/cmn/pmc: Retrieve SoC QDF information via PMC IPC
......................................................................
soc/intel/cmn/pmc: Retrieve SoC QDF information via PMC IPC
This commit introduces a new function,
`retrieve_soc_qdf_info_via_pmc_ipc()`, to retrieve the SoC QDF
information string using the PMC IPC mechanism.
This function allows for more flexible use of the SoC QDF information,
enabling its use in various data structures like the SMBIOS Type 4
table.
The existing `pmc_dump_soc_qdf_info()` function is updated to use this
new function to retrieve the QDF information before printing it.
TEST=Able to build and boot google/fatcat.
Change-Id: I91ccf8aae4be9e9bbcad8ef2f422b88edef66376
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85455
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Christian Walter <christian.walter(a)9elements.com>
---
M src/soc/intel/common/block/include/intelblocks/pmclib.h
M src/soc/intel/common/block/pmc/pmclib.c
2 files changed, 29 insertions(+), 9 deletions(-)
Approvals:
Christian Walter: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/src/soc/intel/common/block/include/intelblocks/pmclib.h b/src/soc/intel/common/block/include/intelblocks/pmclib.h
index 18d1b4d..5423865 100644
--- a/src/soc/intel/common/block/include/intelblocks/pmclib.h
+++ b/src/soc/intel/common/block/include/intelblocks/pmclib.h
@@ -287,4 +287,15 @@
*/
void pmc_dump_soc_qdf_info(void);
+/*
+ * Retrieve SoC QDF information.
+ *
+ * This function retrieves the SoC QDF information string, which can be used to
+ * populate various data structures, such as the SMBIOS Type 4 table for CPU
+ * identification.
+ *
+ * @return A pointer to the SoC QDF information string.
+ */
+char *retrieve_soc_qdf_info_via_pmc_ipc(void);
+
#endif /* SOC_INTEL_COMMON_BLOCK_PMCLIB_H */
diff --git a/src/soc/intel/common/block/pmc/pmclib.c b/src/soc/intel/common/block/pmc/pmclib.c
index c51a960..0fadd6e 100644
--- a/src/soc/intel/common/block/pmc/pmclib.c
+++ b/src/soc/intel/common/block/pmc/pmclib.c
@@ -934,20 +934,16 @@
printk(BIOS_ERR, "PMC: Failed sending PCI Enumeration Done Command\n");
}
-/*
- * This function reads and prints SoC QDF information using PMC interface
- * if SOC_QDF_DYNAMIC_READ_PMC config is enabled.
- */
-void pmc_dump_soc_qdf_info(void)
+char *retrieve_soc_qdf_info_via_pmc_ipc(void)
{
struct pmc_ipc_buffer req = { 0 };
struct pmc_ipc_buffer rsp;
uint32_t cmd_reg;
int r;
- char qdf_info[5];
+ static char qdf_info[5] = { 0 };
if (!CONFIG(SOC_QDF_DYNAMIC_READ_PMC))
- return;
+ return NULL;
req.buf[0] = PMC_IPC_CMD_REGID_SOC_QDF;
cmd_reg = pmc_make_ipc_cmd(PMC_IPC_CMD_SOC_REG_ACC,
@@ -959,7 +955,7 @@
if (r < 0 || rsp.buf[0] == 0) {
printk(BIOS_ERR, "%s: pmc_send_ipc_cmd failed or QDF not available.\n",
__func__);
- return;
+ return NULL;
}
qdf_info[0] = ((rsp.buf[0] >> 24) & 0xFF);
@@ -967,5 +963,18 @@
qdf_info[2] = ((rsp.buf[0] >> 8) & 0xFF);
qdf_info[3] = (rsp.buf[0] & 0xFF);
qdf_info[4] = '\0';
- printk(BIOS_INFO, "SoC QDF: %s\n", qdf_info);
+
+ return qdf_info;
+}
+
+/*
+ * This function reads and prints SoC QDF information using PMC interface
+ * if SOC_QDF_DYNAMIC_READ_PMC config is enabled.
+ */
+void pmc_dump_soc_qdf_info(void)
+{
+ char *qdf = retrieve_soc_qdf_info_via_pmc_ipc();
+
+ if (qdf != NULL)
+ printk(BIOS_INFO, "SoC QDF: %s\n", qdf);
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/85455?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I91ccf8aae4be9e9bbcad8ef2f422b88edef66376
Gerrit-Change-Number: 85455
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Attention is currently required from: Alexander Couzens, Kyösti Mälkki, Martin L Roth, Michał Żygowski, Paul Menzel, Tim Crawford, Tim Wawrzynczak, Utkarsh H Patel.
Máté Kukri has posted comments on this change by Tim Crawford. ( https://review.coreboot.org/c/coreboot/+/75286?usp=email )
Change subject: drivers/intel/dtbt: Add discrete Thunderbolt driver
......................................................................
Patch Set 12:
(1 comment)
Patchset:
PS12:
Reason for rebase is planned use on ThinkPad T480 for supporting the Alpine Ridge controller.
--
To view, visit https://review.coreboot.org/c/coreboot/+/75286?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib78ce43740956fa2c93b9ebddb0eeb319dcc0364
Gerrit-Change-Number: 75286
Gerrit-PatchSet: 12
Gerrit-Owner: Tim Crawford <tcrawford(a)system76.com>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: Utkarsh H Patel <utkarsh.h.patel(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-CC: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-CC: Haribalaraman Ramasubramanian <haribalaraman.r(a)intel.com>
Gerrit-CC: Jeremy Compostella <jeremy.compostella(a)intel.corp-partner.google.com>
Gerrit-CC: Jeremy Soller <jeremy(a)system76.com>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Máté Kukri <km(a)mkukri.xyz>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Attention: Tim Crawford <tcrawford(a)system76.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Utkarsh H Patel <utkarsh.h.patel(a)intel.com>
Gerrit-Attention: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Comment-Date: Thu, 05 Dec 2024 20:44:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No