Attention is currently required from: Arthur Heymans, Jérémy Compostella, Nico Huber.
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81886?usp=email )
Change subject: arch/x86: Prevent .text/.init overlap with older linkers
......................................................................
Patch Set 2:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/81886/comment/733631e9_ede0ded2 :
PS2, Line 11: (binutils 2.3x)
> Are you sure this is used with the main branch? I was told ChromeOS
> always uses the newest toolchain (and hence we have to restrict
> toolchain updates to the releases). binutils was updated to 2.40
> a year ago.
we are still using 2.37 version and raised an internal bug https://b.corp.google.com/issues/332445618 to perform an uprev to 2.42 to switch to the new binutil. But as said, the existing EDK2 builds are failing (as Intel FSP/EDK2 code are not supportive of the latest tool chain).
https://review.coreboot.org/c/coreboot/+/81886/comment/326aef17_dd5e4619 :
PS2, Line 11: Default is 1024 bytes (1 KiB)
> There was a comment on another change (CB:81678) stating that
> SIZEOF() is returning 0 (with the old binutils). If that's the
> case, 1KiB might not be enough (possibly depending on alignment).
I have made a test run on all platform using chromium mainline and don't see any issue after picking this CL. but point noted incase we run into any issue in future.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81886?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I019bf6896d84b2a84dff6f22323f0f446c0740b5
Gerrit-Change-Number: 81886
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-CC: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Sat, 13 Apr 2024 11:26:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment
Attention is currently required from: Elyes Haouas.
Maxim has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81547?usp=email )
Change subject: util/intelp2m: Avoid adding blank line after '{'
......................................................................
Patch Set 1:
(1 comment)
File util/intelp2m/parser/parser.go:
https://review.coreboot.org/c/coreboot/+/81547/comment/0df00351_71cbb92c :
PS1, Line 53: if !strings.Contains(info.function, "GPIO Community 0") {
If I understand correctly, this is about removing blank line after `static const struct pad_config gpio_table[] = {`. But these changes don't fix this.
Need to remove the line break in https://github.com/coreboot/coreboot/blob/main/util/intelp2m/main.go#L24 only:
```
config.OutputGenFile.WriteString(`/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef CFG_GPIO_H
#define CFG_GPIO_H
#include <gpio.h>
/* Pad configuration was generated automatically using intelp2m utility */
static const struct pad_config gpio_table[] = {`) <--- [!]
```
--
To view, visit https://review.coreboot.org/c/coreboot/+/81547?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8105734b1b4776d0eb01b13c80e21e130719fe83
Gerrit-Change-Number: 81547
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Reviewer: Maxim <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-Comment-Date: Sat, 13 Apr 2024 11:17:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Nico Huber has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81645?usp=email )
Change subject: lenovo/haswell: enable ONBOARD_VGA_IS_PRIMARY
......................................................................
lenovo/haswell: enable ONBOARD_VGA_IS_PRIMARY
Haswell ThinkPads have Nvidia Optimus wired in on some models.
With recent coreboot changes, legacy VGA decode is now disabled
on the iGPU, and the iGPU itself is disabled, when a dGPU is
present. This is a problem on Optimus laptops, because it means
that the Intel GPU would be effectively disabled, when it is the
one that has to handle the framebuffer.
On these boards, you can enable ONBOARD_VGA_IS_PRIMARY so that
coreboot does not disable the iGPU. This is because on Optimus
laptops, the Nvidia GPU is only used for offloaded rendering.
Enable ONBOARD_VGA_IS_PRIMARY by default on these boards.
Change-Id: I8f1e0ca2861d1cc9a9ad41e7c9257aeca1a62a31
Signed-off-by: Leah Rowe <info(a)minifree.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81645
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/mainboard/lenovo/haswell/Kconfig
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Angel Pons: Looks good to me, but someone else must approve
Nico Huber: Looks good to me, approved
diff --git a/src/mainboard/lenovo/haswell/Kconfig b/src/mainboard/lenovo/haswell/Kconfig
index b874452..a5c8054 100644
--- a/src/mainboard/lenovo/haswell/Kconfig
+++ b/src/mainboard/lenovo/haswell/Kconfig
@@ -60,6 +60,10 @@
default "ThinkPad T440p" if BOARD_LENOVO_THINKPAD_T440P
default "ThinkPad W541" if BOARD_LENOVO_THINKPAD_W541
+config ONBOARD_VGA_IS_PRIMARY
+ bool
+ default y
+
config VGA_BIOS_ID
string
default "8086,0416" if BOARD_LENOVO_THINKPAD_T440P
--
To view, visit https://review.coreboot.org/c/coreboot/+/81645?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8f1e0ca2861d1cc9a9ad41e7c9257aeca1a62a31
Gerrit-Change-Number: 81645
Gerrit-PatchSet: 2
Gerrit-Owner: Leah Rowe <leahleahrowerowe(a)gmail.com>
Gerrit-Reviewer: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Angel Pons, Jean Lucas, Nicholas Chin.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81861?usp=email )
Change subject: nb/intel/gm45: Fill in memory info
......................................................................
Patch Set 1: Code-Review+2
(2 comments)
File src/northbridge/intel/gm45/raminit_meminfo.c:
https://review.coreboot.org/c/coreboot/+/81861/comment/4f6610df_bda41035 :
PS1, Line 63: 2
Too bad we don't have a constant for this. I suppose it should be
`ARRAY_SIZE(sysinfo->spd_map) / TOTAL_CHANNELS`. As we know this
won't change, I guess we can just leave the literal 2.
https://review.coreboot.org/c/coreboot/+/81861/comment/b4755742_d8a091a9 :
PS1, Line 83: mem_info->number_of_devices = 2;
Is this like the number of slots? Just curious.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81861?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I92060ce05bdf0ca617a3383a2db1fdbd43df6fe4
Gerrit-Change-Number: 81861
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Jean Lucas
Gerrit-Reviewer: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Jean Lucas
Gerrit-Attention: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Comment-Date: Sat, 13 Apr 2024 11:10:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Angel Pons.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52651?usp=email )
Change subject: sandybridge,haswell,broadwell: Use DIV_ROUND_CLOSEST macro
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/52651?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I251af82da15049a3a2aa6ea712ae8c9fe859caf6
Gerrit-Change-Number: 52651
Gerrit-PatchSet: 4
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <rudolphpatrick05(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Comment-Date: Sat, 13 Apr 2024 10:53:36 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Keith Hui.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81885?usp=email )
Change subject: mb/asus/p8z77-m: Enable keyboard/mouse swap option
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81885?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I21b73da99168e751b1a23485d4b1695963f9eef5
Gerrit-Change-Number: 81885
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Keith Hui <buurin(a)gmail.com>
Gerrit-Comment-Date: Sat, 13 Apr 2024 10:45:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Keith Hui.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81883?usp=email )
Change subject: superio/nuvoton/nct6779d: Add power_on_after_fail support
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
Patchset:
PS1:
We could also make it a common function for Nuvoton SIOs?
File src/superio/nuvoton/nct6779d/superio.c:
https://review.coreboot.org/c/coreboot/+/81883/comment/2f01506d_1f85abe9 :
PS1, Line 37: */
Same for the `cmos.layout` in case it's used. Not sure if it's worth that
much commentary only to avoid two lines of code?
--
To view, visit https://review.coreboot.org/c/coreboot/+/81883?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ia08cf8daac971397e832996ed364d41e9e7b1c5d
Gerrit-Change-Number: 81883
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Keith Hui <buurin(a)gmail.com>
Gerrit-Comment-Date: Sat, 13 Apr 2024 10:42:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment