Attention is currently required from: Patrick Rudolph.
Hello build bot (Jenkins), Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/62014
to look at the new patch set (#4).
Change subject: drivers/smmstore: Expose region device
......................................................................
drivers/smmstore: Expose region device
Allow other drivers to use the SMMSTORE region device.
Change-Id: I6316b703829590bd6f41c3d4013b4a4660b9cbab
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/drivers/smmstore/Makefile.inc
M src/drivers/smmstore/store.c
M src/include/smmstore.h
3 files changed, 24 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/62014/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/62014
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6316b703829590bd6f41c3d4013b4a4660b9cbab
Gerrit-Change-Number: 62014
Gerrit-PatchSet: 4
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Patrick Rudolph, Julius Werner.
Hello build bot (Jenkins), Angel Pons, Joey Madafferi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/61960
to look at the new patch set (#3).
Change subject: bsd/cb_err: Add error code for UEFI variable store
......................................................................
bsd/cb_err: Add error code for UEFI variable store
Add a new set of errors that will be used by the introduced EFI
non-volatile variable store in flash.
Change-Id: I6baea9fb138d1a2755d22a3d587105793adb9c90
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/commonlib/bsd/include/commonlib/bsd/cb_err.h
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/61960/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/61960
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6baea9fb138d1a2755d22a3d587105793adb9c90
Gerrit-Change-Number: 61960
Gerrit-PatchSet: 3
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Joey Madafferi <joeymadafferi(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Julius Werner <jwerner(a)chromium.org>
Gerrit-CC: Patrick Rudolph
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Patrick Rudolph
Gerrit-MessageType: newpatchset
Attention is currently required from: Hung-Te Lin, Jason Glenesk, Raul Rangel, Marshall Dawson, Tim Wawrzynczak, Christian Walter, Julius Werner, Arthur Heymans, Andrey Petrov, Fred Reitberger, Yu-Ping Wu, Felix Held.
Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63375 )
Change subject: [RFC] CBMEM: Have INIT_HOOKS in every stage
......................................................................
Patch Set 2:
(9 comments)
Patchset:
PS1:
> Not a fan of the extra binary size impact that comes from this. […]
I did not see an easy way to achieve the conditional parameter with preprocessor. Reviewing the changes, I am not sure we even need that.
File src/arch/x86/acpi_bert_storage.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/8d8a20f7_eab5d26b
PS2, Line 602: CBMEM_INIT_HOOK(bert_storage_setup);
This does not have the characteristics of other CBMEM_INIT_HOOKS where something either migrates from CAR to CBMEM or from CBMEM to .bss. IMHO this can be delayed to any bootstate prior to OS_RESUME_CHECK.
File src/lib/cbfs.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/fc395d4d_c131bd59
PS2, Line 698: CBMEM_CREATION_HOOK(cbfs_mcache_migrate);
This file will one hook anyways for switch_to_postram_cache(), so we could combine the two and avoid adding a no-op hook.
File src/lib/cbmem_console.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/332f324a_202c6175
PS2, Line 170: /* Run the romstage hook early so that the console region is one of the earliest created, and
s/romstage/creation
File src/security/tpm/tspi/log.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/f0b4b9c0_adba26a6
PS2, Line 157: CBMEM_CREATION_HOOK(recover_tcpa_log);
We might need some more complex logic here.
File src/soc/amd/stoneyridge/romstage.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/41fd9c1a_04cd40b6
PS1, Line 218: CBMEM_INIT_HOOK(migrate_power_state)
> This looks like a functional change? Intentional? Maybe still put it in a separate commit in that ca […]
Well the file was not built for postcar or ramstage, so lack of !ENV_ROMSTAGE would not have mattered. Marking resolved, the conditional will be reflected either as a parameter or different macro name.
File src/soc/intel/baytrail/romstage/romstage.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/0ee42064_8de9c13a
PS1, Line 35: CBMEM_INIT_HOOK(migrate_power_state)
> Same? This doesn't look like something you'd want to run more than once?
Done
File src/soc/intel/braswell/romstage/romstage.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/12ae90e6_674f6013
PS1, Line 29: CBMEM_INIT_HOOK(migrate_power_state);
> Same.
Done
File src/soc/intel/quark/storage_test.c:
https://review.coreboot.org/c/coreboot/+/63375/comment/ae2a6f9c_14fe0fc5
PS2, Line 228: #if ENV_ROMSTAGE
spurious
--
To view, visit https://review.coreboot.org/c/coreboot/+/63375
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie24bf4e818ca69f539196c3a814f3c52d4103d7e
Gerrit-Change-Number: 63375
Gerrit-PatchSet: 2
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov(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: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur.heymans(a)9elements.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 06 Apr 2022 08:58:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Marshall Dawson, Kyösti Mälkki, Felix Held.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63387 )
Change subject: drivers/usb/pci_ehci.c: Move away from __SIMPLE_DEVICE__
......................................................................
Patch Set 3:
(4 comments)
File src/drivers/usb/pci_ehci.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-145486):
https://review.coreboot.org/c/coreboot/+/63387/comment/471a1179_6a3b7cc2
PS3, Line 91: const struct device *dbg_dev = pci_ehci_dbg_dev();
code indent should use tabs where possible
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-145486):
https://review.coreboot.org/c/coreboot/+/63387/comment/f48e76b8_6910f620
PS3, Line 91: const struct device *dbg_dev = pci_ehci_dbg_dev();
please, no spaces at the start of a line
File src/southbridge/intel/common/usb_debug.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-145486):
https://review.coreboot.org/c/coreboot/+/63387/comment/bd55122c_db59186b
PS3, Line 13: const struct device *dev;
code indent should use tabs where possible
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-145486):
https://review.coreboot.org/c/coreboot/+/63387/comment/805edae0_a682aed4
PS3, Line 13: const struct device *dev;
please, no spaces at the start of a line
--
To view, visit https://review.coreboot.org/c/coreboot/+/63387
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iea0598e01d8fc25b08fa8f22d0622ecc729e8160
Gerrit-Change-Number: 63387
Gerrit-PatchSet: 3
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-CC: Arthur Heymans <arthur.heymans(a)9elements.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 06 Apr 2022 08:47:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak.
Rizwan Qureshi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63398 )
Change subject: soc/intel/alderlake:[WIP] enable FSP-M compression
......................................................................
soc/intel/alderlake:[WIP] enable FSP-M compression
FSP-M should be compressed to reduce its footprint in SPI NOR.
SinceLLC size in ADL systems in minimum of 6MB, the FSP-M can
be decompressed and executed from CAR. The patch contains following changes
* Enable FSP-M compression at build time
* Remove FSP_M_XIP as it will be executed from CAR instead of SPI
* Load and Rebase FSP-M to a newer safe address within CAR
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.corp-partner.google.com>
Change-Id: Ie16e97b9445f2fe44b403bc03de55fbfb4de4da9
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
---
M src/soc/intel/alderlake/Kconfig
M src/soc/intel/alderlake/Makefile.inc
2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/63398/1
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index 21b1767..7420fca 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -39,8 +39,8 @@
select DISPLAY_FSP_VERSION_INFO
select DRIVERS_USB_ACPI
select FSP_COMPRESS_FSP_S_LZ4
+ select FSP_COMPRESS_FSP_M_LZ4
select FAST_SPI_SUPPORTS_EXT_BIOS_WINDOW
- select FSP_M_XIP
select FSP_STATUS_GLOBAL_RESET_REQUIRED_3
select FSP_USES_CB_DEBUG_EVENT_HANDLER
select FSPS_HAS_ARCH_UPD
@@ -142,6 +142,10 @@
The size of the cache-as-ram region required during bootblock
and/or romstage.
+config FSP_M_ADDR
+ hex
+ default 0xfa100000
+
config DCACHE_BSP_STACK_SIZE
hex
default 0xC0000
diff --git a/src/soc/intel/alderlake/Makefile.inc b/src/soc/intel/alderlake/Makefile.inc
index 095d210..82bf59c 100644
--- a/src/soc/intel/alderlake/Makefile.inc
+++ b/src/soc/intel/alderlake/Makefile.inc
@@ -60,6 +60,8 @@
CPPFLAGS_common += -I$(src)/soc/intel/alderlake
CPPFLAGS_common += -I$(src)/soc/intel/alderlake/include
+$(call strip_quotes,$(CONFIG_FSP_M_CBFS))-options := -b $(CONFIG_FSP_M_ADDR)
+
ifeq ($(CONFIG_STITCH_ME_BIN),y)
$(eval $(call cse_add_dummy_to_bp1_bp2,DLMP))
--
To view, visit https://review.coreboot.org/c/coreboot/+/63398
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie16e97b9445f2fe44b403bc03de55fbfb4de4da9
Gerrit-Change-Number: 63398
Gerrit-PatchSet: 1
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: newchange
Rizwan Qureshi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63397 )
Change subject: soc/intel/*:[WIP] enable FSP-M decompression at execution
......................................................................
soc/intel/*:[WIP] enable FSP-M decompression at execution
FSP-M is compressed and is not more XIP. Hence remove the FSP_M_XIP config.
The FSP-M decompression requires more CAR memory. Increase CAR region size
to 2.5 MB. As per the system adress MAP we will be breaching the LAPIC base
address and HPET addresses hence rebase the CAR memory to somewhere safe.
Also increase the required stack szie
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.corp-partner.google.com>
Change-Id: If2a20b0e81a116a81170363f7b93c845cde863f8
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
---
M src/soc/intel/alderlake/Kconfig
M src/soc/intel/common/block/cpu/car/cache_as_ram.S
2 files changed, 7 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/63397/1
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
index 25d11d3..21b1767 100644
--- a/src/soc/intel/alderlake/Kconfig
+++ b/src/soc/intel/alderlake/Kconfig
@@ -134,17 +134,17 @@
default 24
config DCACHE_RAM_BASE
- default 0xfef00000
+ default 0xfa000000
config DCACHE_RAM_SIZE
- default 0xc0000
+ default 0x280000
help
The size of the cache-as-ram region required during bootblock
and/or romstage.
config DCACHE_BSP_STACK_SIZE
hex
- default 0x80400
+ default 0xC0000
help
The amount of anticipated stack usage in CAR by bootblock and
other stages. In the case of FSP_USES_CB_STACK default value will be
diff --git a/src/soc/intel/common/block/cpu/car/cache_as_ram.S b/src/soc/intel/common/block/cpu/car/cache_as_ram.S
index 1c905a4..c6f7f74 100644
--- a/src/soc/intel/common/block/cpu/car/cache_as_ram.S
+++ b/src/soc/intel/common/block/cpu/car/cache_as_ram.S
@@ -178,7 +178,7 @@
or $MTRR_PHYS_MASK_VALID, %eax
movl %esi, %edx /* edx <- MTRR_PHYS_MASK_HIGH */
wrmsr
-#elif (CONFIG_DCACHE_RAM_SIZE == 768 * KiB) /* 768 KiB */
+#elif (CONFIG_DCACHE_RAM_SIZE == 2560 * KiB) /* 2560 KiB */
find_free_mtrr
test %ebx, %ebx
jz .halt_forever
@@ -190,7 +190,7 @@
wrmsr
incl %ecx
- mov $(512 * KiB), %eax /* size mask */
+ mov $(2048 * KiB), %eax /* size mask */
dec %eax
not %eax
or $MTRR_PHYS_MASK_VALID, %eax
@@ -201,13 +201,13 @@
test %ebx, %ebx
jz .halt_forever
1:
- mov $(CONFIG_DCACHE_RAM_BASE + 512 * KiB), %eax
+ mov $(CONFIG_DCACHE_RAM_BASE + 2048 * KiB), %eax
or $MTRR_TYPE_WRBACK, %eax
xor %edx,%edx
wrmsr
incl %ecx
- mov $(256 * KiB), %eax /* size mask */
+ mov $(512 * KiB), %eax /* size mask */
dec %eax
not %eax
or $MTRR_PHYS_MASK_VALID, %eax
--
To view, visit https://review.coreboot.org/c/coreboot/+/63397
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If2a20b0e81a116a81170363f7b93c845cde863f8
Gerrit-Change-Number: 63397
Gerrit-PatchSet: 1
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-MessageType: newchange
Attention is currently required from: Igor Bagnucki.
Hello Igor Bagnucki,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/63396
to review the following change.
Change subject: Documentation: Add dasharo to after-market firmware list
......................................................................
Documentation: Add dasharo to after-market firmware list
Signed-off-by: Igor Bagnucki <igor.bagnucki(a)3mdeb.com>
Change-Id: I19dbf70bc9ceec1408944c4029db6eabd5e2254d
---
M Documentation/distributions.md
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/63396/1
diff --git a/Documentation/distributions.md b/Documentation/distributions.md
index 4d69fcc..5706b49 100644
--- a/Documentation/distributions.md
+++ b/Documentation/distributions.md
@@ -54,6 +54,15 @@
built entirely from source code. Their copy of the coreboot repository is
therefore stripped of all devices that require binary components to boot.
+
+### Dasharo
+
+[Dasharo](https://dasharo.com/) is open source firmware distribution focusing on
+clean and simple code, long-term maintenance, transparent validation,
+privacy-respecting implementation, liberty for the owners, and trustworthiness
+for all.
+
+
### MrChromebox
[MrChromebox](https://mrchromebox.tech/) provides upstream coreboot firmware
--
To view, visit https://review.coreboot.org/c/coreboot/+/63396
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19dbf70bc9ceec1408944c4029db6eabd5e2254d
Gerrit-Change-Number: 63396
Gerrit-PatchSet: 1
Gerrit-Owner: Igor Bagnucki
Gerrit-Reviewer: Igor Bagnucki <igor.bagnucki(a)3mdeb.com>
Gerrit-Attention: Igor Bagnucki <igor.bagnucki(a)3mdeb.com>
Gerrit-MessageType: newchange