Attention is currently required from: Francois Toguo Fotso, Tim Wawrzynczak, Paul Menzel, Patrick Rudolph.
Curtis Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59951 )
Change subject: soc/intel/common: Do not trigger crashlog on all resets by default
......................................................................
Patch Set 3:
(1 comment)
File src/soc/intel/alderlake/Kconfig:
https://review.coreboot.org/c/coreboot/+/59951/comment/88efb70a_a6a9945d
PS2, Line 332: def_bool n
: help
: Enable PMC reset crashlog record.
> It's followed by the above config SOC_INTEL_CRASHLOG in the same file. […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/59951
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3ec4ff3c8a3799156de030f4556fe6ce61305139
Gerrit-Change-Number: 59951
Gerrit-PatchSet: 3
Gerrit-Owner: Curtis Chen <curtis.chen(a)intel.com>
Gerrit-Reviewer: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kane Chen <kane.chen(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Tue, 14 Dec 2021 09:55:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Curtis Chen <curtis.chen(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: Francois Toguo Fotso, Tim Wawrzynczak, Paul Menzel, Patrick Rudolph.
Hello build bot (Jenkins), Francois Toguo Fotso, Tim Wawrzynczak, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59951
to look at the new patch set (#3).
Change subject: soc/intel/common: Do not trigger crashlog on all resets by default
......................................................................
soc/intel/common: Do not trigger crashlog on all resets by default
Crashlog has error records and PMC reset records two parts. When we
send ipc cmd "PMC_IPC_CMD_ID_CRASHLOG_ON_RESET", PMC reset record is
enabled. At each warm/cold/global reset, crashlog would be triggered.
The cause of this crash would be "TRIGGER_ON_ALL_RESETS", it is used to
catch unknown reset reason. At the same time, we would see [Hardware
Error] in the kernel log.
If we default enable TRIGGER_ON_ALL_RESETS, we would have too many false
alarm. Now we disable PMC reset records part by default. And we could
enable it when we need it for the debug purpose.
The generated bert dump is under /var/spool/crash/, we could check this
path to verify this CONFIG disable/enable status.
BUG=b:202737385
TEST=No new bert dump after reset.
Signed-off-by: Curtis Chen <curtis.chen(a)intel.com>
Change-Id: I3ec4ff3c8a3799156de030f4556fe6ce61305139
---
M src/soc/intel/alderlake/Kconfig
M src/soc/intel/common/Kconfig.common
M src/soc/intel/common/block/crashlog/crashlog.c
M src/soc/intel/tigerlake/Kconfig
4 files changed, 16 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/59951/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/59951
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3ec4ff3c8a3799156de030f4556fe6ce61305139
Gerrit-Change-Number: 59951
Gerrit-PatchSet: 3
Gerrit-Owner: Curtis Chen <curtis.chen(a)intel.com>
Gerrit-Reviewer: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Kane Chen <kane.chen(a)intel.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Francois Toguo Fotso <francois.toguo.fotso(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Dmitry Ponamorev, Mariusz Szafrański, Suresh Bellampalli, Vanessa Eusebio, Michal Motyl, Kyösti Mälkki, Patrick Rudolph, King Sumo.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/57194 )
Change subject: mb/teleplatforms/D4E4S16P8: Add new CRB teleplatforms/D4E4S16P8
......................................................................
Patch Set 21: Code-Review+1
(15 comments)
File src/mainboard/teleplatforms/D4E4S16P8/Kconfig:
https://review.coreboot.org/c/coreboot/+/57194/comment/5dc2d82e_0c73d136
PS21, Line 17: string
Not needed since CB:56553
https://review.coreboot.org/c/coreboot/+/57194/comment/75843fb4_7f737f20
PS21, Line 21: string
Not needed since CB:56554
https://review.coreboot.org/c/coreboot/+/57194/comment/062583d3_edf7b5f8
PS21, Line 24: config MAINBOARD_VENDOR
: string
: default "teleplatforms"
Already set in `src/mainboard/teleplatforms/Kconfig`
File src/mainboard/teleplatforms/D4E4S16P8/acpi/mainboard.asl:
https://review.coreboot.org/c/coreboot/+/57194/comment/927b4144_27861e89
PS21, Line 5: Device (PWRB)
: {
: Name(_HID, EisaId("PNP0C0C"))
:
: // Wake
: Name(_PRW, Package(){0x1d, 0x05})
: }
This shouldn't be needed, see CB:27272
File src/mainboard/teleplatforms/D4E4S16P8/acpi/mainboard_pci_irqs.asl:
https://review.coreboot.org/c/coreboot/+/57194/comment/07d8f4cb_ab20fbbb
PS21, Line 3: board specific
Hmmm, doesn't seem to be that board-specific: the other two DNV-NS boards (scaleway/tagada and intel/harcuvar) have the exact same file.
File src/mainboard/teleplatforms/D4E4S16P8/acpi/thermal.asl:
PS21:
If there are no plans to add more stuff here, I'd drop the file.
File src/mainboard/teleplatforms/D4E4S16P8/acpi_tables.c:
https://review.coreboot.org/c/coreboot/+/57194/comment/e6f90832_756324b7
PS21, Line 13: /* Disable USB ports in S5 */
: gnvs->s5u0 = 0;
: gnvs->s5u1 = 0;
These values are only used with mainboard-specific SMI handlers and/or ACPI. They are otherwise meaningless and this could be dropped.
https://review.coreboot.org/c/coreboot/+/57194/comment/32db178a_0b3195ad
PS21, Line 17: /* TPM Present */
: gnvs->tpmp = 0;
Doesn't seem to be used anywhere in coreboot. Default is already zero, so I'd drop this.
File src/mainboard/teleplatforms/D4E4S16P8/ramstage.c:
https://review.coreboot.org/c/coreboot/+/57194/comment/b72e6c7d_7e30ea0c
PS21, Line 26: 0x56
EEPROM_ADDR
https://review.coreboot.org/c/coreboot/+/57194/comment/2b7b0b9d_caa80b50
PS21, Line 26: SMBUS_IO_BASE
Why not `smbus_base()`?
https://review.coreboot.org/c/coreboot/+/57194/comment/4fd11e75_825809dc
PS21, Line 28: tmp == 0x3f/*?*/
nit: you can use a character literal in the comparison:
tmp == `?`
https://review.coreboot.org/c/coreboot/+/57194/comment/b82a4521_85210708
PS21, Line 28: (tmp < 0x20 || tmp > 0x7f)
0x7f is DEL, which isn't printable. If you exclude it, the resulting check is the complement (negation) of `isprint()` from `src/include/ctype.h`.
https://review.coreboot.org/c/coreboot/+/57194/comment/50107993_dccbb59f
PS21, Line 30: memset(serial, 0, sizeof(serial));
: memcpy(serial, ERROR_STRING, sizeof(ERROR_STRING));
: return serial;
Why not simply `return ERROR_STRING;` instead?
https://review.coreboot.org/c/coreboot/+/57194/comment/034ea3b3_97ec4496
PS21, Line 43: unsigned int smbios_cpu_get_max_speed_mhz(void)
: {
: return 2400;
: }
:
: unsigned int smbios_cpu_get_current_speed_mhz(void)
: {
: return 2400;
: }
Hmmm, Intel says the Atom C3758 has a clock speed of 2200 MHz: https://ark.intel.com/content/www/us/en/ark/products/97926/intel-atom-proce…
File src/mainboard/teleplatforms/D4E4S16P8/romstage.c:
https://review.coreboot.org/c/coreboot/+/57194/comment/9c08cb8b_6c6d9583
PS20, Line 437: {SOUTH_GROUP0_CTBTRIGINOUT,
> Except for this, this is all copy-paste from intel/harcuvar. Some like eMMC below seems wrong. […]
Would be interesting to use the coreboot GPIO configuration mechanism instead, which scaleway/tagada uses. IMHO, it's significantly more readable.
--
To view, visit https://review.coreboot.org/c/coreboot/+/57194
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If654fc7a391643b50f2e52755fd7c11a37bfd188
Gerrit-Change-Number: 57194
Gerrit-PatchSet: 21
Gerrit-Owner: Dmitry Ponamorev <dponamorev(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Dmitry Ponamorev <dponamorev(a)gmail.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Mariusz Szafrański <mariuszx.szafranski(a)intel.com>
Gerrit-Reviewer: Michal Motyl <michalx.motyl(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Suresh Bellampalli <suresh.bellampalli(a)intel.com>
Gerrit-Reviewer: Vanessa Eusebio <vanessa.f.eusebio(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: King Sumo <kingsumos(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Dmitry Ponamorev <dponamorev(a)gmail.com>
Gerrit-Attention: Mariusz Szafrański <mariuszx.szafranski(a)intel.com>
Gerrit-Attention: Suresh Bellampalli <suresh.bellampalli(a)intel.com>
Gerrit-Attention: Vanessa Eusebio <vanessa.f.eusebio(a)intel.com>
Gerrit-Attention: Michal Motyl <michalx.motyl(a)intel.com>
Gerrit-Attention: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Attention: King Sumo <kingsumos(a)gmail.com>
Gerrit-Comment-Date: Tue, 14 Dec 2021 09:51:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak.
Hello build bot (Jenkins), Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/60101
to look at the new patch set (#3).
Change subject: mb/google/brya/var/primus: Update thermal table for primus
......................................................................
mb/google/brya/var/primus: Update thermal table for primus
- Beause primus have five sensors,we need to define 5 sensors.
BUG=b:200836803
TEST=USE="project_primus emerge-brya coreboot" and verify it builds
without error.
Signed-off-by: Ariel_Fang <ariel_fang(a)wistron.corp-partner.google.com>
Change-Id: I02fb8eee644f9999d9c5d48e3a056499d968f85d
---
M src/mainboard/google/brya/variants/primus/overridetree.cb
M src/mainboard/google/brya/variants/primus4es/overridetree.cb
2 files changed, 16 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/60101/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/60101
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I02fb8eee644f9999d9c5d48e3a056499d968f85d
Gerrit-Change-Number: 60101
Gerrit-PatchSet: 3
Gerrit-Owner: Ariel Fang <ariel_fang(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Casper Chang <casper_chang(a)wistron.corp-partner.google.com>
Gerrit-CC: Malik Hsu <malik_hsu(a)wistron.corp-partner.google.com>
Gerrit-CC: Mark Hsieh <mark_hsieh(a)wistron.corp-partner.google.com>
Gerrit-CC: Scott Chao <scott_chao(a)wistron.corp-partner.google.com>
Gerrit-CC: Terry Chen <terry_chen(a)wistron.corp-partner.google.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Malik Hsu, Nick Vaccaro.
Casper Chang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60071 )
Change subject: mb/google/brya/var/primus{4es}: Configure Acoustic noise mitigation
......................................................................
Patch Set 2:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/60071/comment/0cde4421_b3430aaa
PS1, Line 7: primus
> Sometimes we use shell-like glob sequences to indicate we are modifying more than one board, in this […]
Done
https://review.coreboot.org/c/coreboot/+/60071/comment/4e1989bc_ab863b8b
PS1, Line 8:
> Maybe mention that this was verified to meet the audible noise specification (or is still in testing […]
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/60071
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0e0baf78a841278efda912cc5e4e9970329aacf6
Gerrit-Change-Number: 60071
Gerrit-PatchSet: 2
Gerrit-Owner: Casper Chang <casper_chang(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Malik Hsu <malik_hsu(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Ariel Fang <ariel_fang(a)wistron.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Terry Chen <terry_chen(a)wistron.corp-partner.google.com>
Gerrit-Attention: Malik Hsu <malik_hsu(a)wistron.corp-partner.google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Comment-Date: Tue, 14 Dec 2021 09:25:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Malik Hsu, Nick Vaccaro, Casper Chang.
Hello build bot (Jenkins), Malik Hsu, Tim Wawrzynczak, Nick Vaccaro,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/60071
to look at the new patch set (#2).
Change subject: mb/google/brya/var/primus{4es}: Configure Acoustic noise mitigation
......................................................................
mb/google/brya/var/primus{4es}: Configure Acoustic noise mitigation
- Enable Acoustic noise mitigation
- Set slow slew rate VCCIA and VCCGT to 8
BUG=b:204844399
TEST=USE="project_primus emerge-brya coreboot" and verified
the setting meets the audible noise specification
Signed-off-by: Casper Chang <casper_chang(a)wistron.corp-partner.google.com>
Change-Id: I0e0baf78a841278efda912cc5e4e9970329aacf6
---
M src/mainboard/google/brya/variants/primus/overridetree.cb
M src/mainboard/google/brya/variants/primus4es/overridetree.cb
2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/60071/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/60071
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0e0baf78a841278efda912cc5e4e9970329aacf6
Gerrit-Change-Number: 60071
Gerrit-PatchSet: 2
Gerrit-Owner: Casper Chang <casper_chang(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Malik Hsu <malik_hsu(a)wistron.corp-partner.google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Ariel Fang <ariel_fang(a)wistron.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Terry Chen <terry_chen(a)wistron.corp-partner.google.com>
Gerrit-Attention: Malik Hsu <malik_hsu(a)wistron.corp-partner.google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Attention: Casper Chang <casper_chang(a)wistron.corp-partner.google.com>
Gerrit-MessageType: newpatchset