Attention is currently required from: Henry Sun, Stanley Wu.
Hello build bot (Jenkins), Henry Sun, Karthik Ramasubramanian,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/49220
to look at the new patch set (#3).
Change subject: drivers/i2c/sx9324: Add more register
......................................................................
drivers/i2c/sx9324: Add more register
Add IrqCfg1 register for proximity IRQ function and polarity setting.
BUG=b:175932166
BRANCH=dedede
TEST=Build passed.
Change-Id: I3cee84a5658fecf55d2d8b8621879588ffe0158d
Signed-off-by: Stanley Wu <stanley1.wu(a)lcfc.corp-partner.google.com>
---
M src/drivers/i2c/sx9324/registers.h
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/49220/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/49220
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3cee84a5658fecf55d2d8b8621879588ffe0158d
Gerrit-Change-Number: 49220
Gerrit-PatchSet: 3
Gerrit-Owner: Stanley Wu <stanley1.wu(a)lcfc.corp-partner.google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Allen Cheng <allen.cheng(a)lcfc.corp-partner.google.com>
Gerrit-CC: Jerry2 Huang <jerry2.huang(a)lcfc.corp-partner.google.com>
Gerrit-CC: Kevin Chang <kevin.chang(a)lcfc.corp-partner.google.com>
Gerrit-CC: Rasheed Hsueh <rasheed.hsueh(a)lcfc.corp-partner.google.com>
Gerrit-CC: Sunshine Chao <sunshine.chao(a)lcfc.corp-partner.google.com>
Gerrit-Attention: Henry Sun <henrysun(a)google.com>
Gerrit-Attention: Stanley Wu <stanley1.wu(a)lcfc.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Martin Roth, Felix Held.
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49226 )
Change subject: util/testing: remove genprof target
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/49226
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I420b5c43e2d97373a8e665f457463a06e16ecfb9
Gerrit-Change-Number: 49226
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Martin Roth <martinroth(a)google.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Fri, 08 Jan 2021 06:06:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Furquan Shaikh, Henry Sun, Ren Kuo, Tim Chen.
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49221 )
Change subject: mb/google/dedede/var/magolor: Remove the unused touch controller
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/49221
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2a01666bc1e353e21ddf961a0eb721a0cb4013db
Gerrit-Change-Number: 49221
Gerrit-PatchSet: 2
Gerrit-Owner: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Henry Sun <henrysun(a)google.com>
Gerrit-Attention: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Attention: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 08 Jan 2021 05:36:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49232 )
Change subject: Fix tsc_freq_mhz() on some platforms
......................................................................
Fix tsc_freq_mhz() on some platforms
On platforms where cpuid_get_max_func() is < 0x15 the guard that
was added to get_freq_from_cpuid16h() does not provide any protection
from producing the wrong result. Instead, the code returned 0 which
leads to silent crashes in the call chain. Utilize CONFIG_CPU_BCLK_MHZ
to prevent this from happening.
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Change-Id: Ic42a057945a48d8bf0641d1418160906cd15a991
---
M src/soc/intel/common/block/timer/timer.c
1 file changed, 10 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/49232/1
diff --git a/src/soc/intel/common/block/timer/timer.c b/src/soc/intel/common/block/timer/timer.c
index ab41149..e7920ee 100644
--- a/src/soc/intel/common/block/timer/timer.c
+++ b/src/soc/intel/common/block/timer/timer.c
@@ -93,9 +93,12 @@
unsigned long tsc_freq_mhz(void)
{
- unsigned long tsc_freq;
+ int max_func = cpuid_get_max_func();
+ unsigned long tsc_freq = 0;
+ msr_t platform_info;
- tsc_freq = calculate_tsc_freq_from_core_crystal();
+ if (max_func >= 0x15)
+ tsc_freq = calculate_tsc_freq_from_core_crystal();
if (tsc_freq)
return tsc_freq;
@@ -104,5 +107,9 @@
* Some Intel SoCs like Skylake, Kabylake and Cometlake don't report
* the crystal clock, in that case return bus frequency using CPUID.16h
*/
- return get_freq_from_cpuid16h();
+ if (max_func >= 0x16)
+ return get_freq_from_cpuid16h();
+
+ platform_info = rdmsr(MSR_PLATFORM_INFO);
+ return CONFIG_CPU_BCLK_MHZ * ((platform_info.lo >> 8) & 0xff);
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/49232
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic42a057945a48d8bf0641d1418160906cd15a991
Gerrit-Change-Number: 49232
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-MessageType: newchange
Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49231 )
Change subject: util/autoport: Rename to mainboard_fill_gnvs()
......................................................................
util/autoport: Rename to mainboard_fill_gnvs()
Change-Id: Ia8d7083ca2f21abbb5f184c1b55dcf1bf047a7be
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
---
M util/autoport/bd82x6x.go
M util/autoport/readme.md
2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/49231/1
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 5d943e4..e2a84e4 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -359,10 +359,11 @@
defer gnvs.Close()
Add_gpl(gnvs)
- gnvs.WriteString(`#include <southbridge/intel/bd82x6x/nvs.h>
+ gnvs.WriteString(`#include <acpi/acpi_gnvs.h>
+#include <southbridge/intel/bd82x6x/nvs.h>
/* FIXME: check this function. */
-void acpi_create_gnvs(struct global_nvs *gnvs)
+void mainboard_fill_gnvs(struct global_nvs *gnvs)
{
/* The lid is open by default. */
gnvs->lids = 1;
diff --git a/util/autoport/readme.md b/util/autoport/readme.md
index bfaaef6..f2b2697 100644
--- a/util/autoport/readme.md
+++ b/util/autoport/readme.md
@@ -335,7 +335,7 @@
## GNVS
-`acpi_create_gnvs` sets values in GNVS, which then ACPI makes use of for
+`mainboard_fill_gnvs` sets values in GNVS, which then ACPI makes use of for
various power-related functions. Normally, there is no need to modify it
on laptops (desktops have no "lid"!) but it makes sense to proofread it.
--
To view, visit https://review.coreboot.org/c/coreboot/+/49231
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia8d7083ca2f21abbb5f184c1b55dcf1bf047a7be
Gerrit-Change-Number: 49231
Gerrit-PatchSet: 1
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-MessageType: newchange
Attention is currently required from: Furquan Shaikh, Henry Sun, Tim Chen, Karthik Ramasubramanian.
Ren Kuo has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49221 )
Change subject: mb/google/dedede/var/magolor: Remove the unused touch controller
......................................................................
Patch Set 2:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/49221/comment/9a29fca0_e61b9072
PS1, Line 7: mb/google/dedede/var/magolor: remove the unused touch controller
> Nit: Always start the sentence with a capital letter.
Done
https://review.coreboot.org/c/coreboot/+/49221/comment/3fa6fc8a_5b3e3cfc
PS1, Line 11: BUG=None
> BRANCH=dedede
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/49221
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2a01666bc1e353e21ddf961a0eb721a0cb4013db
Gerrit-Change-Number: 49221
Gerrit-PatchSet: 2
Gerrit-Owner: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Henry Sun <henrysun(a)google.com>
Gerrit-Attention: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Fri, 08 Jan 2021 05:02:27 +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: Furquan Shaikh, Henry Sun, Ren Kuo, Tim Chen.
Hello build bot (Jenkins), Furquan Shaikh, Patrick Georgi, Henry Sun, Tim Chen, Karthik Ramasubramanian,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/49221
to look at the new patch set (#2).
Change subject: mb/google/dedede/var/magolor: Remove the unused touch controller
......................................................................
mb/google/dedede/var/magolor: Remove the unused touch controller
Remove unused touch controller - Goodix
BUG=None
BRANCH=dedede
TEST=build firmware
Signed-off-by: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Change-Id: I2a01666bc1e353e21ddf961a0eb721a0cb4013db
---
M src/mainboard/google/dedede/variants/magolor/overridetree.cb
1 file changed, 0 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/49221/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/49221
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2a01666bc1e353e21ddf961a0eb721a0cb4013db
Gerrit-Change-Number: 49221
Gerrit-PatchSet: 2
Gerrit-Owner: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Henry Sun <henrysun(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Furquan Shaikh <furquan(a)google.com>
Gerrit-Attention: Henry Sun <henrysun(a)google.com>
Gerrit-Attention: Ren Kuo <ren.kuo(a)quanta.corp-partner.google.com>
Gerrit-Attention: Tim Chen <tim-chen(a)quanta.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Felix Singer, Nico Huber, Jeremy Soller.
Tim Crawford has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/49104 )
Change subject: soc/intel/cannonlake: Allow setting PCIe subsystem IDs after FSP SiliconInit
......................................................................
Patch Set 5:
(4 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/49104/comment/b68b2fe9_89c79092
PS5, Line 14: the TigerLake FSP Integration Guide.
> I couldn't find it, can you be more specific? […]
I will clarify the it to be the table override behavior in the message, and reference the section in the doc.
https://review.coreboot.org/c/coreboot/+/49104/comment/4b2b1e6d_3ee1e368
PS5, Line 23: Tested by checking lspci output on System76 galp3-c, oryp5, oryp6.
> I can't find any of them in the tree. […]
These are WHL (galp3-c), CFL (oryp5, CB:47892), and CML (oryp6, CB:47768). I will specify the FSP in the message.
File src/soc/intel/cannonlake/fsp_params.c:
https://review.coreboot.org/c/coreboot/+/49104/comment/3ad9a3f4_319b49d2
PS5, Line 552: 0
> This looks like a valid address to me: offset 0 of PCI 0:00.0, or did I […]
You're right. The PCI ID database doesn't list anything using it, but it does appear to be valid.
https://review.coreboot.org/c/coreboot/+/49104/comment/e5fb590d_e11cf0e4
PS5, Line 561: dev = pcidev_path_on_root(PCH_DEVFN_XHCI);
: if (dev)
: pci_dev_set_subsystem(dev, dev->subsystem_vendor,
: dev->subsystem_device);
:
: dev = pcidev_path_on_root(PCH_DEVFN_HDA);
: if (dev)
: pci_dev_set_subsystem(dev, dev->subsystem_vendor,
: dev->subsystem_device);
> Alternatively to a dummy entry, why not move this into the table?
Yes. Based on your other comments, I believe this is the better option. Moving them into the table would comply with what little documentation there is instead of relying on unknown behavior of the FSP.
--
To view, visit https://review.coreboot.org/c/coreboot/+/49104
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ieaa45ef7fa8e0da4a25b9174ded1ea0c5d9c4b4e
Gerrit-Change-Number: 49104
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Crawford <tcrawford(a)system76.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <felixsinger(a)posteo.net>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-CC: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Comment-Date: Fri, 08 Jan 2021 02:37:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Gerrit-MessageType: comment