Attention is currently required from: 忧郁沙茶.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/80644?usp=email )
Change subject: util/nixshell: Add a dev shell for i386 arch
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/80644?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: Idcfe10be214e9bca590a62b8a207267493a4861f
Gerrit-Change-Number: 80644
Gerrit-PatchSet: 2
Gerrit-Owner: 忧郁沙茶 <crabtux(a)mail.ustc.edu.cn>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: 忧郁沙茶 <crabtux(a)mail.ustc.edu.cn>
Gerrit-Comment-Date: Thu, 14 Mar 2024 18:15:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Elyes Haouas.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81278?usp=email )
Change subject: include/imd{,_private}.h: Move define LIMIT_ALIGN to <imd.h>
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/81278/comment/45c8bcaa_1d1e9664 :
PS1, Line 8:
Why?
--
To view, visit https://review.coreboot.org/c/coreboot/+/81278?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: I583cbd1d20f8f0a70e246eebc085477852d77d39
Gerrit-Change-Number: 81278
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Thu, 14 Mar 2024 17:45:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Felix Held, Fred Reitberger, Jason Glenesk, Matt DeVillier, Varshit Pandya.
Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81188?usp=email )
Change subject: soc/amd/phoenix: make openSIL stub optional
......................................................................
Patch Set 2:
(1 comment)
File src/soc/amd/phoenix/Kconfig:
https://review.coreboot.org/c/coreboot/+/81188/comment/06f762cc_988087bd :
PS1, Line 476: help
: Select this option to include the openSIL stub in the build that can
: be used for build-testing before the actual openSIL source code for a
: SoC is released.
> neither the help text nor the type are needed here, but apart from that, this change will help quite […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/81188?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: I2b48e2bbf71cd94ac7ecec13834ba36aa6c241ce
Gerrit-Change-Number: 81188
Gerrit-PatchSet: 2
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Thu, 14 Mar 2024 17:36:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: comment
Attention is currently required from: Felix Held, Fred Reitberger, Jason Glenesk, Marshall Dawson, Matt DeVillier, Varshit Pandya.
Hello Felix Held, Fred Reitberger, Jason Glenesk, Matt DeVillier, Varshit Pandya, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/81188?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by Felix Held, Verified+1 by build bot (Jenkins)
Change subject: soc/amd/phoenix: make openSIL stub optional
......................................................................
soc/amd/phoenix: make openSIL stub optional
Convert the 'select SOC_AMD_OPENSIL_STUB' statement to a config option
and give it a prompt. This allows for internal development of openSIL
and corresponding coreboot source, and controllable using a defconfig.
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Change-Id: I2b48e2bbf71cd94ac7ecec13834ba36aa6c241ce
---
M src/soc/amd/phoenix/Kconfig
1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/81188/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81188?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: I2b48e2bbf71cd94ac7ecec13834ba36aa6c241ce
Gerrit-Change-Number: 81188
Gerrit-PatchSet: 2
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Marshall Dawson.
Varshit Pandya has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81189?usp=email )
Change subject: vc/amd/opensil: don't use source path when using stub
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81189?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: Ic050ff0fa3f428e6adff3357f476fcd8a88cdf7e
Gerrit-Change-Number: 81189
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Comment-Date: Thu, 14 Mar 2024 16:59:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81192?usp=email )
Change subject: vendorcode/edk2-stable202302: Remove wchar_t asserts
......................................................................
vendorcode/edk2-stable202302: Remove wchar_t asserts
Remove those MSVC compiler defaults checks so that the GCC defaults for
wchar_t can be used. The FSP interface does not depend on wchar_t.
TEST: the resulting binaries are the same for intel/mtlrvp
Change-Id: I0ee1abc7e9ba46665838b63a6cfe0f4aa300114c
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81192
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Subrata Banik <subratabanik(a)google.com>
Reviewed-by: Wonkyu Kim <wonkyu.kim(a)intel.com>
Reviewed-by: Dinesh Gehlot <digehlot(a)google.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Reviewed-by: Ronak Kanabar <ronak.kanabar(a)intel.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella(a)intel.com>
---
M src/soc/intel/meteorlake/Makefile.mk
M src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Base.h
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
build bot (Jenkins): Verified
Jérémy Compostella: Looks good to me, but someone else must approve
Dinesh Gehlot: Looks good to me, approved
Ronak Kanabar: Looks good to me, approved
Subrata Banik: Looks good to me, approved
Wonkyu Kim: Looks good to me, but someone else must approve
Felix Singer: Looks good to me, approved
diff --git a/src/soc/intel/meteorlake/Makefile.mk b/src/soc/intel/meteorlake/Makefile.mk
index 39a1d65..893523c 100644
--- a/src/soc/intel/meteorlake/Makefile.mk
+++ b/src/soc/intel/meteorlake/Makefile.mk
@@ -60,5 +60,4 @@
CPPFLAGS_common += -I$(src)/soc/intel/meteorlake
CPPFLAGS_common += -I$(src)/soc/intel/meteorlake/include
-CFLAGS_common += -fshort-wchar
endif
diff --git a/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Base.h b/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Base.h
index f1b9c14..8cdf6aa 100644
--- a/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Base.h
+++ b/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Base.h
@@ -792,8 +792,9 @@
STATIC_ASSERT (sizeof (UINT64) == 8, "sizeof (UINT64) does not meet UEFI Specification Data Type requirements");
STATIC_ASSERT (sizeof (CHAR8) == 1, "sizeof (CHAR8) does not meet UEFI Specification Data Type requirements");
STATIC_ASSERT (sizeof (CHAR16) == 2, "sizeof (CHAR16) does not meet UEFI Specification Data Type requirements");
-STATIC_ASSERT (sizeof (L'A') == 2, "sizeof (L'A') does not meet UEFI Specification Data Type requirements");
-STATIC_ASSERT (sizeof (L"A") == 4, "sizeof (L\"A\") does not meet UEFI Specification Data Type requirements");
+// Removed to have coreboot code compile with the Linux gcc defaults. The FSP interface does not need wchar_t anyway.
+//STATIC_ASSERT (sizeof (L'A') == 2, "sizeof (L'A') does not meet UEFI Specification Data Type requirements");
+//STATIC_ASSERT (sizeof (L"A") == 4, "sizeof (L\"A\") does not meet UEFI Specification Data Type requirements");
//
// The following three enum types are used to verify that the compiler
--
To view, visit https://review.coreboot.org/c/coreboot/+/81192?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: I0ee1abc7e9ba46665838b63a6cfe0f4aa300114c
Gerrit-Change-Number: 81192
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun <tstuli(a)gmail.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Zheng Bao.
Hello Zheng Bao,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/81255?usp=email
to review the following change.
Change subject: amdfwtool: Set the table size only for FWs
......................................................................
amdfwtool: Set the table size only for FWs
The entry in the table has two categaries, file and pointer. For the
pointer, it does not take space. The ISH, PSP level 2, BIOS table are
all the pointer type. So only integration function packs FWs which
increase the table size.
Change-Id: I5dfbbb55912c8e37243c351427a8df89c12e5da8
Signed-off-by: Zheng Bao <fishbaozi(a)gmail.com>
---
M util/amdfwtool/amdfwtool.c
1 file changed, 15 insertions(+), 24 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/81255/1
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index e81059d..d025ba4 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -521,23 +521,17 @@
}
static void fill_dir_header(void *directory, uint32_t count, uint32_t cookie,
- context *ctx, amd_cb_config *cb_config)
+ uint32_t table_size, context *ctx)
{
psp_combo_directory *cdir = directory;
psp_directory_table *dir = directory;
bios_directory_table *bdir = directory;
- uint32_t table_size = 0;
- if (!count)
- return;
if (ctx == NULL || directory == NULL) {
fprintf(stderr, "Calling %s with NULL pointers\n", __func__);
return;
}
- /* The table size needs to be 0x1000 aligned. So align the end of table. */
- adjust_current_pointer(ctx, 0, TABLE_ALIGNMENT);
-
switch (cookie) {
case PSP2_COOKIE:
case BHD2_COOKIE:
@@ -556,14 +550,6 @@
break;
case PSP_COOKIE:
case PSPL2_COOKIE:
- if (cookie == PSP_COOKIE && cb_config->need_ish)
- /* The ISH header can not be in the space defined by L1 table size.
- * The space is allocated when the L1 header is created. */
- table_size = TABLE_ALIGNMENT;
- else
- /* Generally table size not just constains the header,
- * but all the FWs. */
- table_size = ctx->current - ctx->current_table;
if ((table_size % TABLE_ALIGNMENT) != 0) {
fprintf(stderr, "The PSP table size should be 4K aligned\n");
amdfwtool_cleanup(ctx);
@@ -571,7 +557,7 @@
}
dir->header.cookie = cookie;
dir->header.num_entries = count;
- dir->header.additional_info_fields.dir_size = table_size / TABLE_ALIGNMENT;
+ dir->header.additional_info_fields.dir_size += table_size / TABLE_ALIGNMENT;
dir->header.additional_info_fields.spi_block_size = 1;
dir->header.additional_info_fields.base_addr = 0;
/* checksum everything that comes after the Checksum field */
@@ -582,7 +568,6 @@
break;
case BHD_COOKIE:
case BHDL2_COOKIE:
- table_size = ctx->current - ctx->current_table;
if ((table_size % TABLE_ALIGNMENT) != 0) {
fprintf(stderr, "The BIOS table size should be 4K aligned\n");
amdfwtool_cleanup(ctx);
@@ -590,7 +575,7 @@
}
bdir->header.cookie = cookie;
bdir->header.num_entries = count;
- bdir->header.additional_info_fields.dir_size = table_size / TABLE_ALIGNMENT;
+ bdir->header.additional_info_fields.dir_size += table_size / TABLE_ALIGNMENT;
bdir->header.additional_info_fields.spi_block_size = 1;
bdir->header.additional_info_fields.base_addr = 0;
/* checksum everything that comes after the Checksum field */
@@ -996,6 +981,9 @@
/* This APU doesn't have this firmware. */
}
}
+ /* The table size needs to be 0x1000 aligned. So align the end of table. */
+ adjust_current_pointer(ctx, 0, TABLE_ALIGNMENT);
+ fill_dir_header(pspdir, count, cookie, ctx->current - ctx->current_table, ctx);
if (recovery_ab && (pspdir2 != NULL)) {
if (cb_config->need_ish) { /* Need ISH */
@@ -1032,7 +1020,7 @@
count++;
}
- fill_dir_header(pspdir, count, cookie, ctx, cb_config);
+ fill_dir_header(pspdir, count, cookie, 0, ctx);
ctx->current_table = current_table_save;
}
@@ -1397,7 +1385,10 @@
count++;
}
- fill_dir_header(biosdir, count, cookie, ctx, cb_config);
+ /* The table size needs to be 0x1000 aligned. So align the end of table. */
+ adjust_current_pointer(ctx, 0, TABLE_ALIGNMENT);
+
+ fill_dir_header(biosdir, count, cookie, ctx->current - ctx->current_table, ctx);
ctx->current_table = current_table_save;
}
@@ -1685,8 +1676,8 @@
psp_combo_dir->entries[combo_index].lvl2_addr =
BUFF_TO_RUN_MODE(ctx, pspdir, AMD_ADDR_REL_BIOS);
- fill_dir_header(psp_combo_dir, combo_index + 1,
- PSP2_COOKIE, &ctx, &cb_config);
+ fill_dir_header(psp_combo_dir, combo_index + 1, 0,
+ PSP2_COOKIE, &ctx);
}
if (have_bios_tables(amd_bios_table)) {
@@ -1738,8 +1729,8 @@
bhd_combo_dir->entries[combo_index].lvl2_addr =
BUFF_TO_RUN_MODE(ctx, biosdir, AMD_ADDR_REL_BIOS);
- fill_dir_header(bhd_combo_dir, combo_index + 1,
- BHD2_COOKIE, &ctx, &cb_config);
+ fill_dir_header(bhd_combo_dir, combo_index + 1, 0,
+ BHD2_COOKIE, &ctx);
}
}
} while (cb_config.use_combo && ++combo_index < MAX_COMBO_ENTRIES &&
--
To view, visit https://review.coreboot.org/c/coreboot/+/81255?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: I5dfbbb55912c8e37243c351427a8df89c12e5da8
Gerrit-Change-Number: 81255
Gerrit-PatchSet: 1
Gerrit-Owner: Bao Zheng <fishbaozi(a)gmail.com>
Gerrit-Reviewer: Zheng Bao
Gerrit-Attention: Zheng Bao
Gerrit-MessageType: newchange
Attention is currently required from: Arthur Heymans, Eran Mitrani, Jakub Czapiga, Kapil Porwal, Tarun.
Ronak Kanabar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81192?usp=email )
Change subject: vendorcode/edk2-stable202302: Remove wchar_t asserts
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
> @ronak, did you get chance to validate this Cl and ensure the original problem reported by you is no […]
CL is working for me.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81192?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: I0ee1abc7e9ba46665838b63a6cfe0f4aa300114c
Gerrit-Change-Number: 81192
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun <tstuli(a)gmail.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Tarun <tstuli(a)gmail.com>
Gerrit-Comment-Date: Thu, 14 Mar 2024 15:43:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Gerrit-MessageType: comment