Attention is currently required from: Intel coreboot Reviewers, Jayvik Desai, Julius Werner, Jérémy Compostella, Kapil Porwal, Pranava Y N.
Hello Intel coreboot Reviewers, Jayvik Desai, Julius Werner, Kapil Porwal, Pranava Y N, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/86002?usp=email
to look at the new patch set (#6).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: soc/intel/pantherlake: Enable FSP debug log level control using CBFS
......................................................................
soc/intel/pantherlake: Enable FSP debug log level control using CBFS
This commit enables the FSP_DEBUG_LOG_LEVEL_USING_CBFS Kconfig option
for Panther Lake ChromeOS devices.
This allows controlling the FSP debug log level using CBFS RAW binary
files, providing more flexibility in debugging silicon firmware issues
with a debug AP FW binary.
The following CBFS files are used to determine the log levels:
- fsp_pcd_debug_level: For the overall FSP debug log level.
- fsp_mrc_debug_level: For the MRC (Memory Reference Code) debug log
level.
Refer to the Kconfig help text for FSP_DEBUG_LOG_LEVEL_USING_CBFS for
details on the valid log level values and how to set them using
cbfstool.
This capability is particularly useful when debugging issues that require
examining both silicon and MRC logs simultaneously.
BUG=b:227151510
TEST=Able to control the FSP debug log based on CBFS options
To inject the fsp_pcd_debug_level and fsp_mrc_debug_level CBFS files
with the desired log level, run:
```
cbfstool image-fatcat.serial.bin add-int -i 5 -n option/fsp_pcd_debug_level
cbfstool image-fatcat.serial.bin add-int -i 5 -n option/fsp_mrc_debug_level
```
Change-Id: Ia2fc07188afde34d61ce8d50d3d722de48228e37
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
---
M src/soc/intel/pantherlake/fsp_params.c
M src/soc/intel/pantherlake/romstage/fsp_params.c
2 files changed, 9 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/86002/6
--
To view, visit https://review.coreboot.org/c/coreboot/+/86002?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: Ia2fc07188afde34d61ce8d50d3d722de48228e37
Gerrit-Change-Number: 86002
Gerrit-PatchSet: 6
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
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-CC: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Pranava Y N <pranavayn(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin.
Yidi Lin has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/86017?usp=email )
Change subject: soc/mediatek/mt8196: Add thermal driver
......................................................................
Patch Set 2:
(5 comments)
File src/soc/mediatek/mt8196/Makefile.mk:
https://review.coreboot.org/c/coreboot/+/86017/comment/6a793bd9_7511c7b3?us… :
PS2, Line 46: romstage-y += pmif_spmi.c
: romstage-y += srclken_rc.c
: romstage-y += mt_thermal.c
: romstage-y += mt_thermal_sram_init.c
sort
File src/soc/mediatek/mt8196/mt_thermal.c:
https://review.coreboot.org/c/coreboot/+/86017/comment/0647b075_a9bdffd2?us… :
PS2, Line 7: #include <stddef.h>
: #include <stdlib.h>
: #include <stdio.h>
: #include <string.h>
what are those for ?
please include `console/console.h` for `printk`
https://review.coreboot.org/c/coreboot/+/86017/comment/7412ea5e_2ae58613?us… :
PS2, Line 318: 0x%x,
%#x
File src/soc/mediatek/mt8196/mt_thermal_sram_init.c:
https://review.coreboot.org/c/coreboot/+/86017/comment/80559f64_c0014e2f?us… :
PS2, Line 32: int i = 0;
: uint32_t pattern = 0xffffffff;
: uint32_t *buff = (uint32_t *)THERMAL_STAT_SRAM_BASE;
: for (i = 0; i < THERMAL_STAT_SRAM_LEN / 4; i++) {
: *buff = pattern;
: buff++;
: }
> Would it be better to align the same style with thermal_cls_sram() function?
I don't think that is necessary.
https://review.coreboot.org/c/coreboot/+/86017/comment/e394bbd8_95a91d25?us… :
PS2, Line 48: int i = 0;
: uint32_t pattern = 0xffffffff;
: uint32_t *buff = (uint32_t *)GPU_THERMAL_STAT_SRAM_BASE;
: for (i = 0; i < GPU_THERMAL_STAT_SRAM_LEN / 4; i++) {
: *buff = pattern;
: buff++;
: }
> Would it be better to align the same style with thermal_cls_sram() function?
I don't think that is necessary.
--
To view, visit https://review.coreboot.org/c/coreboot/+/86017?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: Ieef94a6909e4da82461351bcb9292e9d01db3362
Gerrit-Change-Number: 86017
Gerrit-PatchSet: 2
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-CC: Zhaoqing Jiu <zhaoqing.jiu(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Fri, 17 Jan 2025 04:09:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Zhaoqing Jiu <zhaoqing.jiu(a)mediatek.corp-partner.google.com>
Comment-In-Reply-To: Yu-Ping Wu <yupingso(a)google.com>