Attention is currently required from: Jason Glenesk, Raul Rangel, Martin L Roth, ritul guru, Marshall Dawson, Matt DeVillier, Paul Menzel, Arthur Heymans, Fred Reitberger.
Hello build bot (Jenkins), Jason Glenesk, Raul Rangel, Marshall Dawson, Matt DeVillier, Fred Reitberger, Felix Held,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/65523
to look at the new patch set (#16).
Change subject: soc/amd/common/psp: Support PSP SMI handler
......................................................................
soc/amd/common/psp: Support PSP SMI handler
Enable optional support for registering an SMI handler for PSP
SPI flash read/write/erase operation requests.
The PSP SMI needs to be configured before the PSP can actually
issue SMI after being informed of the SMI trigger info via the
SMM_INFO command.
See AMD document 55570 revision 3.16 for additional details.
The PSP will not trigger SMI until informed via the SMM area
buffer that SMM requests are ready to be served.
See AMD document 55758 revision 2.00 for additional details.
Change-Id: Ie1f4646101b90bc52c492f35fd26e6ca1e496142
Signed-off-by: Ritul Guru <ritul.bits(a)gmail.com>
---
M src/soc/amd/common/block/include/amdblocks/psp.h
M src/soc/amd/common/block/include/amdblocks/smi.h
M src/soc/amd/common/block/include/amdblocks/spi.h
M src/soc/amd/common/block/psp/Kconfig
M src/soc/amd/common/block/psp/Makefile.inc
M src/soc/amd/common/block/psp/psp_def.h
M src/soc/amd/common/block/psp/psp_gen2.c
A src/soc/amd/common/block/psp/psp_smi.c
M src/soc/amd/common/block/psp/psp_smm.c
M src/soc/amd/common/block/smi/smi_util.c
M src/soc/amd/common/block/spi/Kconfig
M src/soc/amd/picasso/smihandler.c
M src/soc/amd/stoneyridge/include/soc/smi.h
13 files changed, 612 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/65523/16
--
To view, visit https://review.coreboot.org/c/coreboot/+/65523
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie1f4646101b90bc52c492f35fd26e6ca1e496142
Gerrit-Change-Number: 65523
Gerrit-PatchSet: 16
Gerrit-Owner: ritul guru <ritul.bits(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: ritul guru <ritul.bits(a)gmail.com>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Wilson Chou, Marc Jones, Jonathan Zhang, Ryback Hung, Johnny Lin, Paul Menzel, Tim Wawrzynczak, Shuming Chu (Shuming).
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/67264 )
Change subject: device: Clear lane error status
......................................................................
Patch Set 3:
(6 comments)
Patchset:
PS2:
> We need to clear lane error status after (last) link training triggered by coreboot. […]
Thanks. Could we make it part of pciexp_retrain_link() then?
File src/device/pciexp_device.c:
https://review.coreboot.org/c/coreboot/+/67264/comment/39a03b74_7c0a83db
PS2, Line 546: if (reg32 != 0) {
You can avoid the indentation with early returns, e.g.
```
pos = ...
if (pos == 0)
return;
reg32 = ...
if (reg32 == 0)
return;
```
https://review.coreboot.org/c/coreboot/+/67264/comment/a564db0a_11dfbea9
PS2, Line 548: int bus_num, device_num;
: bus_num = dev->bus->secondary;
: device_num = dev->path.pci.devfn;
: printk(BIOS_DEBUG, "bus = 0x%x dev = 0x%x\n", bus_num, device_num);
Please use dev_path().
https://review.coreboot.org/c/coreboot/+/67264/comment/b6258a80_2bb8d4c0
PS2, Line 552: printk(BIOS_DEBUG, "pciexp_find_extended_cap = 0x%x\n", pos);
This is probably something to put inside pciexp_find_extended_cap(), if
we want to keep it.
File src/include/device/pci_def.h:
https://review.coreboot.org/c/coreboot/+/67264/comment/628c64fa_c6cb0a38
PS2, Line 104: #define PCI_SECONDARY_BUS 0x19 /* Secondary bus number */
This is (as the comment above says) an offset in type 1 configuration
headers. It only shares the number by coincidence.
https://review.coreboot.org/c/coreboot/+/67264/comment/a2651f3b_b866d1d3
PS2, Line 465: #define PCI_EXT_CAP_ID_VNDR 0x0b
Please add a new define here. See /usr/include/pci/header.h for reference.
The offsets within the capability should have there own block below.
--
To view, visit https://review.coreboot.org/c/coreboot/+/67264
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6344223636409d8fc25e365a6375fc81e69f41a5
Gerrit-Change-Number: 67264
Gerrit-PatchSet: 3
Gerrit-Owner: Wilson Chou <wilson.chou%quantatw.com(a)gtempaccount.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Reviewer: Ryback Hung <ryback.hung(a)quantatw.com>
Gerrit-Reviewer: Shuming Chu (Shuming) <s1218944(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Wilson Chou <wilson.chou%quantatw.com(a)gtempaccount.com>
Gerrit-Attention: Marc Jones <marc(a)marcjonesconsulting.com>
Gerrit-Attention: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Attention: Ryback Hung <ryback.hung(a)quantatw.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Shuming Chu (Shuming) <s1218944(a)gmail.com>
Gerrit-Comment-Date: Fri, 02 Sep 2022 11:17:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Jonathan Zhang <jonzhang(a)fb.com>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Dtrain Hsu, Tim Wawrzynczak, Ricky Chang.
Sumeet R Pawnikar has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/67314 )
Change subject: mb/google/brya/var/kinox: Update the DPTF parameters and fan table
......................................................................
Patch Set 2:
(1 comment)
File src/mainboard/google/brya/variants/kinox/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/67314/comment/fe5a1eb7_c5bbd1d5
PS2, Line 160: 97
Any reason for these Critical temperature values change ? Did you observe that system is hitting the previous value 93C and system getting shutdown ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/67314
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I751bc5442f64428c383034755cd5d74fbd0ea91e
Gerrit-Change-Number: 67314
Gerrit-PatchSet: 2
Gerrit-Owner: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Comment-Date: Fri, 02 Sep 2022 10:13:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak, Sumeet R Pawnikar, Ricky Chang.
Dtrain Hsu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/67314 )
Change subject: mb/google/brya/var/kinox: Update the DPTF parameters and fan table
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Hi Sumeet,
Would you help to review? Thank you.
--
To view, visit https://review.coreboot.org/c/coreboot/+/67314
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I751bc5442f64428c383034755cd5d74fbd0ea91e
Gerrit-Change-Number: 67314
Gerrit-PatchSet: 2
Gerrit-Owner: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Attention: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Comment-Date: Fri, 02 Sep 2022 09:21:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak, Sumeet R Pawnikar, Ricky Chang.
Dtrain Hsu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/67307 )
Change subject: mb/google/brya/var/kinox: Modify fan speed/duty table
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Hi Sumeet and Tim,
Would you help to review? Thank you.
--
To view, visit https://review.coreboot.org/c/coreboot/+/67307
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id5e885b96624d5fc31f1d42e3582c3ab01e08458
Gerrit-Change-Number: 67307
Gerrit-PatchSet: 2
Gerrit-Owner: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Reviewer: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Attention: Ricky Chang <rickytlchang(a)google.com>
Gerrit-Comment-Date: Fri, 02 Sep 2022 09:21:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Raul Rangel, Jason Nien, Martin Roth, Tim Van Patten, Karthikeyan Ramasubramanian.
EricKY Cheng has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/67209 )
Change subject: mb/google/skyrim/var/winterhold: Add gpio override settings
......................................................................
Patch Set 5:
(4 comments)
File src/mainboard/google/skyrim/variants/winterhold/gpio.c:
https://review.coreboot.org/c/coreboot/+/67209/comment/5a6a0ba9_9cf75897
PS4, Line 10: // NC
> Remove these extra comments. […]
Done
https://review.coreboot.org/c/coreboot/+/67209/comment/f50d3504_fbab0b3c
PS4, Line 16: SD_AUX_RESET_L
> nit: SD_AUX_RST_SOC_L (to match Glacier_Mendocino_FT6_SOC_GPIO_PM&Strap_20220815A)
Done
https://review.coreboot.org/c/coreboot/+/67209/comment/20fe5549_be399440
PS4, Line 22: /* CLK_REQ1_L / EMMC */
> How about this?
The REQ1 is for EMMC on winterhold
https://review.coreboot.org/c/coreboot/+/67209/comment/bd7111ed_b15ba639
PS4, Line 25: __weak
> You don't want to make this weak
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/67209
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2086c326cbf46ba6378d18d37dcbbe9fafa6b2bc
Gerrit-Change-Number: 67209
Gerrit-PatchSet: 5
Gerrit-Owner: EricKY Cheng <ericky_cheng(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Tim Van Patten <timvp(a)google.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Attention: Tim Van Patten <timvp(a)google.com>
Gerrit-Attention: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
Gerrit-Comment-Date: Fri, 02 Sep 2022 07:41:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Raul Rangel <rrangel(a)chromium.org>
Comment-In-Reply-To: Tim Van Patten <timvp(a)google.com>
Gerrit-MessageType: comment