Benjamin Doron has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44995 )
Change subject: acpi: Support MSDM table signature as SLIC
......................................................................
Patch Set 4:
This change is ready for review.
--
To view, visit https://review.coreboot.org/c/coreboot/+/44995
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic3a1374c8a4880111a30662823c3be99008eedd3
Gerrit-Change-Number: 44995
Gerrit-PatchSet: 4
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Wed, 30 Sep 2020 20:23:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45747 )
Change subject: soc/intel/tigerlake: Replace soc_get_pmc_mux_device with device pointers
......................................................................
Patch Set 2:
(4 comments)
and I just remembered we want the TCSS xhci ports, not the PCH xhci................
that'll be more tricky, b/c that ASL code is a beast...
could keep the device definition in ASL and just add
https://review.coreboot.org/c/coreboot/+/45747/1/src/drivers/intel/xhci/xhc…
File src/drivers/intel/xhci/xhci.c:
https://review.coreboot.org/c/coreboot/+/45747/1/src/drivers/intel/xhci/xhc…
PS1, Line 7: id
> usb_rev ?
much better
https://review.coreboot.org/c/coreboot/+/45747/1/src/drivers/intel/xhci/xhc…
PS1, Line 23: 9
> This buffer is too small to store the string
ha yep
https://review.coreboot.org/c/coreboot/+/45747/1/src/drivers/intel/xhci/xhc…
PS1, Line 24: %2d
> %2u
Done
https://review.coreboot.org/c/coreboot/+/45747/1/src/drivers/intel/xhci/xhc…
PS1, Line 31: const struct drivers_intel_xhci_config *config = dev->chip_info;
> nit: move this after the scope/name checks to safeguard against `dev` being null, or use `config_of( […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/45747
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie00834c79bd5304998adaccb388ae74a108192b1
Gerrit-Change-Number: 45747
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Wed, 30 Sep 2020 20:09:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45803 )
Change subject: soc/amd/picasso: Add fields for the PSP to the transfer struct
......................................................................
soc/amd/picasso: Add fields for the PSP to the transfer struct
The PSP will be adding information into these fields after verstage
runs. This allows data to be passed directly to coreboot very early
in the boot process.
BUG=b:168895748
TEST=None
Branch=Zork
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
Change-Id: Idbd1dfece59e99f6f15dfd8d002529ea6417cdbe
---
M src/soc/amd/picasso/include/soc/psp_transfer.h
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/45803/1
diff --git a/src/soc/amd/picasso/include/soc/psp_transfer.h b/src/soc/amd/picasso/include/soc/psp_transfer.h
index 0996f64..be88ce8 100644
--- a/src/soc/amd/picasso/include/soc/psp_transfer.h
+++ b/src/soc/amd/picasso/include/soc/psp_transfer.h
@@ -30,7 +30,13 @@
uint32_t console_offset;
uint32_t timestamp_offset;
uint32_t fmap_offset;
- uint32_t unused[9]; /* Pad to 64 bytes */
+
+ uint32_t unused1[5];
+
+ /* Fields reserved for the PSP */
+ uint64_t timestamp; /* Offset 0x30 */
+ uint32_t psp_unused; /* Offset 0x38 */
+ uint32_t psp_info; /* Offset 0x3C */
};
_Static_assert(sizeof(struct transfer_info_struct) == TRANSFER_INFO_SIZE, \
--
To view, visit https://review.coreboot.org/c/coreboot/+/45803
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idbd1dfece59e99f6f15dfd8d002529ea6417cdbe
Gerrit-Change-Number: 45803
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange
Hello Eugene Myers,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/45181
to review the following change.
Change subject: security/intel/stm: Fix size_t printf format error
......................................................................
security/intel/stm: Fix size_t printf format error
Size_t seems to have a compiler dependency. When building on the
Purism librem 15v4, size_t is 'unsigned long'. In this instance,
the compiler is the coreboot configured cross-compiler. In another
instance, size_t is defined as 'unsigned short'. To get around
the formatting conflict caused by this, The variable of type
size_t was cast as 'unsigned int' in the format.
Change-Id: Id51730c883d8fb9e87183121deb49f5fdda0114e
Signed-off-by: Eugene D Myers <cedarhouse(a)comcast.net>
---
M src/security/intel/stm/SmmStm.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/45181/1
diff --git a/src/security/intel/stm/SmmStm.c b/src/security/intel/stm/SmmStm.c
index 7256401..00490cf 100644
--- a/src/security/intel/stm/SmmStm.c
+++ b/src/security/intel/stm/SmmStm.c
@@ -477,7 +477,7 @@
return -1; // INVALID_PARAMETER;
resource_size = get_resource_size(resource_list, num_entries);
- printk(BIOS_DEBUG, "STM: ResourceSize - 0x%08lx\n", resource_size);
+ printk(BIOS_DEBUG, "STM: ResourceSize - 0x%08x\n", (int) resource_size);
if (resource_size == 0)
return -1; // INVALID_PARAMETER;
--
To view, visit https://review.coreboot.org/c/coreboot/+/45181
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id51730c883d8fb9e87183121deb49f5fdda0114e
Gerrit-Change-Number: 45181
Gerrit-PatchSet: 1
Gerrit-Owner: Eugene Myers <cedarhouse1(a)comcast.net>
Gerrit-Reviewer: Eugene Myers <cedarhouse(a)comcast.net>
Gerrit-MessageType: newchange
Johnny Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/45684 )
Change subject: console: Add config EARLY_OVERRIDE_LOGLEVEL for overriding early log level
......................................................................
console: Add config EARLY_OVERRIDE_LOGLEVEL for overriding early log level
For early boot stages before POSTCAR it can override log level by
get_option(), default set to n.
Make init_log_level() set log level for all stages because
get_log_level() is called by printk so avoid calling an overridden
function in case it impacts performance.
Tested=On OCP Delta Lake, log level can be overridden by get_option().
Change-Id: I532a88722c8e003b8e187a9714d26104c8ed8c6c
Signed-off-by: Johnny Lin <johnny_lin(a)wiwynn.com>
---
M src/console/Kconfig
M src/console/init.c
2 files changed, 12 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/45684/1
diff --git a/src/console/Kconfig b/src/console/Kconfig
index bad6c56..9a5d87b 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -309,6 +309,13 @@
help
Send coreboot debug output to a System76 embedded controller.
+config EARLY_OVERRIDE_LOGLEVEL
+ bool
+ default n
+ help
+ Set to "y" when the platform overrides the log level by get_option()
+ during early boot stages before POSTCAR.
+
config CONSOLE_OVERRIDE_LOGLEVEL
bool
help
diff --git a/src/console/init.c b/src/console/init.c
index 1dba9ad..a060683 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -12,21 +12,21 @@
#define CONSOLE_LEVEL_CONST !ENV_STAGE_HAS_DATA_SECTION
static int console_inited;
-static int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
+static int console_loglevel;
static inline int get_log_level(void)
{
if (console_inited == 0)
return -1;
- if (CONSOLE_LEVEL_CONST)
- return get_console_loglevel();
+ if (CONSOLE_LEVEL_CONST && !CONFIG(EARLY_OVERRIDE_LOGLEVEL))
+ return CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
return console_loglevel;
}
static inline void set_log_level(int new_level)
{
- if (CONSOLE_LEVEL_CONST)
+ if (CONSOLE_LEVEL_CONST && !CONFIG(EARLY_OVERRIDE_LOGLEVEL))
return;
console_loglevel = new_level;
@@ -34,10 +34,7 @@
static void init_log_level(void)
{
- int debug_level = get_console_loglevel();
-
- if (CONSOLE_LEVEL_CONST)
- return;
+ int debug_level = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
get_option(&debug_level, "debug_level");
--
To view, visit https://review.coreboot.org/c/coreboot/+/45684
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I532a88722c8e003b8e187a9714d26104c8ed8c6c
Gerrit-Change-Number: 45684
Gerrit-PatchSet: 1
Gerrit-Owner: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Nico Huber, Patrick Georgi, Martin Roth, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/39995
to look at the new patch set (#24).
Change subject: mb/siemens/chili: Add Chili variant
......................................................................
mb/siemens/chili: Add Chili variant
This Chili mainboard is used in an all-in-one PC.
For more information see
https://www.secunet.com/fileadmin/user_upload/_temp_/importexport/Print/Fac…
Change-Id: Ic7a5dccbb0d5b7bceb154fb050cf991254475f7b
Signed-off-by: Nico Huber <nico.huber(a)secunet.com>
Signed-off-by: Felix Singer <felix.singer(a)secunet.com>
---
M src/mainboard/siemens/chili/Kconfig
M src/mainboard/siemens/chili/Kconfig.name
M src/mainboard/siemens/chili/mainboard.c
M src/mainboard/siemens/chili/romstage.c
M src/mainboard/siemens/chili/variant.h
A src/mainboard/siemens/chili/variants/chili/Makefile.inc
A src/mainboard/siemens/chili/variants/chili/board_info.txt
A src/mainboard/siemens/chili/variants/chili/data.vbt
A src/mainboard/siemens/chili/variants/chili/devicetree.cb
A src/mainboard/siemens/chili/variants/chili/gma-mainboard.ads
A src/mainboard/siemens/chili/variants/chili/gpio.c
A src/mainboard/siemens/chili/variants/chili/hda_verb.c
A src/mainboard/siemens/chili/variants/chili/romstage.c
13 files changed, 481 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/39995/24
--
To view, visit https://review.coreboot.org/c/coreboot/+/39995
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic7a5dccbb0d5b7bceb154fb050cf991254475f7b
Gerrit-Change-Number: 39995
Gerrit-PatchSet: 24
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset