Attention is currently required from: Elyes Haouas, Paul Menzel.
Arthur Heymans has posted comments on this change by Arthur Heymans. ( https://review.coreboot.org/c/coreboot/+/63716?usp=email )
Change subject: util/cbfstool: Rewrite trampoline in C
......................................................................
Patch Set 4:
(3 comments)
File util/cbfstool/x86_linux_trampoline.c:
https://review.coreboot.org/c/coreboot/+/63716/comment/1c182d35_20ec2155?us… :
PS1, Line 62: Setup
> Set up
Done
https://review.coreboot.org/c/coreboot/+/63716/comment/58155ca3_21a9558c?us… :
PS1, Line 63: **
: ** Flat code segment descriptor:
: ** selector: 0x10
: ** base : 0x00000000
: ** limit : 0xFFFFFFFF
: ** type : code, execute, read
: **
: ** Flat data segment descriptor:
: ** selector: 0x18
: ** base : 0x00000000
: ** limit : 0xFFFFFFFF
: ** type : data, read/write
> Remove the first *?
Done
File util/cbfstool/x86_linux_trampoline.c:
https://review.coreboot.org/c/coreboot/+/63716/comment/efb4556b_63362497?us… :
PS4, Line 6: <commonlib/bsd/compiler.h>
> is always automatically included in all compilation units.
> See `git grep -F 'compiler.h' $(find -type f -name "*.mk")`
> `nano +893 Documentation/contributing/coding_style.md`
I don't do this the commandline.
--
To view, visit https://review.coreboot.org/c/coreboot/+/63716?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: Ibbd7a5ecd225edf87f451a82ff4cbe9fea522a89
Gerrit-Change-Number: 63716
Gerrit-PatchSet: 4
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: coreboot org <coreboot.org(a)gmail.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Thu, 01 Aug 2024 21:50:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Elyes Haouas <ehaouas(a)noos.fr>
Attention is currently required from: Arthur Heymans.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/63716?usp=email
to look at the new patch set (#5).
Change subject: util/cbfstool: Rewrite trampoline in C
......................................................................
util/cbfstool: Rewrite trampoline in C
Rewrite the trampoline in C code. Now it does use stack that is set up
at a reasonable offset above the entry point. As a bonus the trampoline
can now check the payload argument instead of searching for "LBIO" in
lower memory.
Works on QEMU q35: tested both with calling argument containing a
pointer to lb_header as with searching lower memory.
Change-Id: Ibbd7a5ecd225edf87f451a82ff4cbe9fea522a89
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M util/cbfstool/Makefile
D util/cbfstool/linux_trampoline.S
M util/cbfstool/linux_trampoline.c
A util/cbfstool/x86_linux_trampoline.c
4 files changed, 269 insertions(+), 225 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/63716/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/63716?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ibbd7a5ecd225edf87f451a82ff4cbe9fea522a89
Gerrit-Change-Number: 63716
Gerrit-PatchSet: 5
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: coreboot org <coreboot.org(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83347?usp=email )
(
6 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: xcompile: Apply -Wextra with temporary exceptions to GCC
......................................................................
xcompile: Apply -Wextra with temporary exceptions to GCC
In order to detect more issues in our code, make GCC more picky by
enabling -Wextra. Disable a couple of warnings turned on by -Wextra
temporarily in order to keep everything compiling and working for now.
The warnings may be enabled step by step later.
Since xcompiles applies to coreboot and libpayload, add Wextra here
instead of the top-level Makefile.mk.
Change-Id: I60915cb66581dc2c9b6807335fd0e214b45e76d6
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83347
Reviewed-by: Martin L Roth <gaumless(a)gmail.com>
Reviewed-by: Elyes Haouas <ehaouas(a)noos.fr>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M util/xcompile/xcompile
1 file changed, 33 insertions(+), 0 deletions(-)
Approvals:
Martin L Roth: Looks good to me, approved
Elyes Haouas: Looks good to me, but someone else must approve
build bot (Jenkins): Verified
Objections:
Nico Huber: I would prefer that you didn't submit this
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index b3012b5..4ead648 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -208,6 +208,39 @@
testcc "$GCC" "$CFLAGS_GCC -Wcalloc-transposed-args" &&
CFLAGS_GCC="$CFLAGS_GCC -Wcalloc-transposed-args"
+ testcc "$GCC" "$CFLAGS_GCC -Wno-unused-parameter" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-unused-parameter"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-sign-compare" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-sign-compare"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-empty-body" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-empty-body"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-missing-field-initializers" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-missing-field-initializers"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-override-init" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-override-init"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-ignored-qualifiers" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-ignored-qualifiers"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-shift-negative-value" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-shift-negative-value"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-unused-but-set-parameter" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-unused-but-set-parameter"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-type-limits" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-type-limits"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wno-cast-function-type" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wno-cast-function-type"
+
+ testcc "$GCC" "$CFLAGS_GCC -Wextra" &&
+ CFLAGS_GCC="$CFLAGS_GCC -Wextra"
+
case "$architecture" in
x86)
;;
--
To view, visit https://review.coreboot.org/c/coreboot/+/83347?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I60915cb66581dc2c9b6807335fd0e214b45e76d6
Gerrit-Change-Number: 83347
Gerrit-PatchSet: 8
Gerrit-Owner: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Torsten Schenk
Sean Rhodes has posted comments on this change by Sean Rhodes. ( https://review.coreboot.org/c/coreboot/+/83716?usp=email )
Change subject: soc/inte/cnvi: Add AOLX Method
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/83716?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: Ibeafb2b6e8a702430dcf10eb28bfeb9f77aa29b4
Gerrit-Change-Number: 83716
Gerrit-PatchSet: 5
Gerrit-Owner: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 01 Aug 2024 19:57:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Sean Rhodes has posted comments on this change by Sean Rhodes. ( https://review.coreboot.org/c/coreboot/+/83715?usp=email )
Change subject: soc/intel/cnvi: Add GBTE Method
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/83715?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: I8f6b97b0961579f36cd053b0252213c3335b1c62
Gerrit-Change-Number: 83715
Gerrit-PatchSet: 5
Gerrit-Owner: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 01 Aug 2024 19:57:45 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Sean Rhodes has posted comments on this change by Sean Rhodes. ( https://review.coreboot.org/c/coreboot/+/83714?usp=email )
Change subject: soc/intel/cnvi: Add SBTE Method
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/83714?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: I11cdf654223daa7b417d6aa18855b48b50a8faa4
Gerrit-Change-Number: 83714
Gerrit-PatchSet: 5
Gerrit-Owner: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 01 Aug 2024 19:57:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Sean Rhodes has posted comments on this change by Sean Rhodes. ( https://review.coreboot.org/c/coreboot/+/83713?usp=email )
Change subject: soc/intel/cnvi: Add CNIP Method
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/83713?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: Id8a36a09c7beaf3ba8b29d3276bd9dc59420dab5
Gerrit-Change-Number: 83713
Gerrit-PatchSet: 5
Gerrit-Owner: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 01 Aug 2024 19:57:41 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Sean Rhodes has posted comments on this change by Sean Rhodes. ( https://review.coreboot.org/c/coreboot/+/83712?usp=email )
Change subject: soc/intel/cnvi: Add CFLR Method
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/83712?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: Idc4c35e71076fd31786212995472bb8d58c961de
Gerrit-Change-Number: 83712
Gerrit-PatchSet: 5
Gerrit-Owner: Sean Rhodes <sean(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 01 Aug 2024 19:57:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No