Attention is currently required from: Brian Hsu, Dinesh Gehlot, Eric Lai, Jayvik Desai, Kapil Porwal, Nick Vaccaro.
Subrata Banik has posted comments on this change by Brian Hsu. ( https://review.coreboot.org/c/coreboot/+/86535?usp=email )
Change subject: mb/google/nissa/var/guren: Generate SPD ID for supported memory parts
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/86535?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: Ibc8626ea51e1143706b8c627f21d33c3ade6a232
Gerrit-Change-Number: 86535
Gerrit-PatchSet: 1
Gerrit-Owner: Brian Hsu <brian_hsu(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Daniel Peng <daniel_peng(a)pegatron.corp-partner.google.com>
Gerrit-CC: David Li <david_li(a)pegatron.corp-partner.google.com>
Gerrit-CC: Samuel Chen <samuel_chen(a)pegatron.corp-partner.google.com>
Gerrit-CC: Wayne3 Wang <wayne3_wang(a)pegatron.corp-partner.google.com>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Brian Hsu <brian_hsu(a)pegatron.corp-partner.google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Comment-Date: Mon, 24 Feb 2025 02:17:51 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Chen, Gang C, Christian Walter, Intel coreboot Reviewers, Johnny Lin, Jonathan Zhang, Patrick Rudolph, Tim Chu.
Hello Chen, Gang C,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/86574?usp=email
to review the following change.
Change subject: soc/intel/xeon_sp/gnr: Config FIXED_MMIO_REGION_BASE/SIZE
......................................................................
soc/intel/xeon_sp/gnr: Config FIXED_MMIO_REGION_BASE/SIZE
Change-Id: Ia7510ccd9a4e5d4a3081df2415ade04b7150bd07
Signed-off-by: Gang Chen <gang.c.chen(a)intel.com>
Signed-off-by: Shuo Liu <shuo.liu(a)intel.com>
---
M src/soc/intel/xeon_sp/gnr/Kconfig
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/86574/1
diff --git a/src/soc/intel/xeon_sp/gnr/Kconfig b/src/soc/intel/xeon_sp/gnr/Kconfig
index 4dee961..2ba1ca8 100644
--- a/src/soc/intel/xeon_sp/gnr/Kconfig
+++ b/src/soc/intel/xeon_sp/gnr/Kconfig
@@ -114,4 +114,12 @@
help
SPI BAR0 Base address.
+config FIXED_MMIO_REGION_BASE
+ hex
+ default 0xfe800000
+
+config FIXED_MMIO_REGION_SIZE
+ hex
+ default 0x800000
+
endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/86574?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ia7510ccd9a4e5d4a3081df2415ade04b7150bd07
Gerrit-Change-Number: 86574
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Attention: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Tim Chu <Tim.Chu(a)quantatw.com>
Attention is currently required from: Chen, Gang C, Christian Walter, Intel coreboot Reviewers, Johnny Lin, Jonathan Zhang, Patrick Rudolph, Tim Chu.
Hello Chen, Gang C,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/86573?usp=email
to review the following change.
Change subject: soc/intel/xeon_sp: Reserve SoC MMIO region in CBFS
......................................................................
soc/intel/xeon_sp: Reserve SoC MMIO region in CBFS
Ensure CBFS does not overlap with SoC MMIO by reserving space with
mmio_reserved.bin for BIOS sizes over 16MB.
Change-Id: I122821975afde9e234147a66e2f4c09dbe10815d
Signed-off-by: Gang Chen <gang.c.chen(a)intel.com>
Signed-off-by: Shuo Liu <shuo.liu(a)intel.com>
---
M src/soc/intel/xeon_sp/Kconfig
M src/soc/intel/xeon_sp/Makefile.mk
2 files changed, 30 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/86573/1
diff --git a/src/soc/intel/xeon_sp/Kconfig b/src/soc/intel/xeon_sp/Kconfig
index f61de56..2356c20 100644
--- a/src/soc/intel/xeon_sp/Kconfig
+++ b/src/soc/intel/xeon_sp/Kconfig
@@ -116,4 +116,16 @@
default y
select SHADOW_ROM_TABLE_TO_EBDA
+config FIXED_MMIO_REGION_BASE
+ hex
+ help
+ MMIO reservation windows below 4GB-16MB boundary to hold
+ SoC fixed mapping like CACHE as RAM, local APIC, et al.
+
+config FIXED_MMIO_REGION_SIZE
+ hex
+ help
+ MMIO reservation windows below 4GB-16MB boundary to hold
+ SoC fixed mapping like CACHE as RAM, local APIC, et al.
+
endif ## SOC_INTEL_XEON_SP
diff --git a/src/soc/intel/xeon_sp/Makefile.mk b/src/soc/intel/xeon_sp/Makefile.mk
index c66b8ad..2227c99 100644
--- a/src/soc/intel/xeon_sp/Makefile.mk
+++ b/src/soc/intel/xeon_sp/Makefile.mk
@@ -32,4 +32,21 @@
CPPFLAGS_common += -I$(src)/soc/intel/xeon_sp/include
CPPFLAGS_common += -include $(src)/soc/intel/xeon_sp/include/soc/fsp_upd.h
-endif ## XEON_SP_COMMON_BASE
+ifeq ($(call int-gt, $(CONFIG_BIOS_SIZE) 0x01000000), 1)
+DD_COUNT=$(call int-divide, $(CONFIG_FIXED_MMIO_REGION_SIZE) 0x100000)
+$(shell `dd if=/dev/zero of=$(obj)/mmio_reserved.bin bs=M count=$(DD_COUNT)`)
+cbfs-files-y += mmio_reserved.bin
+
+mmio_reserved.bin-file ?= $(obj)/mmio_reserved.bin
+mmio_reserved.bin-type := raw
+mmio_reserved.bin-align := 16
+
+ifneq ($(CONFIG_FIXED_MMIO_REGION_BASE),)
+mmio_reserved.bin-COREBOOT-position := $(CONFIG_FIXED_MMIO_REGION_BASE)
+else
+$(warning "FIXED_MMIO_REGION_BASE should be set!")
+endif
+
+endif
+
+endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/86573?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I122821975afde9e234147a66e2f4c09dbe10815d
Gerrit-Change-Number: 86573
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Attention: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Tim Chu <Tim.Chu(a)quantatw.com>
Attention is currently required from: Andrey Petrov, Chen, Gang C, Intel coreboot Reviewers, Julius Werner, Ronak Kanabar, Yu-Ping Wu.
Hello Chen, Gang C,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/86570?usp=email
to review the following change.
Change subject: util/cbfstool: Place XIP components and FIT at high flash addresses
......................................................................
util/cbfstool: Place XIP components and FIT at high flash addresses
By default, CACHE_ROM_SIZE is limited to 16MB, but still covers the
whole CBFS. When CBFS spans larger than 16MB, XIP components and FIT
might be laid outside the cached region.
Place XIP components and FIT as high as possible so that always to
maximize the opportunity for them to being cached.
Change-Id: I8eb469fdcd18d01652979f28049fe1ea3b59311c
Signed-off-by: Shuo Liu <shuo.liu(a)intel.com>
Signed-off-by: Gang Chen <gang.c.chen(a)intel.com>
---
M Makefile.mk
M src/cpu/intel/fit/Makefile.mk
M src/drivers/intel/fsp2_0/Makefile.mk
M src/security/vboot/Makefile.mk
4 files changed, 5 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/86570/1
diff --git a/Makefile.mk b/Makefile.mk
index bc547de..054ac13 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -1371,7 +1371,7 @@
# If CAR does not support execution of code, romstage on x86 is expected to be
# xip.
ifneq ($(CONFIG_NO_XIP_EARLY_STAGES),y)
-$(CONFIG_CBFS_PREFIX)/romstage-options += --xip
+$(CONFIG_CBFS_PREFIX)/romstage-options += --xip -z
# For efficient MTRR utilisation use natural alignment for romstage.
ifeq ($(CONFIG_SETUP_XIP_CACHE),y)
diff --git a/src/cpu/intel/fit/Makefile.mk b/src/cpu/intel/fit/Makefile.mk
index f405c57..7861859 100644
--- a/src/cpu/intel/fit/Makefile.mk
+++ b/src/cpu/intel/fit/Makefile.mk
@@ -12,6 +12,7 @@
intel_fit-file := fit_table.c:struct
intel_fit-type := intel_fit
intel_fit-align := 16
+intel_fit-options := -z
$(call add_intermediate, set_fit_ptr, $(IFITTOOL))
@printf " UPDATE-FIT set FIT pointer to table\n"
diff --git a/src/drivers/intel/fsp2_0/Makefile.mk b/src/drivers/intel/fsp2_0/Makefile.mk
index 18a62e3..cce2cba 100644
--- a/src/drivers/intel/fsp2_0/Makefile.mk
+++ b/src/drivers/intel/fsp2_0/Makefile.mk
@@ -72,8 +72,8 @@
$(FSP_M_CBFS)-type := fsp
$(FSP_M_CBFS_2)-type := fsp
ifeq ($(CONFIG_FSP_M_XIP),y)
-$(FSP_M_CBFS)-options := --xip $(TXTIBB)
-$(FSP_M_CBFS_2)-options := --xip $(TXTIBB)
+$(FSP_M_CBFS)-options := --xip $(TXTIBB) -z
+$(FSP_M_CBFS_2)-options := --xip $(TXTIBB) -z
endif
ifeq ($(CONFIG_FSP_COMPRESS_FSP_M_LZMA),y)
$(FSP_M_CBFS)-compression := LZMA
diff --git a/src/security/vboot/Makefile.mk b/src/security/vboot/Makefile.mk
index e9b3eb6..f1eb54a 100644
--- a/src/security/vboot/Makefile.mk
+++ b/src/security/vboot/Makefile.mk
@@ -166,7 +166,7 @@
# If CAR does not support execution of code, verstage on x86 is expected to be
# xip.
ifneq ($(CONFIG_NO_XIP_EARLY_STAGES),y)
-$(CONFIG_CBFS_PREFIX)/verstage-options += --xip
+$(CONFIG_CBFS_PREFIX)/verstage-options += --xip -z
endif
endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/86570?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8eb469fdcd18d01652979f28049fe1ea3b59311c
Gerrit-Change-Number: 86570
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Reviewer: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Reviewer: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Attention: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>