Hello Daisuke Nojiri, Patrick Georgi,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31585
to look at the new patch set (#2).
Change subject: ec/google/chromeec: fix the error status handling
......................................................................
ec/google/chromeec: fix the error status handling
Various instances of google_chromeec_command() can return non-zero number
(both positive and negative) to indicate error, which causes confusion
for the caller. This patch attempts to address the issue by using only
negative number for errors.
In addition, the patch modifies some callers of google_chromeec_command()
such as cbi_get_uint32() and cbi_get_string() so they check the return
error status the same way as the rest of the callers.
BUG=b:123676982,chromium:935038
BRANCH=kukui
TEST=build with kukui/flapjack configurations
Signed-off-by: YH Lin <yueherngl(a)google.com>
Change-Id: I7f0a8a61d01d942cba57036a17dd527fdbbf940c
---
M src/ec/google/chromeec/crosec_proto.c
M src/ec/google/chromeec/ec.c
M src/ec/google/chromeec/ec_i2c.c
M src/ec/google/chromeec/ec_lpc.c
4 files changed, 14 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/31585/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/31585
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7f0a8a61d01d942cba57036a17dd527fdbbf940c
Gerrit-Change-Number: 31585
Gerrit-PatchSet: 2
Gerrit-Owner: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Daisuke Nojiri <dnojiri(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Hello Nick Sanders, Daisuke Nojiri, You-Cheng Syu, Hung-Te Lin,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31586
to look at the new patch set (#2).
Change subject: flapjack: get sku_id from ec (cbi)
......................................................................
flapjack: get sku_id from ec (cbi)
On flapjack, retrieve the board information via CBI interface.
Also reserving 0x2 sku_id for the case of un-provisioned board as this is the id
used prior to the readiness of cbi.
BUG=b:123676982
BRANCH=kukui
TEST=provisioned cbi info and verify the sku_id.
Signed-off-by: YH Lin <yueherngl(a)google.com>
Change-Id: Iad7a52df38e2045abbdded8ba0a1f1544de961fc
---
M src/mainboard/google/kukui/boardid.c
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/31586/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/31586
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iad7a52df38e2045abbdded8ba0a1f1544de961fc
Gerrit-Change-Number: 31586
Gerrit-PatchSet: 2
Gerrit-Owner: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Daisuke Nojiri <dnojiri(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Nick Sanders <nsanders(a)chromium.org>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: You-Cheng Syu <youcheng(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newpatchset
Daisuke Nojiri has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31586 )
Change subject: flapjack: get sku_id from ec (cbi)
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/31586/1//COMMIT_MSG
Commit Message:
PS1:
Can you also mention unprovisioned boards will return 2 with or without this change?
--
To view, visit https://review.coreboot.org/c/coreboot/+/31586
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iad7a52df38e2045abbdded8ba0a1f1544de961fc
Gerrit-Change-Number: 31586
Gerrit-PatchSet: 1
Gerrit-Owner: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Daisuke Nojiri <dnojiri(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Nick Sanders <nsanders(a)chromium.org>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: You-Cheng Syu <youcheng(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Mon, 25 Feb 2019 18:56:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Daisuke Nojiri has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31586 )
Change subject: flapjack: get sku_id from ec (cbi)
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/31586
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iad7a52df38e2045abbdded8ba0a1f1544de961fc
Gerrit-Change-Number: 31586
Gerrit-PatchSet: 1
Gerrit-Owner: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Daisuke Nojiri <dnojiri(a)chromium.org>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Nick Sanders <nsanders(a)chromium.org>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: You-Cheng Syu <youcheng(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Mon, 25 Feb 2019 18:55:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Daisuke Nojiri has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31585 )
Change subject: ec/google/chromeec: fix the error status passing for cbi
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/31585/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/31585/1//COMMIT_MSG@8
PS1, Line 8:
: google_chromeec_command() can return non-zero number (both positive
: and negative) to indicate error.
> Hmmm. Other than the places being modified, all seem to be checking for non-zero as error. […]
I suggest we define/discuss the return values at https://bugs.chromium.org/p/chromium/issues/detail?id=935038.
--
To view, visit https://review.coreboot.org/c/coreboot/+/31585
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7f0a8a61d01d942cba57036a17dd527fdbbf940c
Gerrit-Change-Number: 31585
Gerrit-PatchSet: 1
Gerrit-Owner: YH Lin <yueherngl(a)google.com>
Gerrit-Reviewer: Daisuke Nojiri <dnojiri(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: YH Lin <yueherngl(a)google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Mon, 25 Feb 2019 17:53:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)users.sourceforge.net>
Comment-In-Reply-To: YH Lin <yueherngl(a)google.com>
Gerrit-MessageType: comment
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29579 )
Change subject: src/arch/x86/acpi.c: Update ACPI table's revision numbers
......................................................................
Patch Set 5: Code-Review+1
I don't have the latest ACPI specs, so I can't revise the numbers you are placing. Other than that, looks good to me.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29579
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I22020bd156536ee8f23a267d7c7b2d7af6c7cfeb
Gerrit-Change-Number: 29579
Gerrit-PatchSet: 5
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Mon, 25 Feb 2019 15:37:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Werner Zeh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29563 )
Change subject: security/tpm: Fix TCPA log feature
......................................................................
Patch Set 49:
(1 comment)
https://review.coreboot.org/#/c/29563/43/util/cbmem/cbmem.c
File util/cbmem/cbmem.c:
https://review.coreboot.org/#/c/29563/43/util/cbmem/cbmem.c@687
PS43, Line 687: static void dump_tcpa_log(void)
> Ther is already a function which is very similar: tcpa_log_dump() in tspi/log.c […]
Sorry, my fault. Different codebase.
Ignore this comment.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29563
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic93133531b84318f48940d34bded48cbae739c44
Gerrit-Change-Number: 29563
Gerrit-PatchSet: 49
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: David Hendricks <david.hendricks(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Rudolph
Gerrit-CC: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Mon, 25 Feb 2019 13:58:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-MessageType: comment