Attention is currently required from: Jakub Czapiga, Paul Menzel, Jan Dabros.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/57708 )
Change subject: libpayload: Add mock architecture
......................................................................
Patch Set 10: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/57708
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie3a6e6f6cad2f8a2e48a8e546d3b79c577653080
Gerrit-Change-Number: 57708
Gerrit-PatchSet: 10
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Comment-Date: Sat, 09 Oct 2021 00:12:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Jakub Czapiga, Jan Dabros.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/57555 )
Change subject: tests: Add lib/lzma-test test case
......................................................................
Patch Set 8:
(3 comments)
File tests/lib/lzma-test.c:
https://review.coreboot.org/c/coreboot/+/57555/comment/5f1ef881_ba5dbd39
PS7, Line 65: goto error;
> If setup function exits with non-zero exit code, the teardown function is not called by CMocka. I am calling it in the error section and passing correct pointer `(void **)&s)` before returning from setup function.
Oh, you are... okay, sorry, didn't look at that closely enough.
File tests/lib/lzma-test.c:
https://review.coreboot.org/c/coreboot/+/57555/comment/23d4db1e_f69f89f3
PS8, Line 64: comp_file_suffix);
Not sure why you moved these around now? You can't snprintf() into the pointer before you check it for NULL.
https://review.coreboot.org/c/coreboot/+/57555/comment/86f7156b_71caba0f
PS8, Line 167: */
No, sorry, this isn't what I meant. I meant documenting what the different files 1, 2, 3, 4 are, e.g. are they text files, binaries, etc., were they compressed with different versions of lzmautils... basically, why are we testing exactly these 4 and not more or less? Each test file should have a specific purpose for being there and a notable difference from the other test cases.
--
To view, visit https://review.coreboot.org/c/coreboot/+/57555
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id75e0b41991382d4c391b031862106de58eacdf7
Gerrit-Change-Number: 57555
Gerrit-PatchSet: 8
Gerrit-Owner: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Reviewer: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jakub Czapiga <jacz(a)semihalf.com>
Gerrit-Attention: Jan Dabros <jsd(a)semihalf.com>
Gerrit-Comment-Date: Sat, 09 Oct 2021 00:10:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jakub Czapiga <jacz(a)semihalf.com>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Shelley Chen.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/58191 )
Change subject: soc/qualcomm/sc7280: Enable compression of SHRM
......................................................................
Patch Set 3:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/58191/comment/f2c9862d_ce37c5c3
PS3, Line 15: Also, did some cleanup in this file based on comments in CB:49392.
In the future, it would be great to have this in a separate commit.
https://review.coreboot.org/c/coreboot/+/58191/comment/72fbfbd2_326c02f0
PS3, Line 19: TEST=Make sure we can still boot to kernel on herobrine
What timing differences are there?
--
To view, visit https://review.coreboot.org/c/coreboot/+/58191
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaad8a8a02abe40bd01766d94ef0b61aac7671936
Gerrit-Change-Number: 58191
Gerrit-PatchSet: 3
Gerrit-Owner: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Ravi Kumar Bokka <c_rbokka(a)qualcomm.corp-partner.google.com>
Gerrit-CC: Sudheer Amrabadi <samrabad(a)codeaurora.org>
Gerrit-CC: mturney mturney <mturney(a)codeaurora.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Comment-Date: Fri, 08 Oct 2021 23:35:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel, Karthik Ramasubramanian.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/58199 )
Change subject: arch/x86,cpu/x86,lib/thread: Remove usage of cpu_info from lib/thread
......................................................................
Patch Set 1:
(2 comments)
Patchset:
PS1:
Thanks!
File src/lib/thread.c:
https://review.coreboot.org/c/coreboot/+/58199/comment/f7e16610_3c1664b9
PS1, Line 249: !boot_cpu()
> Would you expect it to die in set_current_thread? […]
Yeah, I think an assert(boot_cpu()) in set_current_thread would make sense (and then you shouldn't need this here -- this being called from a non-boot CPU is a programming error).
--
To view, visit https://review.coreboot.org/c/coreboot/+/58199
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iea4622d52c36d529e100b7ea55f32c334acfdf3e
Gerrit-Change-Number: 58199
Gerrit-PatchSet: 1
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Fri, 08 Oct 2021 23:15:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Raul Rangel <rrangel(a)chromium.org>
Comment-In-Reply-To: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: comment
Raul Rangel has uploaded a new patch set (#3). ( https://review.coreboot.org/c/coreboot/+/58205 )
Change subject: cpu/x86/cpu_info.S: Remove ebx save/restore
......................................................................
cpu/x86/cpu_info.S: Remove ebx save/restore
The push/pop of %ebx was only added because smm_stub saves the canary
value in it. Now that we no longer use cpu_info in smm, we no longer
need to save the register.
BUG=b:179699789
TEST=Boot guybrush to the OS
Signed-off-by: Raul E Rangel <rrangel(a)chromium.org>
Change-Id: I554dbe016db8b1c61246c8ffc7fa252b2542ba92
---
M src/cpu/x86/cpu_info.S.inc
1 file changed, 1 insertion(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/05/58205/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/58205
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I554dbe016db8b1c61246c8ffc7fa252b2542ba92
Gerrit-Change-Number: 58205
Gerrit-PatchSet: 3
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Raul Rangel has uploaded a new patch set (#3). ( https://review.coreboot.org/c/coreboot/+/58204 )
Change subject: cpu/x86/smm/smm_stub: Remove cpu_info
......................................................................
cpu/x86/smm/smm_stub: Remove cpu_info
Now that cpu_info() is no longer used by COOP_MULTITASKING, we no
longer need to setup cpu_info in SMM. When using CPU_INFO_V2, if
something does manage to call cpu_info() while executing in SMM mode,
the %gs segment is disabled, so it will generate an exception.
BUG=b:179699789
TEST=Boot guybrush to OS with threads enabled
Signed-off-by: Raul E Rangel <rrangel(a)chromium.org>
Change-Id: Id64f32cc63082880a92dab6deb473431b2238cd0
---
M src/cpu/x86/smm/smm_stub.S
1 file changed, 1 insertion(+), 31 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/58204/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/58204
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id64f32cc63082880a92dab6deb473431b2238cd0
Gerrit-Change-Number: 58204
Gerrit-PatchSet: 3
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-MessageType: newpatchset