Attention is currently required from: Michał Żygowski.
Paul Menzel has posted comments on this change by Michał Żygowski. ( https://review.coreboot.org/c/coreboot/+/84926?usp=email )
Change subject: util/cbmem/cbmem.c: Avoid overflows when parsing TCG TPM logs
......................................................................
Patch Set 2:
(3 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/84926/comment/1625f5cb_f807c396?us… :
PS2, Line 9: utilit yassumed
utilit*y* assumed
https://review.coreboot.org/c/coreboot/+/84926/comment/79f183fd_d64208be?us… :
PS2, Line 15: TEST=Dump TCG TPM1.2 event log on Dell OptiPlex 7010 and see
Please add the exact command you used.
File util/cbmem/cbmem.c:
https://review.coreboot.org/c/coreboot/+/84926/comment/84a61fb0_b4371ad7?us… :
PS2, Line 890: fprintf(stderr, "Invalid TPM1.2 log entry overflowing cbmem area\n");
Would it be helpful to add the length/size numbers?
What should users do, if they see this message?
--
To view, visit https://review.coreboot.org/c/coreboot/+/84926?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I7e057db3378b701d046d4e578272b10f294142a7
Gerrit-Change-Number: 84926
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Comment-Date: Wed, 30 Oct 2024 09:54:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Michał Żygowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84927?usp=email )
Change subject: security/tpm/tspi/log-tpm1.c: Clear whole log area on creation
......................................................................
security/tpm/tspi/log-tpm1.c: Clear whole log area on creation
The log area was not entirely cleared on creation resulting in
garbage after the last valid lgo entry. It caused the cbmem utility
to parse invalid events and access data outside the log area.
In the TPM2 log sources, the entire area is being cleared, thus the
issue has not been observed.
Change-Id: I7c780b62b1c6507e1dd1806b20b0270e364cde3d
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
---
M src/security/tpm/tspi/log-tpm1.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/27/84927/1
diff --git a/src/security/tpm/tspi/log-tpm1.c b/src/security/tpm/tspi/log-tpm1.c
index 481b569..453e74b 100644
--- a/src/security/tpm/tspi/log-tpm1.c
+++ b/src/security/tpm/tspi/log-tpm1.c
@@ -33,7 +33,7 @@
if (!tclt)
return NULL;
- memset(tclt, 0, sizeof(*tclt));
+ memset(tclt, 0, tpm_log_len);
hdr = &tclt->spec_id;
/* Fill in first "header" entry. */
--
To view, visit https://review.coreboot.org/c/coreboot/+/84927?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I7c780b62b1c6507e1dd1806b20b0270e364cde3d
Gerrit-Change-Number: 84927
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Michał Żygowski has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/84926?usp=email )
Change subject: util/cbmem/cbmem.c: Avoid overflows when parsing TCG TPM logs
......................................................................
util/cbmem/cbmem.c: Avoid overflows when parsing TCG TPM logs
The utilit yassumed that TCG TPM log area is zeroed and then filled
with events but it does not have to be true. If there is garbage
after the last valid event entry, the utility will most likely
access data outside of the cbmem area containing the logs. Relevant
issue: https://github.com/linuxboot/heads/issues/1608
TEST=Dump TCG TPM1.2 event log on Dell OptiPlex 7010 and see
"Invalid TPM1.2 log entry overflowing cbmem area" error is printed.
Change-Id: I7e057db3378b701d046d4e578272b10f294142a7
Signed-off-by: Michał Żygowski <michal.zygowski(a)3mdeb.com>
---
M util/cbmem/cbmem.c
1 file changed, 17 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/84926/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/84926?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I7e057db3378b701d046d4e578272b10f294142a7
Gerrit-Change-Number: 84926
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Attention is currently required from: Dinesh Gehlot, Eric Lai, Jayvik Desai, Kapil Porwal, Nick Vaccaro, Subrata Banik.
Hello Dinesh Gehlot, Eric Lai, Jayvik Desai, Kapil Porwal, Nick Vaccaro, Subrata Banik,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84925?usp=email
to look at the new patch set (#2).
Change subject: mb/google/nissa/var/glassway: Initial LTE Related Settings
......................................................................
mb/google/nissa/var/glassway: Initial LTE Related Settings
1. Add DB_1C_LTE 4 on DB_USB fw_config .
2. Implement WWAN power sequencing.
3. Disable LTE-related GPIOs based on fw_config.
4. Add I2C SX9324(P-sensor) support.
BUG=b:374666995
BRANCH=firmware-nissa-15217.B
TEST=emerge-nissa coreboot chromeos-bootimage
Change-Id: Ida56ff338d82f48aef419a65830a3380c83123d5
Signed-off-by: Daniel Peng <Daniel_Peng(a)pegatron.corp-partner.google.com>
---
M src/mainboard/google/brya/Kconfig
M src/mainboard/google/brya/variants/glassway/fw_config.c
M src/mainboard/google/brya/variants/glassway/include/variant/gpio.h
M src/mainboard/google/brya/variants/glassway/overridetree.cb
4 files changed, 117 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/84925/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/84925?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ida56ff338d82f48aef419a65830a3380c83123d5
Gerrit-Change-Number: 84925
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Peng <daniel_peng(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Attention is currently required from: Hung-Te Lin, Jarried Lin, Runyang Chen.
Paul Menzel has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/84896?usp=email )
Change subject: soc/mediatek/mt8196: Disable irq2axi feature
......................................................................
Patch Set 3:
(3 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/84896/comment/09e3c19d_72cfbba5?us… :
PS1, Line 13: TEST=Build pass and the interrupt can be correctly handled.
Please mention the problems/symptoms in the commit message.
> Yes, we have checked it,
What do you refer to? `/proc/interrupts`?
File src/soc/mediatek/mt8196/irq2axi.c:
https://review.coreboot.org/c/coreboot/+/84896/comment/8f2b2e57_409fb157?us… :
PS3, Line 8: printk(BIOS_INFO, "%s\n", __func__);
Please make it debug level or reword it. info level messages should be written, that users can understand it.
File src/soc/mediatek/mt8196/irq2axi_init.c:
https://review.coreboot.org/c/coreboot/+/84896/comment/ce2871be_a70457fb?us… :
PS1, Line 9: printk(BIOS_INFO, "%s irq uninit\n", __func__);
> Done
I made a new comment.
--
To view, visit https://review.coreboot.org/c/coreboot/+/84896?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I0e89a0ee75e574a4b9e8df0a0f6a5f6e03bba2d6
Gerrit-Change-Number: 84896
Gerrit-PatchSet: 3
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Runyang Chen <runyang.chen(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Runyang Chen <runyang.chen(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Wed, 30 Oct 2024 08:45:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Runyang Chen <runyang.chen(a)mediatek.corp-partner.google.com>
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Attention is currently required from: Hung-Te Lin, Xinxiong Xu, Yang Wu, Yidi Lin.
Yu-Ping Wu has posted comments on this change by Yang Wu. ( https://review.coreboot.org/c/coreboot/+/84924?usp=email )
Change subject: mb/google/rauru: Add new board variant Hylia
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/84924?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I79c4525347fd7b1ecea6df05e1a6b726b78e946f
Gerrit-Change-Number: 84924
Gerrit-PatchSet: 3
Gerrit-Owner: Yang Wu <wuyang5(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Xinxiong Xu <xuxinxiong(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Xinxiong Xu <xuxinxiong(a)huaqin.corp-partner.google.com>
Gerrit-Attention: Yang Wu <wuyang5(a)huaqin.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Wed, 30 Oct 2024 08:40:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Bora Guvendik, Cliff Huang, Jérémy Compostella, Pranava Y N.
Subrata Banik has posted comments on this change by Cliff Huang. ( https://review.coreboot.org/c/coreboot/+/84901?usp=email )
Change subject: soc/intel/common/gpio: add function to lock GPIO configuration
......................................................................
Patch Set 3:
(1 comment)
File src/soc/intel/common/block/gpio/gpio.c:
https://review.coreboot.org/c/coreboot/+/84901/comment/1bb2a68d_f6b996c1?us… :
PS3, Line 485: /* Clear lock for the exception PADs */
we won't be able to clear the locking after we reaches ramstage (after FSP-S exits)
--
To view, visit https://review.coreboot.org/c/coreboot/+/84901?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Iabe4e4b1d282a5f6cae8f330100c9139e0c2691d
Gerrit-Change-Number: 84901
Gerrit-PatchSet: 3
Gerrit-Owner: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Wed, 30 Oct 2024 08:37:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No