Attention is currently required from: Christian Walter, Jincheng Li, Johnny Lin, Jonathan Zhang, Lean Sheng Tan, Michał Żygowski, Tim Chu.
Patrick Rudolph has posted comments on this change by Jincheng Li. ( https://review.coreboot.org/c/coreboot/+/85286?usp=email )
Change subject: soc/intel/xeon_sp: Remove lpc_lockdown_config
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/85286?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: Ibec389a6d55c7885def6896a0ea435514b75a323
Gerrit-Change-Number: 85286
Gerrit-PatchSet: 3
Gerrit-Owner: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Reviewer: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Attention: Jonathan Zhang <jon.zhixiong.zhang(a)gmail.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Attention: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-Attention: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Comment-Date: Mon, 02 Dec 2024 12:05:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Dehui Sun, Hung-Te Lin, Paul Menzel, Yidi Lin, Yu-Ping Wu.
Jarried Lin has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85362?usp=email )
Change subject: soc/mediatek/mt8196: Add booker driver
......................................................................
Patch Set 7:
(7 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/85362/comment/ba7eef29_7f8e3d51?us… :
PS1, Line 9: booker == CI-700
: But MTK booker does not fully comply with the CI-700 spec. The booker
: only uses CHI protocol, while MTK booker does not support coherence. The
: booker also uses other protocols such as AXI, which is to translate CHI
: transactions into EMI's AXI transactions.
:
: Booker = Routing + Coherence + MTE + Debug
: Currently, mt8196 booker only uses the functions of Routing&MTE&Debug.
:
: If downstream SLC needs CMO commands propagation from the DSU, it can
: set the disable_cmo_prop = 0 in the por_sbsx_cfg_ctl register. When the
: bit is programmed, the CI-700 must be idle. It's better to program it
: before transactions go to CI-700.
> Yes, I agree with your opinion. […]
Done
https://review.coreboot.org/c/coreboot/+/85362/comment/e593bd0b_629c78e1?us… :
PS1, Line 20: It's better to program it
: before transactions go to CI-700.
> Okay, I'll make the changes later. […]
Done
Commit Message:
https://review.coreboot.org/c/coreboot/+/85362/comment/c64c1ff5_d7d4d0c6?us… :
PS6, Line 23: TEST=build pass
> Please paste the new log messages, and please also document a way, how to test if the driver is oper […]
Done
File src/soc/mediatek/mt8196/booker.c:
https://review.coreboot.org/c/coreboot/+/85362/comment/aafe39ac_d5d81a8c?us… :
PS1, Line 16: NDE
> This can be modified in the next release. […]
Done
https://review.coreboot.org/c/coreboot/+/85362/comment/53b16872_e0fc8beb?us… :
PS1, Line 23: "ldr x0, =0x0a450a00\n"
: "ldr x1, [x0]\n"
: "ldr x2, =0x8\n"
: "bic x1, x1, x2\n"
: "str x1, [x0]\n"
:
: "ldr x0, =0x0ac50a00\n"
: "ldr x1, [x0]\n"
: "ldr x2, =0x8\n"
: "bic x1, x1, x2\n"
: "str x1, [x0]\n"
:
: "ldr x0, =0x0b450a00\n"
: "ldr x1, [x0]\n"
: "ldr x2, =0x8\n"
: "bic x1, x1, x2\n"
: "str x1, [x0]\n"
:
: "ldr x0, =0x0bc50a00\n"
: "ldr x1, [x0]\n"
: "ldr x2, =0x8\n"
: "bic x1, x1, x2\n"
: "str x1, [x0]\n"
> Okay, it's better to use clrbits32().
Done
File src/soc/mediatek/mt8196/booker.c:
https://review.coreboot.org/c/coreboot/+/85362/comment/b8e6f700_27462615?us… :
PS5, Line 56: __func__
> As a general comment, for each open comment left by reviewers, please either […]
OK, we will only respond to comments that disagree with in the future.
Thanks.
File src/soc/mediatek/mt8196/include/soc/booker.h:
https://review.coreboot.org/c/coreboot/+/85362/comment/aac8aa58_ff9333bf?us… :
PS5, Line 6: extern
> Okay, This can be modified in the next release.
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/85362?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: I6bde1e20137890addf18b23b47f17b1f63824b22
Gerrit-Change-Number: 85362
Gerrit-PatchSet: 7
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Dehui Sun <dehui.sun(a)mediatek.corp-partner.google.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-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Dehui Sun <dehui.sun(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Mon, 02 Dec 2024 12:05:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Comment-In-Reply-To: Dehui Sun <dehui.sun(a)mediatek.corp-partner.google.com>
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Comment-In-Reply-To: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Dehui Sun, Hung-Te Lin, Jarried Lin, Yidi Lin.
Hello Dehui Sun, Hung-Te Lin, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85362?usp=email
to look at the new patch set (#7).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add booker driver
......................................................................
soc/mediatek/mt8196: Add booker driver
The MTK booker mainly uses CHI protocol, but does't supports coherence
(which is achieved through ACP solution). Additionally, the booker also
uses other protocols such as AXI, which translates CHI transactions into
EMI's AXI transactions.
Currently, the mt8196 booker only uses the functions of SLC CMO Routing.
If downstream SLC needs CMO command propagation from the DSU, it can
set bit[3] (disable_cmo_prop) to 0 in the por_sbsx_cfg_ctl register of
each SBSX node.
TEST=build pass, check boot log with:
[booker_init] AP hash rule: 0xbe00.
BUG=b:317009620
Signed-off-by: Dehui Sun <dehui.sun(a)mediatek.corp-partner.google.com>
Change-Id: I6bde1e20137890addf18b23b47f17b1f63824b22
---
M src/soc/mediatek/mt8196/Makefile.mk
A src/soc/mediatek/mt8196/booker.c
M src/soc/mediatek/mt8196/bootblock.c
A src/soc/mediatek/mt8196/include/soc/booker.h
4 files changed, 50 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/85362/7
--
To view, visit https://review.coreboot.org/c/coreboot/+/85362?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: I6bde1e20137890addf18b23b47f17b1f63824b22
Gerrit-Change-Number: 85362
Gerrit-PatchSet: 7
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Dehui Sun <dehui.sun(a)mediatek.corp-partner.google.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-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Dehui Sun <dehui.sun(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Attention is currently required from: Alok Agarwal, Bora Guvendik, Jérémy Compostella, Ronak Kanabar, Vikrant L Jadeja, srinivas.kulkarni(a)intel.com.
Subrata Banik has posted comments on this change by Alok Agarwal. ( https://review.coreboot.org/c/coreboot/+/85149?usp=email )
Change subject: vc/intel/fsp: Update PTL FSP headers from 2382_01 to 2431.00
......................................................................
Patch Set 8:
(1 comment)
File src/vendorcode/intel/fsp/fsp2_0/pantherlake/FspmUpd.h:
https://review.coreboot.org/c/coreboot/+/85149/comment/e6a33442_bab91ed3?us… :
PS7, Line 2387:
: /** Offset 0x0976 - VR Fast Vmode ICC Limit support
: Voltage Regulator Fast Vmode ICC Limit. A value of 400 = 100A. A value of 0 corresponds
: to feature disabled (no reactive protection). This value represents the current
: threshold where the VR would initiate reactive protection if Fast Vmode is enabled.
: The value is represented in 1/4 A increments. Range 0-2040. [0] for IA, [1] for
: GT, [2] for SA, [3] through [5] are Reserved.
: **/
: UINT16 IccLimit[6];
> this is hand edited header file IMO because after creating the FSP partial header for FSP 2431.00, I don't see this UPD existed inside FSP partial header
I have submitted the original FSP partial header into coreboot
--
To view, visit https://review.coreboot.org/c/coreboot/+/85149?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: I1c1fed8f7ba9d25fdce5bbac3a9687800db33613
Gerrit-Change-Number: 85149
Gerrit-PatchSet: 8
Gerrit-Owner: Alok Agarwal <alok.agarwal(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: srinivas.kulkarni(a)intel.com
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-Attention: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Attention: Alok Agarwal <alok.agarwal(a)intel.com>
Gerrit-Attention: srinivas.kulkarni(a)intel.com
Gerrit-Comment-Date: Mon, 02 Dec 2024 11:33:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Attention is currently required from: Alok Agarwal, Bora Guvendik, Jérémy Compostella, Ronak Kanabar, Vikrant L Jadeja.
Subrata Banik has posted comments on this change by Alok Agarwal. ( https://review.coreboot.org/c/coreboot/+/85149?usp=email )
Change subject: vc/intel/fsp: Update PTL FSP headers from 2382_01 to 2431.00
......................................................................
Patch Set 7:
(1 comment)
File src/vendorcode/intel/fsp/fsp2_0/pantherlake/FspmUpd.h:
https://review.coreboot.org/c/coreboot/+/85149/comment/4773857e_af428319?us… :
PS7, Line 2387:
: /** Offset 0x0976 - VR Fast Vmode ICC Limit support
: Voltage Regulator Fast Vmode ICC Limit. A value of 400 = 100A. A value of 0 corresponds
: to feature disabled (no reactive protection). This value represents the current
: threshold where the VR would initiate reactive protection if Fast Vmode is enabled.
: The value is represented in 1/4 A increments. Range 0-2040. [0] for IA, [1] for
: GT, [2] for SA, [3] through [5] are Reserved.
: **/
: UINT16 IccLimit[6];
this is hand edited header file IMO because after creating the FSP partial header for FSP 2431.00, I don't see this UPD existed inside FSP partial header
--
To view, visit https://review.coreboot.org/c/coreboot/+/85149?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: I1c1fed8f7ba9d25fdce5bbac3a9687800db33613
Gerrit-Change-Number: 85149
Gerrit-PatchSet: 7
Gerrit-Owner: Alok Agarwal <alok.agarwal(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: srinivas.kulkarni(a)intel.com
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Vikrant L Jadeja <vikrant.l.jadeja(a)intel.com>
Gerrit-Attention: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Attention: Alok Agarwal <alok.agarwal(a)intel.com>
Gerrit-Comment-Date: Mon, 02 Dec 2024 11:25:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Hung-Te Lin, Paul Menzel, Yidi Lin, Yu-Ping Wu.
Jarried Lin has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85126?usp=email )
Change subject: soc/mediatek/mt8196: Add PMIF and PMIC driver support
......................................................................
Patch Set 8:
(4 comments)
File src/soc/mediatek/mt8196/include/soc/spm.h:
https://review.coreboot.org/c/coreboot/+/85126/comment/06ba955b_6ea58913?us… :
PS6, Line 645: u32 sys_timer_latch_l[16];
> Array usage is wrong. Should be a single array of structs of 2 u32 members.
Done
File src/soc/mediatek/mt8196/pmif_clk.c:
https://review.coreboot.org/c/coreboot/+/85126/comment/878ddb63_057669b8?us… :
PS6, Line 188: ret |= pmif_check_vlpck_freq(PMIF_VLPCK_TARGET_FREQ_MHZ);
> extra space after =
Done
File src/soc/mediatek/mt8196/pmif_spmi.c:
https://review.coreboot.org/c/coreboot/+/85126/comment/9485da14_49b13632?us… :
PS7, Line 183: __func__, dev->slvid, rdata);
> Align
Done
https://review.coreboot.org/c/coreboot/+/85126/comment/c27443c6_5ea20e26?us… :
PS7, Line 216: cali_data[i].dly, cali_data[i].pol, read32(®->mst_sampl));
> Align
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/85126?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: I232015f45735ee5278b09d0352410617a1565177
Gerrit-Change-Number: 85126
Gerrit-PatchSet: 8
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
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-CC: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Mon, 02 Dec 2024 11:19:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin, Paul Menzel, Yidi Lin.
Hello Hope Wang, Hung-Te Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85126?usp=email
to look at the new patch set (#8).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add PMIF and PMIC driver support
......................................................................
soc/mediatek/mt8196: Add PMIF and PMIC driver support
Implement PMIF driver for communication between SoC and PMIC. Develop
SPMI driver for communication over the SPMI bus. Add necessary
configurations and base addresses to support PMIF.
TEST=build pass
BUG=b:317009620
Change-Id: I232015f45735ee5278b09d0352410617a1565177
Signed-off-by: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
---
M src/soc/mediatek/mt8196/Makefile.mk
M src/soc/mediatek/mt8196/include/soc/addressmap.h
A src/soc/mediatek/mt8196/include/soc/pmif.h
A src/soc/mediatek/mt8196/include/soc/spm.h
A src/soc/mediatek/mt8196/pmif_clk.c
A src/soc/mediatek/mt8196/pmif_init.c
A src/soc/mediatek/mt8196/pmif_spmi.c
7 files changed, 1,732 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/85126/8
--
To view, visit https://review.coreboot.org/c/coreboot/+/85126?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: I232015f45735ee5278b09d0352410617a1565177
Gerrit-Change-Number: 85126
Gerrit-PatchSet: 8
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
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-CC: Yidi Lin <yidilin(a)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: Yidi Lin <yidilin(a)google.com>