Stefan Reinauer has abandoned this change. ( https://review.coreboot.org/c/vboot/+/67277?usp=email )
Change subject: firmware/2lib: Add function to clear VB2_NV_DISPLAY_REQUEST
......................................................................
Abandoned
Please submit to chromium.org. This is a read-only mirror.
--
To view, visit https://review.coreboot.org/c/vboot/+/67277?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: vboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib92f1077d227881c2c36b77aa83be4d6be7b3dda
Gerrit-Change-Number: 67277
Gerrit-PatchSet: 2
Gerrit-Owner: Maulik Vaghela <maulikvaghela(a)google.com>
Gerrit-MessageType: abandon
Rizwan Qureshi has uploaded this change for review. ( https://review.coreboot.org/c/vboot/+/32679
Change subject: vboot: Fix build error related to VB2_SHARED_DATA_VERSION_MINOR
......................................................................
vboot: Fix build error related to VB2_SHARED_DATA_VERSION_MINOR
vboot fails to compile with the error
"error: comparison is always false due to limited range
of data type [-Werror=type-limits]"
since struct_version_minor is uint16_t and can never be less than
VB2_SHARED_DATA_VERSION_MINOR (0)
Signed-off-by: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Change-Id: I0e68981fbecafe7ba40e00ee657e82c024a89325
---
M firmware/2lib/2misc.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/vboot refs/changes/79/32679/1
diff --git a/firmware/2lib/2misc.c b/firmware/2lib/2misc.c
index 95cbae3..195a0f9 100644
--- a/firmware/2lib/2misc.c
+++ b/firmware/2lib/2misc.c
@@ -128,7 +128,7 @@
return VB2_ERROR_SHARED_DATA_MAGIC;
if (sd->struct_version_major != VB2_SHARED_DATA_VERSION_MAJOR ||
- sd->struct_version_minor < VB2_SHARED_DATA_VERSION_MINOR)
+ sd->struct_version_minor != VB2_SHARED_DATA_VERSION_MINOR)
return VB2_ERROR_SHARED_DATA_VERSION;
return VB2_SUCCESS;
--
To view, visit https://review.coreboot.org/c/vboot/+/32679
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: vboot
Gerrit-Branch: master
Gerrit-Change-Id: I0e68981fbecafe7ba40e00ee657e82c024a89325
Gerrit-Change-Number: 32679
Gerrit-PatchSet: 1
Gerrit-Owner: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-MessageType: newchange
Attention is currently required from: Alex James, Martin L Roth.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/vboot/+/60234?usp=email )
Change subject: vboot: Ignore Linux-specific definitions on macOS
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Please submit to chromium.org. This is a read-only mirror.
--
To view, visit https://review.coreboot.org/c/vboot/+/60234?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: vboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie5cfd63d6cb17c16ec6a461589b4bc82cf668d73
Gerrit-Change-Number: 60234
Gerrit-PatchSet: 1
Gerrit-Owner: Alex James <theracermaster(a)gmail.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Alex James <theracermaster(a)gmail.com>
Gerrit-Comment-Date: Sat, 10 Jun 2023 03:39:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Alex James.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/vboot/+/60235?usp=email )
Change subject: cgpt: Add endian definitions for macOS
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Please submit to chromium.org. This is a read-only mirror.
--
To view, visit https://review.coreboot.org/c/vboot/+/60235?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: vboot
Gerrit-Branch: main
Gerrit-Change-Id: I87e98ea157870417f5eba63807eef559e180d1f8
Gerrit-Change-Number: 60235
Gerrit-PatchSet: 1
Gerrit-Owner: Alex James <theracermaster(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Alex James <theracermaster(a)gmail.com>
Gerrit-Comment-Date: Sat, 10 Jun 2023 03:39:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Eugene Myers.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55630?usp=email )
Change subject: security/intel/stm: Provide MSEG too small diagnostic information
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/55630?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: 4.11_branch
Gerrit-Change-Id: I88d947e3a0495089be886f6557e4d4d7993e2508
Gerrit-Change-Number: 55630
Gerrit-PatchSet: 2
Gerrit-Owner: Eugene Myers <cedarhouse1(a)comcast.net>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Eugene Myers <cedarhouse1(a)comcast.net>
Gerrit-Comment-Date: Sat, 10 Jun 2023 03:21:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Stefan Reinauer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/55629?usp=email )
Change subject: security/intel/stm: Make sure stm_resource_heap is consistent
......................................................................
security/intel/stm: Make sure stm_resource_heap is consistent
When a parallel SMM relocation is being done, there is a good chance
that the value for stm_resource_heap is not consistent across processors.
Rather than holding (via a lock) processors until this value is set and
then flushing the cache so that all processors see the same value, this
solution moves the code such that all processors set it, thus maintaining
parallelism and keeping the code simple.
Change-Id: I2e5385c47124adcd99803337167984b6307af860
Signed-off-by: Eugene Myers <edmyers(a)tycho.nsa.gov>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55629
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
M src/security/intel/stm/StmPlatformSmm.c
1 file changed, 5 insertions(+), 2 deletions(-)
Approvals:
build bot (Jenkins): Verified
Stefan Reinauer: Looks good to me, approved
diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c
index 248ccc0..3f29afc 100644
--- a/src/security/intel/stm/StmPlatformSmm.c
+++ b/src/security/intel/stm/StmPlatformSmm.c
@@ -173,12 +173,15 @@
return;
}
+ // This code moved here because paralled SMM setup can cause some
+ // processors to get a bad value.
+ addr_calc = mseg - CONFIG_BIOS_RESOURCE_LIST_SIZE;
+ stm_resource_heap = (uint8_t *) addr_calc;
+
if (cpu == 0) {
// need to create the BIOS resource list once
// first calculate the location in SMRAM
- addr_calc = mseg - CONFIG_BIOS_RESOURCE_LIST_SIZE;
- stm_resource_heap = (uint8_t *) addr_calc;
printk(BIOS_DEBUG, "STM: stm_resource_heap located at %p\n",
stm_resource_heap);
//setup the the list
--
To view, visit https://review.coreboot.org/c/coreboot/+/55629?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: 4.11_branch
Gerrit-Change-Id: I2e5385c47124adcd99803337167984b6307af860
Gerrit-Change-Number: 55629
Gerrit-PatchSet: 3
Gerrit-Owner: Eugene Myers <cedarhouse1(a)comcast.net>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: merged
Attention is currently required from: Eugene Myers.
Stefan Reinauer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55629?usp=email )
Change subject: security/intel/stm: Make sure stm_resource_heap is consistent
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/55629?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: 4.11_branch
Gerrit-Change-Id: I2e5385c47124adcd99803337167984b6307af860
Gerrit-Change-Number: 55629
Gerrit-PatchSet: 2
Gerrit-Owner: Eugene Myers <cedarhouse1(a)comcast.net>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Eugene Myers <cedarhouse1(a)comcast.net>
Gerrit-Comment-Date: Sat, 10 Jun 2023 03:21:16 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment