Attention is currently required from: Arthur Heymans, Paul Menzel, Yidi Lin.
Martin L Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78798?usp=email )
Change subject: commonlib: Add GCD function
......................................................................
Patch Set 6: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/78798?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: I21819cda4299b3809b8ca7a95cbdc6a87e4b3481
Gerrit-Change-Number: 78798
Gerrit-PatchSet: 6
Gerrit-Owner: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
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: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Sat, 04 Nov 2023 17:05:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/78648?usp=email )
Change subject: soc/intel/meteorlake: Consolidate settings for enabling tracehub
......................................................................
soc/intel/meteorlake: Consolidate settings for enabling tracehub
To get tracehub working, it requires few settings such as
SOC_INTEL_METEORLAKE_DEBUG_CONSENT=2 and enable tracehub device in
dev tree. This commit binds all tracehub related settings to Kconfig,
so that users only need to enable SOC_INTEL_COMMON_BLOCK_TRACEHUB
TEST=boot on screebo and test tracehub device exists and working
Change-Id: Ie830fe2fd38e3456497bea37fe42ca60d26ca305
Signed-off-by: Kane Chen <kane.chen(a)intel.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78648
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Subrata Banik <subratabanik(a)google.com>
---
M src/soc/intel/meteorlake/Kconfig
M src/soc/intel/meteorlake/chip.c
2 files changed, 16 insertions(+), 0 deletions(-)
Approvals:
Subrata Banik: Looks good to me, approved
build bot (Jenkins): Verified
diff --git a/src/soc/intel/meteorlake/Kconfig b/src/soc/intel/meteorlake/Kconfig
index 05d7f70..a2f2706 100644
--- a/src/soc/intel/meteorlake/Kconfig
+++ b/src/soc/intel/meteorlake/Kconfig
@@ -353,6 +353,7 @@
# USB DBC is more common for developers so make this default to 6 if
# SOC_INTEL_DEBUG_CONSENT=y
default 6 if SOC_INTEL_DEBUG_CONSENT
+ default 2 if SOC_INTEL_COMMON_BLOCK_TRACEHUB
default 0
help
This is to control debug interface on SOC.
diff --git a/src/soc/intel/meteorlake/chip.c b/src/soc/intel/meteorlake/chip.c
index a1b1968..be957cc 100644
--- a/src/soc/intel/meteorlake/chip.c
+++ b/src/soc/intel/meteorlake/chip.c
@@ -151,6 +151,18 @@
gpio_pm_configure(value, TOTAL_GPIO_COMM);
}
+/* Enable tracehub in device tree */
+static void soc_enable_tracehub(void)
+{
+ struct device *dev;
+
+ dev = pcidev_path_on_root(PCI_DEVFN_NPK);
+ if (dev) {
+ dev->enabled = 1;
+ printk(BIOS_DEBUG, "Tracehub is enabled.\n");
+ }
+}
+
void soc_init_pre_device(void *chip_info)
{
config_t *config = config_of_soc();
@@ -159,6 +171,9 @@
config->tbt_authentication = ioe_p2sb_sbi_read(PID_IOM,
IOM_CSME_IMR_TBT_STATUS) & TBT_VALID_AUTHENTICATION;
+ if (CONFIG(SOC_INTEL_COMMON_BLOCK_TRACEHUB))
+ soc_enable_tracehub();
+
/* Perform silicon specific init. */
fsp_silicon_init();
--
To view, visit https://review.coreboot.org/c/coreboot/+/78648?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: Ie830fe2fd38e3456497bea37fe42ca60d26ca305
Gerrit-Change-Number: 78648
Gerrit-PatchSet: 5
Gerrit-Owner: Kane Chen <kane.chen(a)intel.corp-partner.google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun <tstuli(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Felix Held, Martin L Roth, Varshit Pandya.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78896?usp=email )
Change subject: soc/amd/genoa/devicetree: fix MMIO base addresses
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File src/soc/amd/genoa/chipset.cb:
https://review.coreboot.org/c/coreboot/+/78896/comment/e2610812_6962d860 :
PS1, Line 216: device mmio 0xfedcb000 alias i2c_5 off end
reorder based on new address?
--
To view, visit https://review.coreboot.org/c/coreboot/+/78896?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: I1c983d4a709000ef7963b96228322603b98728aa
Gerrit-Change-Number: 78896
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Sat, 04 Nov 2023 14:10:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Bill XIE, Jonathon Hall, Jérémy Compostella.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78906?usp=email )
Change subject: drivers/pc80/rtc/option.c: Reset only CMOS range covered by checksum
......................................................................
Patch Set 8: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/78906?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: I872bf5f41422bc3424cd8631e932aaae2ae82f7a
Gerrit-Change-Number: 78906
Gerrit-PatchSet: 8
Gerrit-Owner: Bill XIE <persmule(a)hardenedlinux.org>
Gerrit-Reviewer: Jonathon Hall <jonathon.hall(a)puri.sm>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Bill XIE <persmule(a)hardenedlinux.org>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Jonathon Hall <jonathon.hall(a)puri.sm>
Gerrit-Comment-Date: Sat, 04 Nov 2023 12:17:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans, Varshit Pandya.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78895?usp=email )
Change subject: soc/amd/genoa: Add mmio.asl
......................................................................
Patch Set 1:
(3 comments)
File src/soc/amd/genoa/acpi/mmio.asl:
https://review.coreboot.org/c/coreboot/+/78895/comment/09c52404_3adcf9c6 :
PS1, Line 199:
would be good to have the i2c status reporting code added here too. CB:78900 adds the devicetree ops for that to work; since the acpi table generation isn't enabled yet, the order in this gets added shouldn't really matter though
https://review.coreboot.org/c/coreboot/+/78895/comment/abc1fb94_857dae6f :
PS1, Line 322:
there are two more i2c devices. CB:78897 adds the missing base address definitions.
since we don't have i3c support, i;d say that we shouldn't report the i3c devices in here for now
https://review.coreboot.org/c/coreboot/+/78895/comment/2867e600_351763b2 :
PS1, Line 340: 0x0F
this should return 0x0b to hide the device in the windows device manager. see CB:68962
--
To view, visit https://review.coreboot.org/c/coreboot/+/78895?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: Ic5bc2cc0141e9da7e2c6ed7691188d7c94b6b1e3
Gerrit-Change-Number: 78895
Gerrit-PatchSet: 1
Gerrit-Owner: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Attention: Varshit Pandya <pandyavarshit(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Sat, 04 Nov 2023 05:22:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78901?usp=email )
Change subject: soc/amd/genoa/chipset.dt: add UART device ops
......................................................................
soc/amd/genoa/chipset.dt: add UART device ops
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: I9fc155fe76c05fefd4ce31ae6b96dcc4527b6abc
---
M src/soc/amd/genoa/chipset.cb
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/78901/1
diff --git a/src/soc/amd/genoa/chipset.cb b/src/soc/amd/genoa/chipset.cb
index 8b7d39e..e2d0e2e 100644
--- a/src/soc/amd/genoa/chipset.cb
+++ b/src/soc/amd/genoa/chipset.cb
@@ -214,9 +214,9 @@
device mmio 0xfedc5000 alias i2c_3 off end
device mmio 0xfedc6000 alias i2c_4 off end
device mmio 0xfedcb000 alias i2c_5 off end
- device mmio 0xfedc9000 alias uart_0 off end
- device mmio 0xfedca000 alias uart_1 off end
- device mmio 0xfedce000 alias uart_2 off end
+ device mmio 0xfedc9000 alias uart_0 off ops amd_uart_mmio_ops end
+ device mmio 0xfedca000 alias uart_1 off ops amd_uart_mmio_ops end
+ device mmio 0xfedce000 alias uart_2 off ops amd_uart_mmio_ops end
device mmio 0xfedd2000 alias i3c_0 off end
device mmio 0xfedd3000 alias i3c_1 off end
device mmio 0xfedd4000 alias i3c_2 off end
--
To view, visit https://review.coreboot.org/c/coreboot/+/78901?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: I9fc155fe76c05fefd4ce31ae6b96dcc4527b6abc
Gerrit-Change-Number: 78901
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/78905?usp=email )
Change subject: mb/google/corsola: Enable FW_CONFIG and FW_CONFIG_SOURCE_CHROMEEC_CBI
......................................................................
mb/google/corsola: Enable FW_CONFIG and FW_CONFIG_SOURCE_CHROMEEC_CBI
Enable FW_CONFIG for corsola so that the information can be passed to
payloads via coreboot tables.
BUG=b:157692450
TEST=emerge-corsola coreboot
BRANCH=none
Change-Id: I6c12041d3666907c884f5a50a12c1433c2085961
Signed-off-by: Yu-Ping Wu <yupingso(a)chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78905
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Hung-Te Lin <hungte(a)chromium.org>
Reviewed-by: Yidi Lin <yidilin(a)google.com>
---
M src/mainboard/google/corsola/Kconfig
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Yidi Lin: Looks good to me, approved
build bot (Jenkins): Verified
Hung-Te Lin: Looks good to me, approved
diff --git a/src/mainboard/google/corsola/Kconfig b/src/mainboard/google/corsola/Kconfig
index c082e6f..805a83a 100644
--- a/src/mainboard/google/corsola/Kconfig
+++ b/src/mainboard/google/corsola/Kconfig
@@ -22,6 +22,8 @@
select MAINBOARD_HAS_NATIVE_VGA_INIT
select HAVE_LINEAR_FRAMEBUFFER
select RTC
+ select FW_CONFIG
+ select FW_CONFIG_SOURCE_CHROMEEC_CBI
config BOARD_GOOGLE_KINGLER_COMMON
def_bool n
--
To view, visit https://review.coreboot.org/c/coreboot/+/78905?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: I6c12041d3666907c884f5a50a12c1433c2085961
Gerrit-Change-Number: 78905
Gerrit-PatchSet: 2
Gerrit-Owner: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged