Attention is currently required from: Ravi kumar, Sudheer Amrabadi.
Shelley Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56642 )
Change subject: google/herobrine: configure gpio to detect board ID.
......................................................................
Patch Set 35:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/56642/comment/deaac3ea_7290eb66
PS35, Line 9: change binary board ID to tri-state mode.
I don't think that you're doing this anymore in this CL...
--
To view, visit https://review.coreboot.org/c/coreboot/+/56642
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6de2a7e7b11ecce8325e0fd44dc7221d73729390
Gerrit-Change-Number: 56642
Gerrit-PatchSet: 35
Gerrit-Owner: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Ravi Kumar Bokka <c_rbokka(a)qualcomm.corp-partner.google.com>
Gerrit-CC: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Ravi kumar <rbokka(a)codeaurora.org>
Gerrit-Attention: Sudheer Amrabadi <samrabad(a)codeaurora.org>
Gerrit-Comment-Date: Mon, 20 Dec 2021 19:11:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60139 )
Change subject: mb/google/guybrush: Enable PSP_S0I3_RESUME_VERSTAGE
......................................................................
mb/google/guybrush: Enable PSP_S0I3_RESUME_VERSTAGE
Enable PSP_S0I3_RESUME_VERSTAGE for all guybrush based boards. This will
cause verstage to run during s0i3 resume. The TPM will be reinitialized
in verstage during s0i3 resume. This is necessary on guybrush boards
because the TPM_RST_L pin is asserted by the SOC in S0i3.
BUG=b:200578885
BRANCH=None
TEST=TPM initialized after s0i3
Change-Id: I9d64fe92ffc67a421be6d5e013e636332ce86dd5
Signed-off-by: Rob Barnes <robbarnes(a)google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60139
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Paul Menzel <paulepanter(a)mailbox.org>
Reviewed-by: Raul Rangel <rrangel(a)chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub(a)google.com>
---
M src/mainboard/google/guybrush/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Paul Menzel: Looks good to me, but someone else must approve
Raul Rangel: Looks good to me, approved
Karthik Ramasubramanian: Looks good to me, approved
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index 7d9cd3d..ded66ab 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -39,6 +39,7 @@
select PCIEXP_COMMON_CLOCK
select PCIEXP_L1_SUB_STATE
select PSP_DISABLE_POSTCODES
+ select PSP_S0I3_RESUME_VERSTAGE if VBOOT_STARTS_BEFORE_BOOTBLOCK
select SOC_AMD_CEZANNE
select SOC_AMD_COMMON_BLOCK_GRAPHICS_ATIF
select SOC_AMD_COMMON_BLOCK_USE_ESPI
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit https://review.coreboot.org/c/coreboot/+/60139
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9d64fe92ffc67a421be6d5e013e636332ce86dd5
Gerrit-Change-Number: 60139
Gerrit-PatchSet: 5
Gerrit-Owner: Rob Barnes <robbarnes(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/57168 )
Change subject: configs: Add config for Prodrive Hermes
......................................................................
configs: Add config for Prodrive Hermes
Build-test the configuration Prodrive uses to build coreboot for their
Hermes mainboard.
Change-Id: I62e79d3143851bf14dfdbe70e60c60f13dd06c3f
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57168
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Felix Held <felix-coreboot(a)felixheld.de>
Reviewed-by: Justin van Son <justin.van.son(a)prodrive-technologies.com>
---
A configs/config.prodrive_hermes
1 file changed, 13 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Felix Held: Looks good to me, approved
Justin van Son: Looks good to me, but someone else must approve
diff --git a/configs/config.prodrive_hermes b/configs/config.prodrive_hermes
new file mode 100644
index 0000000..34556cc
--- /dev/null
+++ b/configs/config.prodrive_hermes
@@ -0,0 +1,13 @@
+# Settings used by Prodrive to build coreboot for the Hermes
+CONFIG_VENDOR_PRODRIVE=y
+CONFIG_BOARD_PRODRIVE_HERMES=y
+CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="Prodrive Techonologies B.V."
+CONFIG_POST_IO=y
+CONFIG_USE_LEGACY_8254_TIMER=y
+CONFIG_HERMES_USES_SPS_FIRMWARE=y
+CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
+CONFIG_SMMSTORE=y
+CONFIG_SMMSTORE_V2=y
+CONFIG_DEFAULT_CONSOLE_LOGLEVEL_3=y
+CONFIG_POST_DEVICE_LPC=y
+CONFIG_MAINBOARD_SERIAL_NUMBER="N/A"
--
To view, visit https://review.coreboot.org/c/coreboot/+/57168
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62e79d3143851bf14dfdbe70e60c60f13dd06c3f
Gerrit-Change-Number: 57168
Gerrit-PatchSet: 4
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Justin van Son <justin.van.son(a)prodrive-technologies.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/59951 )
Change subject: soc/intel/common: Do not trigger crashlog on all resets by default
......................................................................
soc/intel/common: Do not trigger crashlog on all resets by default
Crashlog has error records and PMC reset records two parts. When we
send ipc cmd "PMC_IPC_CMD_ID_CRASHLOG_ON_RESET", PMC reset record is
enabled. At each warm/cold/global reset, crashlog would be triggered.
The cause of this crash would be "TRIGGER_ON_ALL_RESETS", it is used to
catch unknown reset reason. At the same time, we would see [Hardware
Error] in the kernel log.
If we default enable TRIGGER_ON_ALL_RESETS, we would have too many false
alarm. Now we disable PMC reset records part by default. And we could
enable it when we need it for the debug purpose.
The generated bert dump is under /var/spool/crash/, we could check this
path to verify this CONFIG disable/enable status.
BUG=b:202737385
TEST=No new bert dump after a warm reset.
Signed-off-by: Curtis Chen <curtis.chen(a)intel.com>
Change-Id: I3ec4ff3c8a3799156de030f4556fe6ce61305139
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59951
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
---
M src/soc/intel/alderlake/Kconfig
M src/soc/intel/common/Kconfig.common
M src/soc/intel/common/block/crashlog/crashlog.c
M src/soc/intel/tigerlake/Kconfig
4 files changed, 18 insertions(+), 16 deletions(-)
Approvals:
build bot (Jenkins): Verified
Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index 9e69663..46fd742 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -333,13 +333,6 @@
int
default 16
-config SOC_INTEL_CRASHLOG
- def_bool n
- select SOC_INTEL_COMMON_BLOCK_CRASHLOG
- select ACPI_BERT
- help
- Enables CrashLog.
-
config ACPI_ADL_IPU_ES_SUPPORT
def_bool n
help
diff --git a/src/soc/intel/common/Kconfig.common b/src/soc/intel/common/Kconfig.common
index 5f1f608..c7e1aec 100644
--- a/src/soc/intel/common/Kconfig.common
+++ b/src/soc/intel/common/Kconfig.common
@@ -79,4 +79,18 @@
hex
default 0x800
+config SOC_INTEL_CRASHLOG
+ def_bool n
+ select SOC_INTEL_COMMON_BLOCK_CRASHLOG
+ select ACPI_BERT
+ help
+ Enables Crashlog.
+
+config SOC_INTEL_CRASHLOG_ON_RESET
+ def_bool n
+ help
+ Enables the PMC to collect crashlog records on every reset event. NOTE:
+ This will result in a BERT table being populated containing a PMC
+ crashlog record on every boot.
+
endif # SOC_INTEL_COMMON
diff --git a/src/soc/intel/common/block/crashlog/crashlog.c b/src/soc/intel/common/block/crashlog/crashlog.c
index c3d0cfd..8c31d03 100644
--- a/src/soc/intel/common/block/crashlog/crashlog.c
+++ b/src/soc/intel/common/block/crashlog/crashlog.c
@@ -479,8 +479,10 @@
{
if (pmc_crashlog_support() && cl_pmc_data_present()
&& (cl_get_pmc_record_size() > 0)) {
- cl_pmc_en_gen_on_all_reboot();
- printk(BIOS_DEBUG, "Crashlog collection enabled on every reboot.\n");
+ if (CONFIG(SOC_INTEL_CRASHLOG_ON_RESET)) {
+ cl_pmc_en_gen_on_all_reboot();
+ printk(BIOS_DEBUG, "Crashlog collection enabled on every reboot.\n");
+ }
cl_get_pmc_sram_data();
} else {
printk(BIOS_DEBUG, "Skipping PMC crashLog collection. Data not present.\n");
diff --git a/src/soc/intel/tigerlake/Kconfig b/src/soc/intel/tigerlake/Kconfig
index a7b3ae4..cf59b60 100644
--- a/src/soc/intel/tigerlake/Kconfig
+++ b/src/soc/intel/tigerlake/Kconfig
@@ -284,13 +284,6 @@
int
default 16
-config SOC_INTEL_CRASHLOG
- def_bool n
- select SOC_INTEL_COMMON_BLOCK_CRASHLOG
- select ACPI_BERT
- help
- Enables CrashLog.
-
# Intel recommends reserving the following resources per USB4 root port,
# from TGL BIOS Spec (doc #611569) Revision 0.7.6 Section 7.2.5.1.5
# - 42 buses
--
To view, visit https://review.coreboot.org/c/coreboot/+/59951
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3ec4ff3c8a3799156de030f4556fe6ce61305139
Gerrit-Change-Number: 59951
Gerrit-PatchSet: 7
Gerrit-Owner: Curtis Chen <curtis.chen(a)intel.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kane Chen <kane.chen(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: merged