Nick Vaccaro has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/79119?usp=email )
Change subject: mb/goog/brya: Add gpio configuration based on FW_CONFIG
......................................................................
Abandoned
--
To view, visit https://review.coreboot.org/c/coreboot/+/79119?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: Ica92ce397e1ea2769b1a698d77ccd51dc87605c8
Gerrit-Change-Number: 79119
Gerrit-PatchSet: 2
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Nick Vaccaro has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/79120?usp=email )
Change subject: mb/goog/brya/var/brya0/skolas: Disable LTE gpios if LTE_ABSENT
......................................................................
Abandoned
--
To view, visit https://review.coreboot.org/c/coreboot/+/79120?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: Ie2143f110c6bd97ae4ebbac7489ab8f043738eab
Gerrit-Change-Number: 79120
Gerrit-PatchSet: 2
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
Attention is currently required from: Angel Pons, Felix Singer, Jason Glenesk, Martin L Roth, Paul Menzel.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79077?usp=email )
Change subject: Docs/releases: Update 4.22 release notes
......................................................................
Patch Set 1:
(2 comments)
File Documentation/releases/coreboot-4.22-relnotes.md:
https://review.coreboot.org/c/coreboot/+/79077/comment/2d5c7424_ac9bdad1 :
PS1, Line 25: through
up until
https://review.coreboot.org/c/coreboot/+/79077/comment/17fe268c_66270f07 :
PS1, Line 25: when
at which time
--
To view, visit https://review.coreboot.org/c/coreboot/+/79077?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: Id723f8e1fc92ef1a36e877f48e594eef59b0ba8e
Gerrit-Change-Number: 79077
Gerrit-PatchSet: 1
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Fri, 17 Nov 2023 19:19:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Patrick Georgi.
Benjamin Doron has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79095?usp=email )
Change subject: Documentation: Describe how SMMSTORE can be used safely
......................................................................
Patch Set 2: Code-Review+1
(5 comments)
Patchset:
PS2:
Looks pretty good to me. From "the boot process ... needs to be trusted," it generally seems like the intention is to use the root of trust for security, rather than isolation inside SMRAM. It's certainly not a bad idea, I like it for vboot, which has a fixed set of keys.
(Whether we can make that work for secure boot, I'm not sure. Physical attackers are often left out of the attack model, so overwriting native UEFI's variable store offline is ignored, I suppose. But just provisioning keys into a cleared variable store is not enough, because an attacker could *patch*, instead of clear, the variable store).
File Documentation/drivers/smmstore.md:
https://review.coreboot.org/c/coreboot/+/79095/comment/9d330d91_8a0faa93 :
PS2, Line 145: - while doing so, process authentication data and reject invalid blocks;
So, I think that UEFI's variable store is authenticated for writes, not reads. On initialisation, I can see UEFI code attempting to determine if secure boot is enabled by looking for the existence of a variable, but not validating it. I suppose self-validation is a tricky question: if something can write over this, it can also make sure it's valid (of course, the key will be different, that's where measurement helps a bit). Perhaps I missed something, UEFI's variable stack is complicated.
Anyways, not an issue with this document.
https://review.coreboot.org/c/coreboot/+/79095/comment/011d8668_b3398132 :
PS2, Line 171: An attacker could mess with future calls into the APIs, but they
: can already do so: Other common APIs for boot level variable are
: implemented in RAM as well, so they can easily be defused.
nit: variables? Also, are you thinking of coreboot CMOS or UEFI variables here? Or both, I suppose.
UEFI's native implementation in SMM is secure against this, at least for writes. If only SMM can write to SPI flash, and verification && write happen together in SMRAM, then verification can't be bypassed (at least online. A physically present attacker can write to this region offline).
Perhaps a mention that this point depends on addressing the next one would be helpful?
https://review.coreboot.org/c/coreboot/+/79095/comment/441f3e77_35e02a81 :
PS2, Line 174: An attacker could flush the store with the CLEAR command. This is a
: potential problem if the "empty state" is somehow less secure than
: a fully configured system.
This is the case for secure boot. For a simple boolean (like BIOS lock), I have and would default to secure settings when variables can't be found (at least for production code), but secure boot can't enable itself without keys.
We'd solve part of the problem by storing default keys in SPI flash to use when the store is empty, but that wouldn't stop an attacker from overwriting keys. Users are allowed to do this. There would be a change in the data measured into the TPM, though whether that's good enough security... I have no idea. Servers and business PCs may have attestation, but clients do not.
Again, not a issue here.
https://review.coreboot.org/c/coreboot/+/79095/comment/48f07427_a462cf6f :
PS2, Line 177: As a remedy, CLEAR could be disabled after the initial repacking,
: within the boot process, so that SMMSTORE becomes an append-only
: store. In this case, the attacker could fill up the buffer, leading
: to a DoS of the variable store until it's repacked. As described
: earlier, once there's an attacker on the system, the variable store
: lost its function until the attacker has been evicted, anyway.
Raw WRITE has to be protected to, because writing 0xFF is equivalent to clearing. If someone were to do this, they might want to pass some range of memory that should be protected against writes. "Append-only" probably hints at that to future readers.
--
To view, visit https://review.coreboot.org/c/coreboot/+/79095?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: I48f44d3416d210e1e6b19d18cad787e380ffeebc
Gerrit-Change-Number: 79095
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Georgi <patrick(a)coreboot.org>
Gerrit-Comment-Date: Fri, 17 Nov 2023 18:43:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Eric Lai, Nick Vaccaro, Shelley Chen, Subrata Banik.
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79120?usp=email )
Change subject: mb/goog/brya/var/brya0/skolas: Disable LTE gpios if LTE_ABSENT
......................................................................
Patch Set 2: Code-Review-1
(1 comment)
Patchset:
PS2:
I will be moving this change to fw_config_handle() in fw_config.c
--
To view, visit https://review.coreboot.org/c/coreboot/+/79120?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: Ie2143f110c6bd97ae4ebbac7489ab8f043738eab
Gerrit-Change-Number: 79120
Gerrit-PatchSet: 2
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Comment-Date: Fri, 17 Nov 2023 18:10:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Eric Lai, Nick Vaccaro, Shelley Chen, Subrata Banik.
Nick Vaccaro has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79119?usp=email )
Change subject: mb/goog/brya: Add gpio configuration based on FW_CONFIG
......................................................................
Patch Set 2: Code-Review-1
(1 comment)
Patchset:
PS2:
Looks like there's already a place to configure for FW_CONFIG in fw_config_handle() in fw_config.c, so this change is likely not needed.
--
To view, visit https://review.coreboot.org/c/coreboot/+/79119?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: Ica92ce397e1ea2769b1a698d77ccd51dc87605c8
Gerrit-Change-Number: 79119
Gerrit-PatchSet: 2
Gerrit-Owner: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Comment-Date: Fri, 17 Nov 2023 18:09:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Felix Held, Julius Werner.
Shelley Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79074?usp=email )
Change subject: qualcomm/sc7180: Move QCSDI and increase romstage size
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/79074?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: Iaf13e4001b3c763e3ec59009779931ec75603d5d
Gerrit-Change-Number: 79074
Gerrit-PatchSet: 2
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Fri, 17 Nov 2023 17:49:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment