Attention is currently required from: Arthur Heymans, Benjamin Doron, Nico Huber, Paul Menzel.
Maximilian Brune has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75712?usp=email )
Change subject: arch/x86/tables.c: Drop placing ACPI and SMBIOS in lower memory
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/75712?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I216e7c713d112ad1012b0beaf26196967988b951
Gerrit-Change-Number: 75712
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Sun, 11 Jun 2023 21:32:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Felix Held, Jason Glenesk, Jason Nien, Karthik Ramasubramanian, Martin Roth, Paul Menzel.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75698?usp=email )
Change subject: mb/google/skyrim: Use CMOS bit to toggle ABL WA for Hynix DRAM
......................................................................
Patch Set 3:
(5 comments)
File src/mainboard/google/skyrim/bootblock.c:
https://review.coreboot.org/c/coreboot/+/75698/comment/c93a78b6_aa7874d8 :
PS2, Line 17: 18
> Agreed - I was more thinking about creating the cbi_part_number array though.
I'm using the full length allowed the SPD spec for the cbi_part_number array, which is 33 bytes, so no concern there
https://review.coreboot.org/c/coreboot/+/75698/comment/188732d8_ae32f282 :
PS2, Line 43: /* If problematic Hynix module, ensure bit set */
> I think if we're worried about it, we should get rid of most of the log messages. […]
they're all filtered on SPEW level already, so do we really care if there are too many?
https://review.coreboot.org/c/coreboot/+/75698/comment/1253eae1_4627e8ea :
PS2, Line 94: hynix_dram_cmos_check();
> YAGNI. […]
I'm perfectly happy to just restict this to just FF, adding another Kconfig seems unnecessary
File src/mainboard/google/skyrim/bootblock.c:
https://review.coreboot.org/c/coreboot/+/75698/comment/558ffd93_082cdaf7 :
PS3, Line 32: google_chromeec_cbi_get_dram_part_num
> Part of the reason I was asking for the termination byte for the string is just because I don't have […]
since it's passed directly to the EC via a host cmd, it appears it would overflow if too short. cbi_get_string() ensures it's null-terminated
https://review.coreboot.org/c/coreboot/+/75698/comment/21d6f62f_2c9d2d4c :
PS3, Line 35: return;
> Should we clear the cmos bit in this case? Can we assume that if there's an error here, the bad hyni […]
I think there are reasonable arguments for leaving it and for clearing it. I don't have a preference either way
--
To view, visit https://review.coreboot.org/c/coreboot/+/75698?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibb6e145f6cdba7270e0a322ef414bf1cb09c5eaa
Gerrit-Change-Number: 75698
Gerrit-PatchSet: 3
Gerrit-Owner: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 11 Jun 2023 21:14:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-MessageType: comment
Attention is currently required from: Felix Held, Jason Glenesk, Jason Nien, Karthik Ramasubramanian, Matt DeVillier, Paul Menzel.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75698?usp=email )
Change subject: mb/google/skyrim: Use CMOS bit to toggle ABL WA for Hynix DRAM
......................................................................
Patch Set 3:
(6 comments)
File src/mainboard/google/skyrim/bootblock.c:
https://review.coreboot.org/c/coreboot/+/75698/comment/8412a6a3_bbfd6d1b :
PS2, Line 17: 18
> I'm not sure that matters for strncmp
Agreed - I was more thinking about creating the cbi_part_number array though.
https://review.coreboot.org/c/coreboot/+/75698/comment/788154f9_d0a6d28d :
PS2, Line 41: strncmp
> we don't seem to have the case-insensitive version in coreboot currently
Acknowledged
https://review.coreboot.org/c/coreboot/+/75698/comment/00521551_8a41fb3e :
PS2, Line 43: /* If problematic Hynix module, ensure bit set */
> Most of the comments could be dropped, as they are redundant to the code or the same thing is set by […]
I think if we're worried about it, we should get rid of most of the log messages. If we want to know the DRAM part number, this isn't the right place to print it - that'd be in something that's run on every chromeos platform that stores the part number in CBI.
Other than that, the only log message we really need is when the bit is set or cleared - the no-change messages are implied if you don't see one of the others.
https://review.coreboot.org/c/coreboot/+/75698/comment/32fb858a_973d7f09 :
PS2, Line 94: hynix_dram_cmos_check();
> Karthik requested that we not restrict to FF, in case another variant picked up the same memory part […]
YAGNI.
So let's add a Kconfig value stating whether to check or not. It's a waste of time to check whether the system is using that memory on boards that simply don't use it. We can use that same Kconfig to see which RAMID that value is on if it's supported.
-1 = don't check.
0-15 = ram ID to check
Something like this example code:
```
config CHECK_FOR_H9JCNNNCP3MLYR-N6E
int
default 2 if BOARD_FROSTFLOW
default -1
help
Enable checking for H9JCNNNCP3MLYR-N6E DRAM
```
If there's still concern, we can add a makefile function that greps through each boards' memory config for the faulty memory and throws a build-time error if it's there, but this value is set to -1.
File src/mainboard/google/skyrim/bootblock.c:
https://review.coreboot.org/c/coreboot/+/75698/comment/8a7de190_d7af776f :
PS3, Line 32: google_chromeec_cbi_get_dram_part_num
Part of the reason I was asking for the termination byte for the string is just because I don't have a good idea of what this function does. Does this truncate the part number, or return an error if the supplied buffer isn't large enough? Is the termination part of the size or not?
This seems like a function where a pointer should be returned instead of having the calling function make a buffer. It's very ambiguous this way.
https://review.coreboot.org/c/coreboot/+/75698/comment/c3031c59_c71cf37e :
PS3, Line 35: return;
Should we clear the cmos bit in this case? Can we assume that if there's an error here, the bad hynix memory is not being used? Clearing it seems better than leaving it in an unknown state.
--
To view, visit https://review.coreboot.org/c/coreboot/+/75698?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibb6e145f6cdba7270e0a322ef414bf1cb09c5eaa
Gerrit-Change-Number: 75698
Gerrit-PatchSet: 3
Gerrit-Owner: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sun, 11 Jun 2023 20:57:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-MessageType: comment
Attention is currently required from: Stefan Reinauer.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75783?usp=email )
Change subject: Switch gitconfig.sh over to use main branch
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/75783?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iea1a7e61b60c4bf04be2fed9c503eaf7e20fe462
Gerrit-Change-Number: 75783
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Jun 2023 20:53:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Stefan Reinauer.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75782?usp=email )
Change subject: Switch scripts over to use main branch
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/75782?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I90fadf2352d56074ce8b58d559a73b0c53fac14b
Gerrit-Change-Number: 75782
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Jun 2023 20:52:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Stefan Reinauer.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75781?usp=email )
Change subject: Switch jenkins node over to use encapsulate main branch
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/75781?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I493acb4de615508b08826f814ef6ac1b37cbdf0c
Gerrit-Change-Number: 75781
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Comment-Date: Sun, 11 Jun 2023 20:50:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment