Attention is currently required from: Raul Rangel, Karthik Ramasubramanian, Felix Held.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56499 )
Change subject: mb/google/guybrush: Update GPIOs for fingerprint
......................................................................
Patch Set 6:
(6 comments)
File src/mainboard/google/guybrush/mainboard.c:
https://review.coreboot.org/c/coreboot/+/56499/comment/b153a214_307448e1
PS2, Line 181:
> Nit: Extra indentation.
Done
File src/mainboard/google/guybrush/mainboard.c:
https://review.coreboot.org/c/coreboot/+/56499/comment/b8e7169a_f80b53dd
PS6, Line 181: variant_finalize_gpios();
> Nit: extra tab
Done
File src/mainboard/google/guybrush/variants/baseboard/gpio.c:
https://review.coreboot.org/c/coreboot/+/56499/comment/61014d24_a3d0d774
PS6, Line 69: /* EN_PWR_FP */
> Nit: Retain that comment/Pin Info
Done
https://review.coreboot.org/c/coreboot/+/56499/comment/7dcc4be1_5611ebdf
PS6, Line 358: /*
: * If the system is not resuming from S3, power off the FPMCU
: */
> Nit: Single line comment.
Done
https://review.coreboot.org/c/coreboot/+/56499/comment/3641b33b_b67478b4
PS6, Line 373: /* FPMCU_RST_L */
: PAD_NC(GPIO_11),
: /* EN_PWR_FP */
:
> Nit: Extra tabs
Done
https://review.coreboot.org/c/coreboot/+/56499/comment/bf0a0228_4ee09ceb
PS6, Line 386: gpio_set(GPIO_32, 1); /* EN_PWR_FP */
: mdelay(3);
> Since the EN_PWR_FP is already set HIGH at the start of ramstage, do we still need to reset it and d […]
Good call, no we can get rid of this now.
Done.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56499
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaae5feec60abb2480777d1f99174254c5132bb43
Gerrit-Change-Number: 56499
Gerrit-PatchSet: 6
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 11 Aug 2021 20:48:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel, Martin Roth, Felix Held.
Hello build bot (Jenkins), Paul Menzel, Karthik Ramasubramanian, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56499
to look at the new patch set (#7).
Change subject: mb/google/guybrush: Update GPIOs for fingerprint
......................................................................
mb/google/guybrush: Update GPIOs for fingerprint
Add mainboard finalize and shutdown call to match zork.
Deassert EN_PWR_FP in bootblock, power up correctly in finalize.
| Phase | SOC_FP_RST_L | EN_PWR_FP | S3 resume |
|-----------|--------------|-----------|----------------------|
| Bootblock | **Low** | **Low** | Maintain High / High |
| Romstage | Low | Low | Maintain High / High |
| Ramstage | Low | **High** | Maintain High / High |
| Finalize | **High** | High | |
| Shutdown | **Low** | **Low** | |
BUG=b:191694480
TEST=Build, verify GPIO configuration.
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
Change-Id: Iaae5feec60abb2480777d1f99174254c5132bb43
---
M src/mainboard/google/guybrush/mainboard.c
M src/mainboard/google/guybrush/variants/baseboard/gpio.c
M src/mainboard/google/guybrush/variants/baseboard/include/baseboard/variants.h
3 files changed, 46 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/56499/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/56499
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaae5feec60abb2480777d1f99174254c5132bb43
Gerrit-Change-Number: 56499
Gerrit-PatchSet: 7
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Raul Rangel, Martin Roth, Felix Held.
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56499 )
Change subject: mb/google/guybrush: Update GPIOs for fingerprint
......................................................................
Patch Set 6:
(6 comments)
File src/mainboard/google/guybrush/mainboard.c:
https://review.coreboot.org/c/coreboot/+/56499/comment/50ea45eb_69034fda
PS2, Line 181:
Nit: Extra indentation.
File src/mainboard/google/guybrush/mainboard.c:
https://review.coreboot.org/c/coreboot/+/56499/comment/cc6925e3_acb00ee6
PS6, Line 181: variant_finalize_gpios();
Nit: extra tab
File src/mainboard/google/guybrush/variants/baseboard/gpio.c:
https://review.coreboot.org/c/coreboot/+/56499/comment/215b0e16_6f1fcb41
PS6, Line 69: /* EN_PWR_FP */
Nit: Retain that comment/Pin Info
https://review.coreboot.org/c/coreboot/+/56499/comment/fb50845d_a8d91c20
PS6, Line 358: /*
: * If the system is not resuming from S3, power off the FPMCU
: */
Nit: Single line comment.
https://review.coreboot.org/c/coreboot/+/56499/comment/96e0b548_6450fb06
PS6, Line 373: /* FPMCU_RST_L */
: PAD_NC(GPIO_11),
: /* EN_PWR_FP */
:
Nit: Extra tabs
https://review.coreboot.org/c/coreboot/+/56499/comment/b404a688_fec3c65a
PS6, Line 386: gpio_set(GPIO_32, 1); /* EN_PWR_FP */
: mdelay(3);
Since the EN_PWR_FP is already set HIGH at the start of ramstage, do we still need to reset it and do we still need the delay?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56499
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaae5feec60abb2480777d1f99174254c5132bb43
Gerrit-Change-Number: 56499
Gerrit-PatchSet: 6
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 11 Aug 2021 20:30:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Jason Glenesk, Raul Rangel, Martin Roth, Marshall Dawson, Felix Held.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56919 )
Change subject: soc/amd/common: Skip psp_verstage on S0i3 resume
......................................................................
Patch Set 1:
(1 comment)
File src/soc/amd/common/psp_verstage/psp_verstage.c:
https://review.coreboot.org/c/coreboot/+/56919/comment/44b2b7a4_41218cb3
PS1, Line 205: Currently, we want to skip running verstage on all S0i3 resumes. This relies
: on an assumption that the PSP will be checksumming all of its components.
If verstage must not run on S0i3 resume, then I would expect PSP BL to not load this component at all. Why verify and load this component when it is not going to do anything?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56919
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia7b2560ff3d7621922ec4bc0e8793961f5d7550f
Gerrit-Change-Number: 56919
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 11 Aug 2021 20:17:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56919 )
Change subject: soc/amd/common: Skip psp_verstage on S0i3 resume
......................................................................
soc/amd/common: Skip psp_verstage on S0i3 resume
BUG=b:177064859
TEST:Verify that S0i3 doesn't run on S0i3 resume
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
Change-Id: Ia7b2560ff3d7621922ec4bc0e8793961f5d7550f
---
M src/soc/amd/common/psp_verstage/psp_verstage.c
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/56919/1
diff --git a/src/soc/amd/common/psp_verstage/psp_verstage.c b/src/soc/amd/common/psp_verstage/psp_verstage.c
index 5c59c4f..98df0a6 100644
--- a/src/soc/amd/common/psp_verstage/psp_verstage.c
+++ b/src/soc/amd/common/psp_verstage/psp_verstage.c
@@ -200,6 +200,13 @@
{
uint32_t retval;
struct vb2_context *ctx = NULL;
+ uint32_t bootmode = 0;
+
+ /* Currently, we want to skip running verstage on all S0i3 resumes. This relies
+ on an assumption that the PSP will be checksumming all of its components. */
+ svc_get_boot_mode(&bootmode);
+ if (bootmode == PSP_BOOT_MODE_S0i3_RESUME)
+ svc_exit(0);
/*
* Do not use printk() before console_init()
--
To view, visit https://review.coreboot.org/c/coreboot/+/56919
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia7b2560ff3d7621922ec4bc0e8793961f5d7550f
Gerrit-Change-Number: 56919
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange
Attention is currently required from: Furquan Shaikh, Sumeet R Pawnikar, Karthik Ramasubramanian.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56915 )
Change subject: mb/google/brya: set PL4 value dynamically for thermal
......................................................................
Patch Set 1:
(2 comments)
File src/mainboard/google/brya/variants/baseboard/brya/ramstage.c:
https://review.coreboot.org/c/coreboot/+/56915/comment/233c0311_5091f71f
PS1, Line 29: struct soc_power_limits_config *soc_config;
: config_t *conf = config_of_soc();
: soc_config = conf->power_limits_config;
nit: this can go down below line 37, and be simplified to:
```
struct soc_power_limits_config *soc_config = config_of_soc()->power_limits_config;
soc_config->tdp_pl4...
```
https://review.coreboot.org/c/coreboot/+/56915/comment/ec813f10_a886666e
PS1, Line 43: DPTF
DPTF does not control PL4, so I would drop that acronym here.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56915
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I20b98ccd8493ed238de647cda8ceb25f62029133
Gerrit-Change-Number: 56915
Gerrit-PatchSet: 1
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Wed, 11 Aug 2021 19:08:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment