Martin Roth has posted comments on this change. ( https://review.coreboot.org/28119 )
Change subject: google/grunt: Update TP/TS/H1 i2c timings
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/28119
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9eeaf9290d95969a283f14618878e28faf0ea46f
Gerrit-Change-Number: 28119
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Chiu <Kevin.Chiu(a)quantatw.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kevin Chiu <kevin.chiu(a)quanta.corp-partner.google.com>
Gerrit-Comment-Date: Thu, 16 Aug 2018 15:01:24 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
Raul Rangel has posted comments on this change. ( https://review.coreboot.org/28100 )
Change subject: libpayload/x86/exception: Add ability to handle user defined interrupts
......................................................................
Patch Set 2:
(3 comments)
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/except…
File payloads/libpayload/arch/x86/exception.c:
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/except…
PS1, Line 165: /* Handle user defined vectors */
> Not opposed to adding this capability in general, but I don't think it would be a good fit for the A […]
Ah, I haven't tested with a gdb build yet, so I haven't seen it break. In the spirit of separation of concerns, I would like to avoid hard coding the interrupt number here. Instead of having a linked list for exception_install_hook. What if we kept a lookup table of handlers and added anew method set_interrupt_handler(void (*handler)(u32 vector)). This way we don't need to iterate over all the hooks checking the return status and we don't get into cases where we have two hooks that handle the same interrupt.
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/except…
PS1, Line 167: die_if(!hook || !hook(vec),
> I don't think this does what you want, since even if hook(vec) returns true, you'll keep running thr […]
lol, thanks. I had it there originally, but when I went to make the commit, I forgot why I had it and removed it.
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/except…
File payloads/libpayload/arch/x86/exception_asm.S:
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/except…
PS1, Line 73: stub \from
: .if \to-\from
> You might want to just review tabs/spaces in the changes
good catch
--
To view, visit https://review.coreboot.org/28100
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id9c2583c7c3d9be4a06a25e546e64399f2b0620c
Gerrit-Change-Number: 28100
Gerrit-PatchSet: 2
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Julius Werner <jwerner(a)chromium.org>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Thu, 16 Aug 2018 14:38:20 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28100
to look at the new patch set (#2).
Change subject: libpayload/x86/exception: Add ability to handle user defined interrupts
......................................................................
libpayload/x86/exception: Add ability to handle user defined interrupts
I need to setup the APIC timer to fire interrupts. I would like to reuse
the existing interrupt table. So I extended it to support user defined
interrupts. I just added all 255 vectors so there wouldn't need to be
any additional build time configuration.
BUG=b:109749762
TEST=Wrote an interrupt handler and fired an APIC timer interrupt and
verified that vector 32 was returned.
Change-Id: Id9c2583c7c3d9be4a06a25e546e64399f2b0620c
Signed-off-by: Raul E Rangel <rrangel(a)chromium.org>
---
M payloads/libpayload/arch/x86/exception.c
M payloads/libpayload/arch/x86/exception_asm.S
2 files changed, 35 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/28100/2
--
To view, visit https://review.coreboot.org/28100
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id9c2583c7c3d9be4a06a25e546e64399f2b0620c
Gerrit-Change-Number: 28100
Gerrit-PatchSet: 2
Gerrit-Owner: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Julius Werner <jwerner(a)chromium.org>
Gerrit-CC: Martin Roth <martinroth(a)google.com>
Randall Spangler has posted comments on this change. ( https://review.coreboot.org/28085 )
Change subject: security/tpm: Fix TPM 1.2 state machine issues
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/#/c/28085/3/src/drivers/tpm/tpm.c
File src/drivers/tpm/tpm.c:
https://review.coreboot.org/#/c/28085/3/src/drivers/tpm/tpm.c@35
PS3, Line 35: if (result == TPM_E_MUST_REBOOT)
: do_global_reset();
If the TPM is in a bad state, you could get stuck rebooting here forever.
This may break Chrome OS recovery mode, which explicitly ignores TPM errors.
--
To view, visit https://review.coreboot.org/28085
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ided110e0c1889b302e29acac6d8d2341f97eb10b
Gerrit-Change-Number: 28085
Gerrit-PatchSet: 3
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Randall Spangler <randall(a)spanglers.com>
Gerrit-Reviewer: Vadim Bendebury <vbendeb(a)chromium.org>
Gerrit-Reviewer: Vadim Bendebury <vbendeb(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Comment-Date: Thu, 16 Aug 2018 14:29:36 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28104
to look at the new patch set (#8).
Change subject: lib/fit_payload: Add coreboot tables support for FDT.
......................................................................
lib/fit_payload: Add coreboot tables support for FDT.
* Copy code of depthcharge boot/coreboot.c
and modify it.
* Add const to last parameter of dt_add_string_prop
function.
Change-Id: Ib714a021a24f51407558f484cd97aa58ecd43977
Signed-off-by: Philipp Deppenwiese <zaolin(a)das-labor.org>
---
M src/include/device_tree.h
M src/lib/device_tree.c
M src/lib/fit_payload.c
3 files changed, 76 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/28104/8
--
To view, visit https://review.coreboot.org/28104
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib714a021a24f51407558f484cd97aa58ecd43977
Gerrit-Change-Number: 28104
Gerrit-PatchSet: 8
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Julius Werner <jwerner(a)chromium.org>
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/28117 )
Change subject: sandybridge/raminit_common.c: fix printram statement
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
This fix is fine ofcourse, but the proper fix would be to replace all references to printram with printk(RAM_DEBUG, ...) or printk(RAM_SPEW, ...) in which case the code still gets compile tested.
https://review.coreboot.org/#/c/28117/1/src/northbridge/intel/sandybridge/r…
File src/northbridge/intel/sandybridge/raminit_common.c:
https://review.coreboot.org/#/c/28117/1/src/northbridge/intel/sandybridge/r…
PS1, Line 210: printram(
You avoid these problems with printk(RAM_DEBUG/RAM_SPEW, ...) instead of using preprocessor dependent printram.
--
To view, visit https://review.coreboot.org/28117
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iddea8cc71dc1fb33d46b22dd19e39bf1c1257555
Gerrit-Change-Number: 28117
Gerrit-PatchSet: 1
Gerrit-Owner: Iru Cai <mytbk920423(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 16 Aug 2018 08:56:13 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes