Attention is currently required from: Hung-Te Lin, Jarried Lin, Yu-Ping Wu.
Yidi Lin has uploaded a new patch set (#18) to the change originally created by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/84026?usp=email )
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add EINT support
......................................................................
soc/mediatek/mt8196: Add EINT support
BUG=b:334723688
TEST=EINT works in Rauru
Change-Id: Ibeb2dafcd9909b4afbfa81728700718f01d3818f
Signed-off-by: Yidi Lin <yidilin(a)chromium.org>
---
M src/soc/mediatek/mt8196/Makefile.mk
A src/soc/mediatek/mt8196/gpio_eint.c
M src/soc/mediatek/mt8196/include/soc/addressmap.h
3 files changed, 317 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/84026/18
--
To view, visit https://review.coreboot.org/c/coreboot/+/84026?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ibeb2dafcd9909b4afbfa81728700718f01d3818f
Gerrit-Change-Number: 84026
Gerrit-PatchSet: 18
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Attention is currently required from: Felix Singer, Jérémy Compostella, Shuo Liu.
yuchi.chen(a)intel.com has posted comments on this change by yuchi.chen(a)intel.com. ( https://review.coreboot.org/c/coreboot/+/83320?usp=email )
Change subject: soc/intel/common/block/imc: Add Integrated Memory Controller driver
......................................................................
Patch Set 17:
(9 comments)
File src/soc/intel/common/block/imc/imc.c:
https://review.coreboot.org/c/coreboot/+/83320/comment/e87d16bb_eafb9308?us… :
PS3, Line 57: void imc_smbus_spd_init(pci_devfn_t dev)
> imc_spd_smbus_init?
Done
File src/soc/intel/common/block/include/intelblocks/imc.h:
https://review.coreboot.org/c/coreboot/+/83320/comment/d3286162_fd69107b?us… :
PS15, Line 10:
> can these be static? or to static what ever could be?
I moved it to an internal header imclib.h.
File src/soc/intel/common/block/smbus/smbuslib.c:
https://review.coreboot.org/c/coreboot/+/83320/comment/7b3ef5c4_30eccf36?us… :
PS3, Line 10: {
> sure, let us remove the weak here
Done
https://review.coreboot.org/c/coreboot/+/83320/comment/e0a94c66_afef34f9?us… :
PS3, Line 96: if (!CONFIG(SOC_INTEL_COMMON_BLOCK_IMC) && blk->addr_map[i] == 0) {
> add a common block here might be helpful
Done
File src/soc/intel/common/block/smbus/smbuslib.c:
https://review.coreboot.org/c/coreboot/+/83320/comment/91a70186_19a102bd?us… :
PS7, Line 38: static void spd_read(u8 *spd, u8 addr)
> maybe this can be moved to a generic spd.c, which is implemented either by smbuslib, or the imc/spd. […]
This function is not the actual SPD IO function, it calls spd_read_byte(), spd_read_word() and spd_write_byte() inside.
File src/soc/intel/common/block/smbus/smbuslib.c:
https://review.coreboot.org/c/coreboot/+/83320/comment/f62d2f6d_d4b64011?us… :
PS15, Line 1: /* SPDX-License-Identifier: GPL-2.0-only */
> maybe you can add a separate patch to rename smbuslib.c to spdlib.c, and to rename spd. […]
Please review https://review.coreboot.org/c/coreboot/+/84201.
https://review.coreboot.org/c/coreboot/+/83320/comment/516a73fc_b389c957?us… :
PS15, Line 9: __weak int spd_read_byte(u8 slave_addr, u8 bus_addr)
> no need to have week here
Done
https://review.coreboot.org/c/coreboot/+/83320/comment/7bb8c67f_c5bd16c9?us… :
PS15, Line 70: if (i2c_eeprom_read(addr, 0, SPD_PAGE_LEN, spd) < 0) {
> if (!IMC && ... […]
Done
File src/southbridge/intel/common/smbus.c:
https://review.coreboot.org/c/coreboot/+/83320/comment/81b57d65_0eb04de6?us… :
PS15, Line 465: if (CONFIG(SOUTHBRIDGE_INTEL_I82371EB) || CONFIG(SOUTHBRIDGE_INTEL_I82801DX) ||
> this is for pch smbus and we should not change here.
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/83320?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3f47ddeda94d3882852d64c0052f8fb42b6b7ad2
Gerrit-Change-Number: 83320
Gerrit-PatchSet: 17
Gerrit-Owner: yuchi.chen(a)intel.com
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Vasiliy Khoruzhick <vasilykh(a)arista.com>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Comment-Date: Wed, 04 Sep 2024 00:43:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: yuchi.chen(a)intel.com
Comment-In-Reply-To: Shuo Liu <shuo.liu(a)intel.com>
Attention is currently required from: Felix Held, Jérémy Compostella, Shuo Liu.
yuchi.chen(a)intel.com has posted comments on this change by yuchi.chen(a)intel.com. ( https://review.coreboot.org/c/coreboot/+/83319?usp=email )
Change subject: include/device/pci_def.h: Add PCIe SRIOV definitions
......................................................................
Patch Set 16:
(1 comment)
File src/include/device/pci_def.h:
https://review.coreboot.org/c/coreboot/+/83319/comment/d74df1e2_48d7a47a?us… :
PS15, Line 587: #define PCIE_EXT_CAP_SRIOV_TOTAL_VFS 0x0e
> in the other definitions in this file, the value is tab-aligned; would be good to do that here too
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/83319?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic4bf76b0e3b20e3d04e8264c6530ab4abb95a013
Gerrit-Change-Number: 83319
Gerrit-PatchSet: 16
Gerrit-Owner: yuchi.chen(a)intel.com
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-CC: Vasiliy Khoruzhick <vasilykh(a)arista.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 04 Sep 2024 00:36:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Attention is currently required from: Arthur Heymans, Felix Held, Felix Singer, Jérémy Compostella, Shuo Liu.
yuchi.chen(a)intel.com has posted comments on this change by yuchi.chen(a)intel.com. ( https://review.coreboot.org/c/coreboot/+/83318?usp=email )
Change subject: soc/intel/common/systemagent: Fixup systemagent address
......................................................................
Patch Set 16:
(4 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/83318/comment/926027f5_79d08e32?us… :
PS13, Line 9: System agent in Intel common block (1) assumes TOLUD and TOUUD
: registers hold the max available address plus 1, but on some SoC like
: Snow Ridge, it holds the max available address; (2) aligns TOLUD, TOUUD
: and TSEG registers to 1 MiB default, but some SoC may have different
: alignments. This patch add a new weak function
: `soc_systemagent_fixup_address()` to improve it.
> Can you not capture the different semantics of the registers in Kconfig, have SOC select it and keep […]
Now I'm using a new Kconfig item SA_FIXUP_ADDRESS to select if SoC need to fixup the address base and limit, please review it again.
Commit Message:
https://review.coreboot.org/c/coreboot/+/83318/comment/69bb3605_36b4d7c1?us… :
PS15, Line 14: soc_systemagent_fixup_address() to improve it.
> commit message need to be updated accordingly
Commit message doesn't describe the TSEG limit changes.
File src/soc/intel/common/block/systemagent/Kconfig:
https://review.coreboot.org/c/coreboot/+/83318/comment/5ea63fbb_a6186d21?us… :
PS15, Line 65: config HAVE_TSEG_LIMIT_REGISTER
> can this be split to a separate patch?
Done, please see https://review.coreboot.org/c/coreboot/+/84200
File src/soc/intel/common/block/systemagent/systemagent_early.c:
https://review.coreboot.org/c/coreboot/+/83318/comment/7c41bd6e_78b6e32f?us… :
PS15, Line 178: __weak uint64_t soc_systemagent_fixup_address(unsigned int reg, uint64_t value)
> no need for this weak
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/83318?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If32c2a6524c9d55ce7f9c3dd203bcf85cab76c2c
Gerrit-Change-Number: 83318
Gerrit-PatchSet: 16
Gerrit-Owner: yuchi.chen(a)intel.com
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-CC: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Vasiliy Khoruzhick <vasilykh(a)arista.com>
Gerrit-Attention: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 04 Sep 2024 00:34:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Shuo Liu <shuo.liu(a)intel.com>
Comment-In-Reply-To: Arthur Heymans <arthur(a)aheymans.xyz>
Attention is currently required from: Alexander Couzens, Pratikkumar V Prajapati.
Nicholas Sudsgaard has posted comments on this change by Alexander Couzens. ( https://review.coreboot.org/c/coreboot/+/84190?usp=email )
Change subject: inteltool: elkhartlake: keep the same names as coreboot code uses
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/84190?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4558cec444ae2a081fbc0f49464354df222be6c9
Gerrit-Change-Number: 84190
Gerrit-PatchSet: 3
Gerrit-Owner: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Reviewer: Nicholas Sudsgaard <devel+coreboot(a)nsudsgaard.com>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Alexander Couzens <lynxis(a)fe80.eu>
Gerrit-Attention: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Comment-Date: Wed, 04 Sep 2024 00:06:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes