Attention is currently required from: David Hendricks, Jonathan Zhang, Shuo Liu, TangYiwei.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81321?usp=email )
Change subject: intel/common/block: Use fixed BDF for IBL
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/81321/comment/aeddf57c_1128ee69 :
PS1, Line 9: IBL codes doesn't support bootloader controlled P2SB hidden and
: unhidden.
What does this mean? Is there even a P2SB? If you cannot use P2SB code because of that you should simply not use this code rather than leaking awkward soc specific details in the common code.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81321?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3975cb00e215c4984c63bb8510e8aef7d4cc85a4
Gerrit-Change-Number: 81321
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Reviewer: TangYiwei
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Attention: TangYiwei
Gerrit-Comment-Date: Sun, 17 Mar 2024 13:29:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Chen, Gang C, David Hendricks, Jincheng Li, Shuo Liu, TangYiwei.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81320?usp=email )
Change subject: mainboard: Introduce BIOS_SIZE
......................................................................
Patch Set 1:
(1 comment)
File src/mainboard/intel/avenuecity_crb/romstage.c:
https://review.coreboot.org/c/coreboot/+/81320/comment/9d3bff9c_b88aea50 :
PS1, Line 22: mupd->FspmConfig.BiosRegionBase = BASE_4GB - CONFIG_BIOS_SIZE;
: mupd->FspmConfig.BiosRegionSize = CONFIG_BIOS_SIZE;
Why in the mainboard dir and not SOC?
--
To view, visit https://review.coreboot.org/c/coreboot/+/81320?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I5bf8fde9fdc30507ce8eb809f636d02cfa2baf0e
Gerrit-Change-Number: 81320
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Reviewer: TangYiwei
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Attention: TangYiwei
Gerrit-Comment-Date: Sun, 17 Mar 2024 13:25:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Chen, Gang C, David Hendricks, Jincheng Li, Shuo Liu, TangYiwei.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81320?usp=email )
Change subject: mainboard: Introduce BIOS_SIZE
......................................................................
Patch Set 1: Code-Review-2
(1 comment)
File src/mainboard/Kconfig:
https://review.coreboot.org/c/coreboot/+/81320/comment/a5b08d6b_7fc77143 :
PS1, Line 257: config BIOS_SIZE_KB_16384
: bool "16384 KB (16 MB)"
: help
: Choose this option if your BIOS region is 16384 KB (16 MB).
:
: config BIOS_SIZE_KB_32768
: bool "32768 KB (32 MB)"
: help
: Choose this option if your BIOS region is 32768 KB (32 MB).
:
: config BIOS_SIZE_KB_49512
: bool "49512 KB (48 MB)"
: help
: Choose this option if your BIOS region is 49512 KB (48 MB).
:
: # Map the config names to the value
: config BIOS_SIZE
: hex
: default 0x01000000 if BIOS_SIZE_KB_16384
: default 0x02000000 if BIOS_SIZE_KB_32768
: default 0x03000000 if BIOS_SIZE_KB_49512
: default 0x01000000
Drop the Kconfig variables. The FMAP should have all the information needed about the size of the BIOS region. Besides this is intel specific stuff in the generic mainboard dir...
--
To view, visit https://review.coreboot.org/c/coreboot/+/81320?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I5bf8fde9fdc30507ce8eb809f636d02cfa2baf0e
Gerrit-Change-Number: 81320
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Reviewer: TangYiwei
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Attention: TangYiwei
Gerrit-Comment-Date: Sun, 17 Mar 2024 13:24:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans, Christian Walter, Johnny Lin, Lean Sheng Tan, Patrick Rudolph, Tim Chu.
Shuo Liu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81040?usp=email )
Change subject: soc/intel/xeon_sp: Redefine data types for FSP2.4 adoption
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/81040?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I28c948525cd6d7ac4b9c3fa67e3c99ec637ed38f
Gerrit-Change-Number: 81040
Gerrit-PatchSet: 3
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Comment-Date: Sun, 17 Mar 2024 13:07:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Jincheng Li.
Shuo Liu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/80633?usp=email )
Change subject: vc/intel/fsp/fsp2_0: Add GNR N-1 FSP headers
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/80633?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I1c8125dd64e5a9619073c2f17aeade1d33607870
Gerrit-Change-Number: 80633
Gerrit-PatchSet: 3
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Comment-Date: Sun, 17 Mar 2024 13:06:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Chen, Gang C, Jincheng Li.
Hello Chen, Gang C, Jincheng Li,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/81320?usp=email
to review the following change.
Change subject: mainboard: Introduce BIOS_SIZE
......................................................................
mainboard: Introduce BIOS_SIZE
Use BIOS_SIZE to set BiosRegionBase/Size.
For Xeon-SP, these 2 parameters are used as UPDs for TempRamExit
to correctly set MTRR on the flash BIOS region. The same Kconfig
could be used by other mainboard targets as well.
Change-Id: I5bf8fde9fdc30507ce8eb809f636d02cfa2baf0e
Signed-off-by: Gang Chen <gang.c.chen(a)intel.com>
Signed-off-by: Shuo Liu <shuo.liu(a)intel.com>
Signed-off-by: Jincheng Li <jincheng.li(a)intel.com>
---
M src/mainboard/Kconfig
M src/mainboard/intel/avenuecity_crb/romstage.c
2 files changed, 33 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/81320/1
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 4008012..384b564 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -254,4 +254,27 @@
default 1 if POWER_STATE_ON_AFTER_FAILURE
default 0
+config BIOS_SIZE_KB_16384
+ bool "16384 KB (16 MB)"
+ help
+ Choose this option if your BIOS region is 16384 KB (16 MB).
+
+config BIOS_SIZE_KB_32768
+ bool "32768 KB (32 MB)"
+ help
+ Choose this option if your BIOS region is 32768 KB (32 MB).
+
+config BIOS_SIZE_KB_49512
+ bool "49512 KB (48 MB)"
+ help
+ Choose this option if your BIOS region is 49512 KB (48 MB).
+
+# Map the config names to the value
+config BIOS_SIZE
+ hex
+ default 0x01000000 if BIOS_SIZE_KB_16384
+ default 0x02000000 if BIOS_SIZE_KB_32768
+ default 0x03000000 if BIOS_SIZE_KB_49512
+ default 0x01000000
+
endif # HAVE_POWER_STATE_AFTER_FAILURE
diff --git a/src/mainboard/intel/avenuecity_crb/romstage.c b/src/mainboard/intel/avenuecity_crb/romstage.c
index b1a2e28..83dfd7d 100644
--- a/src/mainboard/intel/avenuecity_crb/romstage.c
+++ b/src/mainboard/intel/avenuecity_crb/romstage.c
@@ -17,6 +17,16 @@
printk(BIOS_INFO, "IPMI at 0x%04x initialized successfully\n",
CONFIG_BMC_KCS_BASE);
+ /* Set BIOS regeion UPD, otherwise MTRR might set incorrectly during TempRamExit API */
+ if (CONFIG_BIOS_SIZE) {
+ mupd->FspmConfig.BiosRegionBase = BASE_4GB - CONFIG_BIOS_SIZE;
+ mupd->FspmConfig.BiosRegionSize = CONFIG_BIOS_SIZE;
+ printk(BIOS_INFO, "BiosRegionBase is set to %x\n", mupd->FspmConfig.BiosRegionBase);
+ printk(BIOS_INFO, "BiosRegionSize is set to %x\n", mupd->FspmConfig.BiosRegionSize);
+ } else {
+ printk(BIOS_ERR, "BIOS_SIZE is not set!!!\n");
+ }
+
/* IIO init */
soc_config_iio_pe_ports(mupd, avc_iio_config_table,
sizeof(avc_iio_config_table)/sizeof(iio_pe_config));
--
To view, visit https://review.coreboot.org/c/coreboot/+/81320?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I5bf8fde9fdc30507ce8eb809f636d02cfa2baf0e
Gerrit-Change-Number: 81320
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: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-MessageType: newchange