Attention is currently required from: Nico Huber, Stefan Reinauer, Paul Menzel, Julius Werner.
Hello build bot (Jenkins), Nico Huber, Angel Pons, Julius Werner,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/51177
to look at the new patch set (#13).
Change subject: libpayload: Enable LTO by default
......................................................................
libpayload: Enable LTO by default
Link Time Optimization (LTO) decreases the size of the binaries, which
is important for firmware with small flash ROM chip sizes. Using LTO
might result in longer build times, which is not an issue for a small
project like libpayload.
Therefore, enable LTO by default.
TEST=Build coreinfo without and with LTO and test with
emulation/qemu-i440fx.
qemu-system-x86_64 -bios coreboot.rom -L /dev/shm -enable-kvm -smp cpus=2 -m 1G -hda /dev/shm/debian-32.img -serial stdio -net nic -net user,hostfwd=tcp::22222-:22
```
$ make -j4 # no LTO
[…]
LPGCC coreinfo.bin
/usr/bin/ld.bfd: warning: exception_asm.libc.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/usr/bin/ld.bfd: warning: build/coreinfo.bin has a LOAD segment with RWX permissions
DEBUG coreinfo.debug
STRIP coreinfo.elf
real 0m9,101s
user 0m8,754s
sys 0m1,526s
$ ls -ltra build/coreinfo.{bin,debug,elf}
-rwxr-xr-x 1 user user 648248 10. Nov 19:00 build/coreinfo.bin
-rwxr-xr-x 1 user user 545704 10. Nov 19:00 build/coreinfo.debug
-rwxr-xr-x 1 user user 130788 10. Nov 19:00 build/coreinfo.elf
```
```
$ make -j4 # with LTO
[…]
LPGCC coreinfo.bin
lto-wrapper: warning: using serial compilation of 2 LTRANS jobs
lto-wrapper: note: see the '-flto' option documentation for more information
/usr/bin/ld.bfd: warning: exception_asm.libc.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
/usr/bin/ld.bfd: warning: build/coreinfo.bin has a LOAD segment with RWX permissions
DEBUG coreinfo.debug
STRIP coreinfo.elf
real 0m6,675s
user 0m6,399s
sys 0m1,395s
$ ls -ltra build/coreinfo.{bin,debug,elf}
-rwxr-xr-x 1 user user 616612 10. Nov 19:01 build/coreinfo.bin
-rwxr-xr-x 1 user user 518340 10. Nov 19:01 build/coreinfo.debug
-rwxr-xr-x 1 user user 125988 10. Nov 19:01 build/coreinfo.elf
```
So real time usage actually decreased by 33 % from nine to six seconds,
and size of the ELF by 4 % from 130.8 to 126.0 bytes
Change-Id: I4bc58034ea8a9510ddc08d61d19e75a7c6f9cbc7
Signed-off-by: Paul Menzel <user(a)molgen.mpg.de>
---
M payloads/libpayload/Kconfig
1 file changed, 66 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/51177/13
--
To view, visit https://review.coreboot.org/c/coreboot/+/51177
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4bc58034ea8a9510ddc08d61d19e75a7c6f9cbc7
Gerrit-Change-Number: 51177
Gerrit-PatchSet: 13
Gerrit-Owner: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Jacob Garber <jgarber1(a)ualberta.ca>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Michał Żygowski, Christian Walter, Julius Werner, Krystian Hebel.
Sergii Dmytruk has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69159 )
Change subject: security/tpm: make tis_probe() return tpm_family
......................................................................
Patch Set 4:
(1 comment)
File src/drivers/i2c/tpm/tpm.c:
https://review.coreboot.org/c/coreboot/+/69159/comment/b0bc58bd_bef5a0c8
PS1, Line 461: *tpm_family = 1;
> OK, now I'm confused. […]
Judging by the differences in addresses they might have implemented their own protocol derived from SPI before there was one for I2C interface. They do use constants from `tis.h` for STS register, so maybe family information is there, but no guarantee for that.
--
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: 4
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: Michał Żygowski <michal.zygowski(a)3mdeb.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-Comment-Date: Mon, 14 Nov 2022 22:23:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Comment-In-Reply-To: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Comment-In-Reply-To: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-MessageType: comment
Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson, Matt DeVillier, Kyösti Mälkki, Fred Reitberger.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55571 )
Change subject: [WIP] soc/amd: Use ioapic helper functions
......................................................................
Patch Set 10: Code-Review+1
(2 comments)
Patchset:
PS1:
> it looks like that that info was only needed for generating the IVRS table back when it was generate […]
i'm not sure if fsp still uses the ioapic IDs; asked about this in an internal chat. in the current setup with an fch ioapic and a nb ioapic with the fch one always being number 0, we'll end up with the correct IDs
Patchset:
PS10:
reviewed the code and ran a test on amd/mandolin and everything works and linux shows me the expected ioapic configuration in dmesg
--
To view, visit https://review.coreboot.org/c/coreboot/+/55571
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifdacc61b72f461ec6bea334fa06651c09a9695d6
Gerrit-Change-Number: 55571
Gerrit-PatchSet: 10
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(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: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Comment-Date: Mon, 14 Nov 2022 21:56:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: comment
Attention is currently required from: Felix Held.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68852 )
Change subject: mb/amd/gardenia,pademelon: rewrite IRQ mapping handling
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/68852
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia460b467990be7c3e6261440505988a9770ea084
Gerrit-Change-Number: 68852
Gerrit-PatchSet: 4
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Mon, 14 Nov 2022 20:21:11 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Jason Nien, Felix Held.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68851 )
Change subject: mb/google/kahlee/mainboard: rewrite IRQ mapping handling
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/68851
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9b3bfca33d88ef3989b63f4fe6c301e0e485b7e9
Gerrit-Change-Number: 68851
Gerrit-PatchSet: 4
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Mon, 14 Nov 2022 20:20:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Chao Gui, Jason Nien, Isaac Lee, Jon Murphy, Martin Roth, Karthik Ramasubramanian.
Paul Fagerburg has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69479 )
Change subject: mb/google/skyrim: Create crystaldrift variant
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/69479
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibb3ebaa7e4af1a03173b93b8c4fbd342f7cd7100
Gerrit-Change-Number: 69479
Gerrit-PatchSet: 1
Gerrit-Owner: Chao Gui <chaogui(a)google.com>
Gerrit-Reviewer: Isaac Lee <isaaclee(a)google.com>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Jon Murphy <jpmurphy(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Paul Fagerburg <pfagerburg(a)chromium.org>
Gerrit-Reviewer: Tim Van Patten <timvp(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Bhanu Prakash Maiya <bhanumaiya(a)google.com>
Gerrit-CC: Paul Fagerburg <pfagerburg(a)google.com>
Gerrit-Attention: Chao Gui <chaogui(a)google.com>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Isaac Lee <isaaclee(a)google.com>
Gerrit-Attention: Jon Murphy <jpmurphy(a)google.com>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Mon, 14 Nov 2022 19:50:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Andrey Petrov.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/69580 )
Change subject: [RFC] drivers/intel/fsp2_0/hand_off_block: limit number of processed HOBs
......................................................................
Patch Set 3:
(1 comment)
File src/drivers/intel/fsp2_0/hand_off_block.c:
https://review.coreboot.org/c/coreboot/+/69580/comment/240f1e17_a9ee52fc
PS1, Line 156: "further HOBs. There's likely somthing wrong with the HOB data "
fixed
--
To view, visit https://review.coreboot.org/c/coreboot/+/69580
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie89c5b7e0aff7926e819aca455554370afd36f43
Gerrit-Change-Number: 69580
Gerrit-PatchSet: 3
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Comment-Date: Mon, 14 Nov 2022 19:28:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment