Attention is currently required from: Jason Glenesk, Raul Rangel, Michał Żygowski, Frans Hendriks, Matt DeVillier, Christian Walter, Julius Werner, Krystian Hebel, Fred Reitberger, Sergii Dmytruk, Felix Held.
Hello build bot (Jenkins), Raul Rangel, Frans Hendriks, Matt DeVillier, Julius Werner, Krystian Hebel, Erik van den Bogaert, Jason Glenesk, Michał Żygowski, Christian Walter, Fred Reitberger, Yu-Ping Wu, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69160
to look at the new patch set (#9).
Change subject: security/tpm: resolve conflicts in TSS implementations
......................................................................
security/tpm: resolve conflicts in TSS implementations
No functional changes. Just code updates to don't have any compiler or
linker errors if TSS 1.2 and TSS 2.0 were both compiled in. One might
want to support both TPM families for example if TPM is pluggable, in
which case currently one has to update both TPM device and firmware.
Change-Id: Ia0ea5a917c46ada9fc3274f17240e12bca98db6a
Ticket: https://ticket.coreboot.org/issues/433
Signed-off-by: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
---
M src/drivers/crb/tis.c
M src/security/tpm/Makefile.inc
M src/security/tpm/tspi/tspi.c
M src/security/tpm/tss.h
M src/security/tpm/tss/tcg-1.2/tss.c
M src/security/tpm/tss/tcg-2.0/tss.c
M src/security/tpm/tss/tcg-2.0/tss_marshaling.c
A src/security/tpm/tss/tss.c
M src/security/tpm/tss/vendor/cr50/cr50.c
A src/security/tpm/tss1.h
A src/security/tpm/tss2.h
M src/security/vboot/secdata_tpm.c
M src/soc/amd/common/psp_verstage/psp_verstage.c
M src/vendorcode/eltan/security/mboot/mboot.c
M src/vendorcode/google/chromeos/tpm2.c
15 files changed, 413 insertions(+), 279 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/69160/9
--
To view, visit https://review.coreboot.org/c/coreboot/+/69160
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia0ea5a917c46ada9fc3274f17240e12bca98db6a
Gerrit-Change-Number: 69160
Gerrit-PatchSet: 9
Gerrit-Owner: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Erik van den Bogaert <ebogaert(a)eltan.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Frans Hendriks <fhendriks(a)eltan.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Christian Walter, Julius Werner, Krystian Hebel, Sergii Dmytruk.
Hello build bot (Jenkins), Michał Żygowski, Christian Walter, Julius Werner, Krystian Hebel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69159
to look at the new patch set (#6).
Change subject: security/tpm: make tis_probe() return tpm_family
......................................................................
security/tpm: make tis_probe() return tpm_family
Via an out parameter. This is needed to be able to dynamically pick TSS
implementation based on the information discovered on probing.
Change-Id: I5006e0cdfef76ff79ce9e1cf280fcd5515ae01b0
Ticket: https://ticket.coreboot.org/issues/433
Signed-off-by: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
---
M src/drivers/crb/tis.c
M src/drivers/i2c/tpm/cr50.c
M src/drivers/i2c/tpm/tis.c
M src/drivers/i2c/tpm/tis_atmel.c
M src/drivers/i2c/tpm/tpm.c
M src/drivers/i2c/tpm/tpm.h
M src/drivers/pc80/tpm/tis.c
M src/drivers/spi/tpm/tis.c
M src/security/tpm/tis.h
M src/security/tpm/tss/tcg-1.2/tss.c
M src/security/tpm/tss/tcg-2.0/tss.c
11 files changed, 79 insertions(+), 30 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/69159/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/69159
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5006e0cdfef76ff79ce9e1cf280fcd5515ae01b0
Gerrit-Change-Number: 69159
Gerrit-PatchSet: 6
Gerrit-Owner: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Christian Walter, Julius Werner, Krystian Hebel, Sergii Dmytruk.
Hello build bot (Jenkins), Michał Żygowski, Christian Walter, Julius Werner, Krystian Hebel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69023
to look at the new patch set (#6).
Change subject: drivers/pc80/tpm: probe for TPM family of a device
......................................................................
drivers/pc80/tpm: probe for TPM family of a device
At the moment this is to handle the situation when device ID is the
same for TPM1 and TPM2 versions of a device. Later this TPM family will
be returned to the caller.
Change-Id: I5464771836c66bcc441efb7189ded416b8f53827
Ticket: https://ticket.coreboot.org/issues/433
Signed-off-by: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
---
M src/drivers/pc80/tpm/tis.c
1 file changed, 93 insertions(+), 24 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/69023/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/69023
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5464771836c66bcc441efb7189ded416b8f53827
Gerrit-Change-Number: 69023
Gerrit-PatchSet: 6
Gerrit-Owner: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Martin L Roth, Julius Werner.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69893 )
Change subject: commonlib/bsd: Add zstd support
......................................................................
Patch Set 1:
(1 comment)
File src/commonlib/bsd/zstd_wrapper.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-164274):
https://review.coreboot.org/c/coreboot/+/69893/comment/b64040a4_bce8730f
PS1, Line 27: printk(BIOS_ERR, "Bogus free called\n");
Prefer using '"%s...", __func__' to using 'free', this function's name, in a string
--
To view, visit https://review.coreboot.org/c/coreboot/+/69893
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic1b1f53327c598d07bd83d4391e8012d41696a16
Gerrit-Change-Number: 69893
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Comment-Date: Tue, 22 Nov 2022 15:52:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Shelley Chen, Martin L Roth, Arthur Heymans.
Hello Shelley Chen, build bot (Jenkins), Martin L Roth, Julius Werner,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/69753
to look at the new patch set (#2).
Change subject: util/cbfstool: Add zstd support
......................................................................
util/cbfstool: Add zstd support
This adds zstd support to cbfstool. The code is taken from zstd-1.5.2
and one minor modifications: renaming xxhash.c to xxhash_zstd.c to avoid
namespace conflicts with lz4.
ZSTD offers similar compression ratios to LZMA, but a vastly fast
decompress speed. Typically ZSTD results in slightly larger binaries
than LZMA. Whether ZSTD should then be preferred over LZMA depends on
a few things:
- Caching: When loading from memory mapped boot devices, ZSTD will read
the boot medium multiple times, while LZMA will not. If the memory
mapped boot medium is not cached ZSTD results in much slower
decompression.
- Boot medium speed: Often, but not always LZMA results in smaller
binaries. If the boot medium is the bottleneck, than loading smaller
binaries might actually be faster. On a fast boot medium (high spi
freq, using quad/dual io), the performance benefits from ZSTD might be
more substantial
- ZSTD decompression code has a much larger footprint than LZMA. If the
stage (postcar) is loaded in uncached memory the size increase might
slow things down.
- ZSTD uses a lot of .bss (CTX is 95792 bytes large). This might not be
available in some environments.
Change-Id: I34508268f8767008ef25cb9e466d201345881232
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/commonlib/bsd/include/commonlib/bsd/cbfs_serialized.h
M src/commonlib/bsd/include/commonlib/bsd/compression.h
A src/commonlib/bsd/zstd/common/bitstream.h
A src/commonlib/bsd/zstd/common/compiler.h
A src/commonlib/bsd/zstd/common/cpu.h
A src/commonlib/bsd/zstd/common/debug.c
A src/commonlib/bsd/zstd/common/debug.h
A src/commonlib/bsd/zstd/common/entropy_common.c
A src/commonlib/bsd/zstd/common/error_private.c
A src/commonlib/bsd/zstd/common/error_private.h
A src/commonlib/bsd/zstd/common/fse.h
A src/commonlib/bsd/zstd/common/fse_decompress.c
A src/commonlib/bsd/zstd/common/huf.h
A src/commonlib/bsd/zstd/common/mem.h
A src/commonlib/bsd/zstd/common/pool.c
A src/commonlib/bsd/zstd/common/pool.h
A src/commonlib/bsd/zstd/common/portability_macros.h
A src/commonlib/bsd/zstd/common/threading.c
A src/commonlib/bsd/zstd/common/threading.h
A src/commonlib/bsd/zstd/common/xxhash.h
A src/commonlib/bsd/zstd/common/xxhash_zstd.c
A src/commonlib/bsd/zstd/common/zstd_common.c
A src/commonlib/bsd/zstd/common/zstd_deps.h
A src/commonlib/bsd/zstd/common/zstd_internal.h
A src/commonlib/bsd/zstd/common/zstd_trace.h
A src/commonlib/bsd/zstd/decompress/huf_decompress.c
A src/commonlib/bsd/zstd/decompress/huf_decompress_amd64.S
A src/commonlib/bsd/zstd/decompress/zstd_ddict.c
A src/commonlib/bsd/zstd/decompress/zstd_ddict.h
A src/commonlib/bsd/zstd/decompress/zstd_decompress.c
A src/commonlib/bsd/zstd/decompress/zstd_decompress_block.c
A src/commonlib/bsd/zstd/decompress/zstd_decompress_block.h
A src/commonlib/bsd/zstd/decompress/zstd_decompress_internal.h
A src/commonlib/bsd/zstd/zdict.h
A src/commonlib/bsd/zstd/zstd.h
A src/commonlib/bsd/zstd/zstd_errors.h
M util/cbfstool/Makefile.inc
M util/cbfstool/cbfs.h
M util/cbfstool/compress.c
A util/cbfstool/zstd/common/bitstream.h
A util/cbfstool/zstd/common/compiler.h
A util/cbfstool/zstd/common/cpu.h
A util/cbfstool/zstd/common/debug.h
A util/cbfstool/zstd/common/error_private.h
A util/cbfstool/zstd/common/fse.h
A util/cbfstool/zstd/common/huf.h
A util/cbfstool/zstd/common/mem.h
A util/cbfstool/zstd/common/pool.h
A util/cbfstool/zstd/common/portability_macros.h
A util/cbfstool/zstd/common/threading.h
A util/cbfstool/zstd/common/xxhash.h
A util/cbfstool/zstd/common/zstd_deps.h
A util/cbfstool/zstd/common/zstd_internal.h
A util/cbfstool/zstd/common/zstd_trace.h
A util/cbfstool/zstd/compress/clevels.h
A util/cbfstool/zstd/compress/fse_compress.c
A util/cbfstool/zstd/compress/hist.c
A util/cbfstool/zstd/compress/hist.h
A util/cbfstool/zstd/compress/huf_compress.c
A util/cbfstool/zstd/compress/zstd_compress.c
A util/cbfstool/zstd/compress/zstd_compress_internal.h
A util/cbfstool/zstd/compress/zstd_compress_literals.c
A util/cbfstool/zstd/compress/zstd_compress_literals.h
A util/cbfstool/zstd/compress/zstd_compress_sequences.c
A util/cbfstool/zstd/compress/zstd_compress_sequences.h
A util/cbfstool/zstd/compress/zstd_compress_superblock.c
A util/cbfstool/zstd/compress/zstd_compress_superblock.h
A util/cbfstool/zstd/compress/zstd_cwksp.h
A util/cbfstool/zstd/compress/zstd_double_fast.c
A util/cbfstool/zstd/compress/zstd_double_fast.h
A util/cbfstool/zstd/compress/zstd_fast.c
A util/cbfstool/zstd/compress/zstd_fast.h
A util/cbfstool/zstd/compress/zstd_lazy.c
A util/cbfstool/zstd/compress/zstd_lazy.h
A util/cbfstool/zstd/compress/zstd_ldm.c
A util/cbfstool/zstd/compress/zstd_ldm.h
A util/cbfstool/zstd/compress/zstd_ldm_geartab.h
A util/cbfstool/zstd/compress/zstd_opt.c
A util/cbfstool/zstd/compress/zstd_opt.h
A util/cbfstool/zstd/compress/zstdmt_compress.c
A util/cbfstool/zstd/compress/zstdmt_compress.h
A util/cbfstool/zstd/zdict.h
A util/cbfstool/zstd/zstd.h
A util/cbfstool/zstd/zstd_errors.h
84 files changed, 54,802 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/69753/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69753
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I34508268f8767008ef25cb9e466d201345881232
Gerrit-Change-Number: 69753
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newpatchset
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69841 )
Change subject: util/crossgcc: Limit LLVM targets to the needed ones
......................................................................
util/crossgcc: Limit LLVM targets to the needed ones
coreboot only supports a small subset of the targets that LLVM supports.
It's not needed to enable all possible targets. Thus limit the targets
to the following ones:
* X86
* RISC-V
* AArch32
* AArch64
* PowerPC
Change-Id: I9938bf176b5fe2b0a631c3b1ae858f988898a196
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69841
Reviewed-by: Elyes Haouas <ehaouas(a)noos.fr>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Arthur Heymans <arthur.heymans(a)9elements.com>
---
M util/crossgcc/buildgcc
1 file changed, 26 insertions(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Elyes Haouas: Looks good to me, approved
Arthur Heymans: Looks good to me, but someone else must approve
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 9b7fc1c..6e8d3f0 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -813,7 +813,8 @@
$CMAKE -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$DESTDIR$TARGETDIR" \
-DCLANG_VENDOR="coreboot toolchain v$CROSSGCC_VERSION - " \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt" \
- -DLLVM_INCLUDE_BENCHMARKS="OFF" -DCMAKE_BUILD_TYPE=Release ../llvm || touch .failed
+ -DLLVM_INCLUDE_BENCHMARKS="OFF" -DCMAKE_BUILD_TYPE=Release ../llvm \
+ -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;PowerPC;RISCV;X86" || touch .failed
# shellcheck disable=SC2086
$MAKE $JOBS || touch .failed
$MAKE install || touch .failed
--
To view, visit https://review.coreboot.org/c/coreboot/+/69841
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9938bf176b5fe2b0a631c3b1ae858f988898a196
Gerrit-Change-Number: 69841
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Arthur Heymans <arthur.heymans(a)9elements.com>
Gerrit-Reviewer: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: merged
Attention is currently required from: Arthur Heymans, Elyes Haouas.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69901 )
Change subject: sb/intel/i82801gx/lpc.c: Use post_code()
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69901
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1ba6bff810b61a1249cda6e96eb40f4a81381322
Gerrit-Change-Number: 69901
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Tue, 22 Nov 2022 15:09:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment