Attention is currently required from: Hung-Te Lin, Jarried Lin, Paul Menzel, Xiwen Shao, Yu-Ping Wu.
Hello Hung-Te Lin, Paul Menzel, Xiwen Shao, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84929?usp=email
to look at the new patch set (#12).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add tracker driver
......................................................................
soc/mediatek/mt8196: Add tracker driver
Tracker is a debugging tool, including AP/INFRA/PERI tracker.
When bus timeout occurs, the system reboots and latches some
values which could be used for debug.
TEST=build pass, When we encounter a bus hang and hw watchdog
causes the platform to restart, the tracker will print the
latched information:
[INFO ] **Dump %s aw debug register start**
[INFO ] xxxxxx, 0x1c600000, 0x0, 63
This means that the 63rd entry latch accessing 0x1c600000
has a bus timeout.
BUG=b:317009620
Signed-off-by: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
Change-Id: Ib9784a370acec45ce36a800f3955b9cf96651298
---
M src/soc/mediatek/mt8196/Makefile.mk
M src/soc/mediatek/mt8196/bootblock.c
M src/soc/mediatek/mt8196/include/soc/addressmap.h
M src/soc/mediatek/mt8196/include/soc/memlayout.ld
A src/soc/mediatek/mt8196/include/soc/tracker.h
A src/soc/mediatek/mt8196/tracker.c
6 files changed, 177 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/84929/12
--
To view, visit https://review.coreboot.org/c/coreboot/+/84929?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: Ib9784a370acec45ce36a800f3955b9cf96651298
Gerrit-Change-Number: 84929
Gerrit-PatchSet: 12
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
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: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin, Paul Menzel, Yu-Ping Wu.
Hello Hung-Te Lin, Paul Menzel, Xiwen Shao, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84929?usp=email
to look at the new patch set (#11).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add tracker driver
......................................................................
soc/mediatek/mt8196: Add tracker driver
Tracker is a debugging tool, including AP/INFRA/PERI tracker.
When bus timeout occurs, the system reboots and latches some
values which could be used for debug.
TEST=build pass, When we encounter a bus hang and hw watchdog
causes the platform to restart, the tracker will print the
latched information:
[INFO ] **Dump %s aw debug register start**
[INFO ] xxxxxx, 0x1c600000, 0x0, 63
This means that the 63rd entry latch accessing 0x1c600000
has a bus timeout.
BUG=b:317009620
Signed-off-by: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
Change-Id: Ib9784a370acec45ce36a800f3955b9cf96651298
---
M src/soc/mediatek/mt8196/Makefile.mk
M src/soc/mediatek/mt8196/bootblock.c
M src/soc/mediatek/mt8196/include/soc/addressmap.h
M src/soc/mediatek/mt8196/include/soc/memlayout.ld
A src/soc/mediatek/mt8196/include/soc/tracker.h
A src/soc/mediatek/mt8196/tracker.c
6 files changed, 176 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/84929/11
--
To view, visit https://review.coreboot.org/c/coreboot/+/84929?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: Ib9784a370acec45ce36a800f3955b9cf96651298
Gerrit-Change-Number: 84929
Gerrit-PatchSet: 11
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.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-CC: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Hung-Te Lin, Paul Menzel, Xiwen Shao, Yu-Ping Wu.
Hello Hung-Te Lin, Paul Menzel, Xiwen Shao, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/84929?usp=email
to look at the new patch set (#10).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add tracker driver
......................................................................
soc/mediatek/mt8196: Add tracker driver
Tracker is a debugging tool, including AP/INFRA/PERI tracker.
When bus timeout occurs, the system reboots and latches some
values which could be used for debug.
TEST=build pass, When we encounter a bus hang and hw watchdog
causes the platform to restart, the tracker will print the
latched information:
[INFO ] **Dump %s aw debug register start**
[INFO ] xxxxxx, 0x1c600000, 0x0, 63
This means that the 63rd entry latch accessing 0x1c600000
has a bus timeout.
BUG=b:317009620
Signed-off-by: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
Change-Id: Ib9784a370acec45ce36a800f3955b9cf96651298
---
M src/soc/mediatek/common/include/soc/tracker_common.h
M src/soc/mediatek/mt8196/Makefile.mk
M src/soc/mediatek/mt8196/bootblock.c
M src/soc/mediatek/mt8196/include/soc/addressmap.h
M src/soc/mediatek/mt8196/include/soc/memlayout.ld
A src/soc/mediatek/mt8196/include/soc/tracker.h
A src/soc/mediatek/mt8196/tracker.c
7 files changed, 177 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/84929/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/84929?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: Ib9784a370acec45ce36a800f3955b9cf96651298
Gerrit-Change-Number: 84929
Gerrit-PatchSet: 10
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
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: Xiwen Shao <xiwen.shao(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Kapil Porwal, Pranava Y N, Subrata Banik.
Divagar Mohandass has posted comments on this change by Subrata Banik. ( https://review.coreboot.org/c/coreboot/+/85536?usp=email )
Change subject: soc/intel/ptl: Enable UFS functionality by adding IRQ programming
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/85536?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: Ib479f0adaaae64cee4d2152534dae40e32614065
Gerrit-Change-Number: 85536
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Divagar Mohandass <divagar.mohandass(a)intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Pranava Y N <pranavayn(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Gerrit-Comment-Date: Mon, 09 Dec 2024 08:50:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Angel Pons, Arthur Heymans, Christian Walter, Jincheng Li, Lean Sheng Tan, Mark Chang, Patrick Rudolph.
Angel Pons has posted comments on this change by Mark Chang. ( https://review.coreboot.org/c/coreboot/+/85532?usp=email )
Change subject: Add support for MiTAC Computing Whitestone-2 mainboard
......................................................................
Patch Set 1: Code-Review+1
(12 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/85532/comment/7f2a0013_aa001d5a?us… :
PS1, Line 8:
Could you please add a body to the commit message? I would suggest describing the board (looks like it's a single-socket SPR-SP evaluation board) as well as what has been tested. You can use CB:68188 as an example of this structure.
File configs/config.mitaccomputing_ws_2:
PS1:
I see references to site-local here. This config file will get build-tested by Jenkins, so this won't work. But if Jenkins passed, I guess it didn't pick up the file (IIRC, if the beginning of the filename doesn't match the mainboard vendor/name in the way Jenkins expects it, then the file is ignored).
Ironically enough, files in `configs/builder/` do *not* get build-tested (unless this has changed). So you can move this config file into `configs/builder/`.
https://review.coreboot.org/c/coreboot/+/85532/comment/bee674c2_4920f20a?us… :
PS1, Line 15: CONFIG_X2APIC_LATE_WORKAROUND=y
Is this needed for all SPR-SP mainboards?
File src/mainboard/mitaccomputing/whitestone-2/acpi/platform.asl:
https://review.coreboot.org/c/coreboot/+/85532/comment/22b8ce6b_aa1fc738?us… :
PS1, Line 30:
> Suppose the sleep/wake is not supported so no needed?
I think these methods might be needed for ASL to compile, but I would prefer removing them if possible.
File src/mainboard/mitaccomputing/whitestone-2/board_info.txt:
PS1:
nit: Missing `ROM package`
File src/mainboard/mitaccomputing/whitestone-2/bootblock.c:
https://review.coreboot.org/c/coreboot/+/85532/comment/75eb449d_38a09f35?us… :
PS1, Line 18: static void enable_espi_lpc_io_windows(void)
> Is is possible to use the lpc functions in `src/soc/intel/common/block/lpc/lpc_lib. […]
I think that library is for ramstage. Also, other Xeon-SP boards do this.
Still, I agree it would be nice to tidy this up, but I feel it would be best to do so in a follow-up.
File src/mainboard/mitaccomputing/whitestone-2/devicetree.cb:
https://review.coreboot.org/c/coreboot/+/85532/comment/2e1a2b8c_038438ee?us… :
PS1, Line 5: register "turbo_ratio_limit" = "0x181819191e242424"
: register "turbo_ratio_limit_cores" = "0x3836322e2a1c1a18"
Is this hardcoded for a specific CPU model?
File src/mainboard/mitaccomputing/whitestone-2/dsdt.asl:
https://review.coreboot.org/c/coreboot/+/85532/comment/f9ae236c_fc002295?us… :
PS1, Line 10: 0x20110725 // OEM revision
The "OEM revision" comment means this number was chosen to match that of vendor firmware (BIOS/UEFI) for a particular board (on a retrofitted coreboot port). Unfortunately, this got copy-pasted verbatim to other boards without checking if the comment is true.
It would be great if you can check this value. But if you can't check it, please remove the comment:
```suggestion
0x20110725
```
File src/mainboard/mitaccomputing/whitestone-2/include/sprsp_ws_2_iio.h:
https://review.coreboot.org/c/coreboot/+/85532/comment/0c5c82e2_2653ccc0?us… :
PS1, Line 48: CFG_UPD_PCIE_PORT(1, 0, 0)
Idea: you could add this macro
```
#define CFG_UPD_PCIE_PORT_DISABLED CFG_UPD_PCIE_PORT(1, 0, 0)
```
and then do
```suggestion
CFG_UPD_PCIE_PORT_DISABLED,
```
so that it's easier to see which ports are enabled/disabled.
File src/mainboard/mitaccomputing/whitestone-2/mainboard.c:
https://review.coreboot.org/c/coreboot/+/85532/comment/b6406a31_2932baa5?us… :
PS1, Line 46: }
> Can the common codes be used? smbios_write_type41
These E810 devices are Ethernet NICs. I think they are on-board and you want them to have consistent numbering in the OS, is this correct?
The simplest thing you can do is declare them in the devicetree, so that coreboot autogenerates SMBIOS Type41 entries for them.
If you need to assign specific numbers to specific devices, you can do something like CB:58628 to be able to manually specify numbers.
https://review.coreboot.org/c/coreboot/+/85532/comment/c2993165_227d047e?us… :
PS1, Line 80: };
> How this be invoked?
It's invoked automatically
File src/mainboard/mitaccomputing/whitestone-2/romstage.c:
https://review.coreboot.org/c/coreboot/+/85532/comment/aed8bda5_ce1fcfd8?us… :
PS1, Line 18: Protocl
typo
```suggestion
/* eg. Protocol Auto Negotiation */
```
--
To view, visit https://review.coreboot.org/c/coreboot/+/85532?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: Icf625cf8e9c76ef08411614c15ee43d0c459b905
Gerrit-Change-Number: 85532
Gerrit-PatchSet: 1
Gerrit-Owner: Mark Chang <mark.chang(a)mitaccomputing.com>
Gerrit-Reviewer: Angel Pons <angel.pons(a)9elements.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: yuchi.chen(a)intel.com
Gerrit-Attention: Mark Chang <mark.chang(a)mitaccomputing.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Angel Pons <angel.pons(a)9elements.com>
Gerrit-Comment-Date: Mon, 09 Dec 2024 08:14:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
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: Dinesh Gehlot, Eric Lai, Jayvik Desai, Kapil Porwal, Nick Vaccaro, Rui Zhou, Subrata Banik.
Hello Dinesh Gehlot, Eric Lai, Jayvik Desai, Kapil Porwal, Nick Vaccaro, Subrata Banik, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85535?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: mb/google/nissa/var/rull: Add 6W and 15W DPTF parameters
......................................................................
mb/google/nissa/var/rull: Add 6W and 15W DPTF parameters
The DPTF parameters were defined by the thermal team.
Based on thermal table in b:383032918#comment1
BUG=b:383032918
TEST=emerge-nissa coreboot chromeos-bootimage
Change-Id: I354d50edb014783c7422985c39eb65208ef4fe91
Signed-off-by: Rui Zhou <zhourui(a)huaqin.corp-partner.google.com>
---
M src/mainboard/google/brya/variants/rull/overridetree.cb
1 file changed, 125 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/85535/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/85535?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: I354d50edb014783c7422985c39eb65208ef4fe91
Gerrit-Change-Number: 85535
Gerrit-PatchSet: 3
Gerrit-Owner: Rui Zhou <zhourui(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Rui Zhou <zhourui(a)huaqin.corp-partner.google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>