Attention is currently required from: Furquan Shaikh, Sumeet R Pawnikar, Zhuohao Lee, Aaron Durbin, Karthik Ramasubramanian.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56515 )
Change subject: mb/google/brya: create dynamic power limits mechanism for thermal
......................................................................
Patch Set 5:
(1 comment)
File src/mainboard/google/brya/variants/brya0/overridetree.cb:
https://review.coreboot.org/c/coreboot/+/56515/comment/cf5c93a8_7d900f0d
PS1, Line 30: field THERMAL 15 17
: option POWER_LIMITS_282 0
: option POWER_LIMITS_482 1
: option POWER_LIMITS_682 2
: end
> Sorry, let me reopen this thread for the discussion. […]
This is just for Brya0, each mainboard can set their own individual policies.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56515
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I86619516adeec13642f02ba7faf9fc4945ad774e
Gerrit-Change-Number: 56515
Gerrit-PatchSet: 5
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
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-CC: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Gerrit-Attention: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Attention: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Wed, 28 Jul 2021 19:58:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Sumeet R Pawnikar <sumeet.r.pawnikar(a)intel.com>
Comment-In-Reply-To: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-MessageType: comment
Tim Wawrzynczak has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56680 )
Change subject: mb/google/brya: Add overrideable variant_update_descriptor
......................................................................
mb/google/brya: Add overrideable variant_update_descriptor
Some variants may want to uniquely modify the descriptor region based on
their own criteria. Therefore add a weak function that variants can use
for this.
BUG=b:188577893
Change-Id: I1ac3b639b77855695aabac79a069b621554df707
Signed-off-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
---
M src/mainboard/google/brya/bootblock.c
M src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h
2 files changed, 9 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/56680/1
diff --git a/src/mainboard/google/brya/bootblock.c b/src/mainboard/google/brya/bootblock.c
index 4b655c0..23dfd01 100644
--- a/src/mainboard/google/brya/bootblock.c
+++ b/src/mainboard/google/brya/bootblock.c
@@ -20,6 +20,11 @@
#define FLASH_VAL_SIGN 0xFF0A55A
#define FLMSTR_WR_SHIFT_V2 20
+__weak bool variant_update_descriptor(uint8_t *desc)
+{
+ return false;
+}
+
/* It checks whether host(Flash Master 1) has write access to the Descriptor Region or not */
static int is_descriptor_writeable(uint8_t *desc)
{
@@ -80,7 +85,7 @@
if (!read_descriptor(&desc_rdev, si_desc_buf) || !is_descriptor_writeable(si_desc_buf))
return;
- if (!update_for_a0(si_desc_buf))
+ if (!update_for_a0(si_desc_buf) && !variant_update_descriptor(si_desc_buf))
return;
if (!write_descriptor(&desc_rdev, si_desc_buf)) {
diff --git a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h
index c938de8..fa58164 100644
--- a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h
+++ b/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h
@@ -22,4 +22,7 @@
bool variant_is_half_populated(void);
void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config);
+/* Optional function for variants to update the descriptor when it is writable */
+bool variant_update_descriptor(uint8_t *desc);
+
#endif /*__BASEBOARD_VARIANTS_H__ */
--
To view, visit https://review.coreboot.org/c/coreboot/+/56680
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1ac3b639b77855695aabac79a069b621554df707
Gerrit-Change-Number: 56680
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: newchange
Attention is currently required from: Jason Glenesk, Raul Rangel, Marshall Dawson, Tim Wawrzynczak, Subrata Banik, Felix Held.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56651 )
Change subject: cpu/x86: Rename X86_AMD_INIT_SIPI to X86_INIT_SIPI
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> This is a finding by us and we had initiated a discussion to capture the details at validation side, […]
Subrata there are two changes that happen under X86_AMD_INIT_SIPI/X86_INIT_SIPI:
1. Remove the 10msec delay after sending INIT
2. Second SIPI is skipped
Both of these are not documented anywhere. When you say that "this is a finding by us" --> Finding based on? And has this been confirmed with the h/w architecture team. If so, then it should be updated as an addendum to the MP spec or added to BWG to make it clear what platforms really support this.
Also, I see the linux kernel still following the same specification: https://elixir.bootlin.com/linux/latest/source/arch/x86/kernel/smpboot.c#L7…
--
To view, visit https://review.coreboot.org/c/coreboot/+/56651
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7a4e6a8b1edc6e8ba43597259bd8b2de697e4e62
Gerrit-Change-Number: 56651
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
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: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 28 Jul 2021 19:26:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Comment-In-Reply-To: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: Paul Menzel, Subrata Banik, Angel Pons, Patrick Rudolph.
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56650 )
Change subject: soc/intel/common: Don't suppress SPD Module Type value
......................................................................
Patch Set 3:
(1 comment)
File src/soc/intel/common/smbios.c:
https://review.coreboot.org/c/coreboot/+/56650/comment/6872d51b_4c50768f
PS3, Line 18: /* Translate to DDR2 module type field that SMBIOS code expects. */
> Yes i don't know that answer either and IMHO we should let platform choose if they want to go through this conversion or pass the module type directly.
But that is not really a platform decision. We have module type that is provided by SPD which the platform gets either from CBFS SPD or EEPROM SPD. That module type is specific to the ddr type. SMBIOS has its own definitions for memory form factor. So, what we need is conversion of module type for a specific ddr type into smbios form factor. This can be handled by the platform, but I don't think that is required. It will help keep things simpler so that platforms don't have to worry about the conversion.
> Its possible to add the type conversion how DDR3 had done so far for other memory type as well like DDR4/LP4/5 but does that make sense is my question?
No, we shouldn't be converting other memory types to DDR2 type. We should be converting all memory types into smbios type directly. i.e. in `create_smbios_type17_for_dimm()` we should do something like this:
```
if (dimm->ddr_type == MEMORY_TYPE_DDR2)
t->form_factor = convert_ddr2_module_type(dimm->mod_type);
else if (dimm->ddr_type == MEMORY_TYPE_DDR3)
t->form_factor = convert_ddr3_module_type(dimm->mod_type);
else if (dimm->ddr_type == MEMORY_TYPE_DDR4)
t->form_factor = convert_ddr4_module_type(dimm->mod_type);
else if (dimm->ddr_type == MEMORY_TYPE_LPDDR3)
t->form_factor = convert_lp3_module_type(dimm->mod_type);
else ...
```
--
To view, visit https://review.coreboot.org/c/coreboot/+/56650
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia3f38c24efa6a8685639bb607926e2fd9c702ff6
Gerrit-Change-Number: 56650
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.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: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Wed, 28 Jul 2021 19:19:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Comment-In-Reply-To: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-MessageType: comment
Attention is currently required from: Furquan Shaikh, Paul Menzel, Angel Pons, Patrick Rudolph.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56650 )
Change subject: soc/intel/common: Don't suppress SPD Module Type value
......................................................................
Patch Set 3:
(1 comment)
File src/soc/intel/common/smbios.c:
https://review.coreboot.org/c/coreboot/+/56650/comment/a09e0640_e1cf98bd
PS3, Line 18: /* Translate to DDR2 module type field that SMBIOS code expects. */
> Subrata, I think we need to address the root problem here. Why does the SMBIOS code expect module type in DDR2 format?
Yes i don't know that answer either and IMHO we should let platform choose if they want to go through this conversion or pass the module type directly. I have tested DDR4/5/LP4/5 by passing direct memory type with those few CLs and no DDR2 conversion, I didn't see any issue, so I don't understand why we always need to convert any latest SPD spec into older DDR2 type and feed into SMBIOS function. Can we ignore that conversion. Its possible to add the type conversion how DDR3 had done so far for other memory type as well like DDR4/LP4/5 but does that make sense is my question?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56650
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia3f38c24efa6a8685639bb607926e2fd9c702ff6
Gerrit-Change-Number: 56650
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.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: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Wed, 28 Jul 2021 18:49:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Martin Roth.
Rob Barnes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56667 )
Change subject: guybrush: Document USB mapping in devicetree
......................................................................
Patch Set 3:
(2 comments)
File src/mainboard/google/guybrush/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/56667/comment/b30a92a2_c87b8932
PS1, Line 167: },
> Does USB3 ports not support USB A receptacle? Also same for WWAN, some WWAN use USB3 to support high […]
You are right, I updated Usb3PhyPort with A0 and A1.
File src/mainboard/google/guybrush/variants/baseboard/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/56667/comment/1704070b_7c4c6253
PS2, Line 222: register "desc" = ""Right Type-C Port""
Should this actually be Left Type-C port / C0?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56667
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I14cbb6af021bb27c89aa82456722f21aa09617be
Gerrit-Change-Number: 56667
Gerrit-PatchSet: 3
Gerrit-Owner: Rob Barnes <robbarnes(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Comment-Date: Wed, 28 Jul 2021 18:39:51 +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: Martin Roth, Rob Barnes.
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56667 )
Change subject: guybrush: Document USB mapping in devicetree
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56667
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I14cbb6af021bb27c89aa82456722f21aa09617be
Gerrit-Change-Number: 56667
Gerrit-PatchSet: 3
Gerrit-Owner: Rob Barnes <robbarnes(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Rob Barnes <robbarnes(a)google.com>
Gerrit-Comment-Date: Wed, 28 Jul 2021 18:39:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment