Attention is currently required from: Hung-Te Lin.
Hello Hung-Te Lin, build bot (Jenkins), Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59746
to look at the new patch set (#4).
Change subject: soc/mediatek/mt8195: update devapc settings
......................................................................
soc/mediatek/mt8195: update devapc settings
In previous patch(chromium:2972318), we only add basic drivers and
settings, so we add this patch to set devapc final settings on MT8195.
1. Update permission setting
2. Updtate master domain setting:
- domain 1: PCIE0, PCIE1
- domain 2: SPM, SSPM, CPU_EB
3. Set domain remap
- MMSYS (4-bit to 2-bit)
- TINYSYS (4-bit to 3-bit)
- TINYSYS (3-bit to 4-bit)
- TINYSYS to EMI (3-bit to 4-bit)
- INFRA2 (3-bit to 4-bit)
4. Set SCP domain and ADSP domain
- domain 3: SCP
- domain 4: ADSP
BUG=b:204347737
TEST=build pass
Change-Id: I1846d56d2dc362de64b28e0ed9a0681f186af7ee
Signed-off-by: Nina Wu <nina-cm.wu(a)mediatek.com>
---
M src/soc/mediatek/mt8195/devapc.c
M src/soc/mediatek/mt8195/include/soc/addressmap.h
M src/soc/mediatek/mt8195/include/soc/devapc.h
3 files changed, 274 insertions(+), 142 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/59746/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/59746
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1846d56d2dc362de64b28e0ed9a0681f186af7ee
Gerrit-Change-Number: 59746
Gerrit-PatchSet: 4
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hung-Te Lin.
Hello Hung-Te Lin, build bot (Jenkins), Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59746
to look at the new patch set (#3).
Change subject: soc/mediatek/mt8195: update devapc settings
......................................................................
soc/mediatek/mt8195: update devapc settings
In previous patch(chromium:2972318), we only add basic drivers and
setting, and we add this patch to set devapc final settings on MT8195.
1. Update permission setting
2. Updtate master domain setting:
- domain 1: PCIE0, PCIE1
- domain 2: SPM, SSPM, CPU_EB
3. Set domain remap
- MMSYS (4-bit to 2-bit)
- TINYSYS (4-bit to 3-bit)
- TINYSYS (3-bit to 4-bit)
- TINYSYS to EMI (3-bit to 4-bit)
- INFRA2 (3-bit to 4-bit)
4. Set SCP domain and ADSP domain
- domain 3: SCP
- domain 4: ADSP
BUG=b:204347737
TEST=build pass
Change-Id: I1846d56d2dc362de64b28e0ed9a0681f186af7ee
Signed-off-by: Nina Wu <nina-cm.wu(a)mediatek.com>
---
M src/soc/mediatek/mt8195/devapc.c
M src/soc/mediatek/mt8195/include/soc/addressmap.h
M src/soc/mediatek/mt8195/include/soc/devapc.h
3 files changed, 274 insertions(+), 142 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/59746/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/59746
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1846d56d2dc362de64b28e0ed9a0681f186af7ee
Gerrit-Change-Number: 59746
Gerrit-PatchSet: 3
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hung-Te Lin, Rex-BC Chen.
Yu-Ping Wu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59746 )
Change subject: soc/mediatek/mt8195: update devapc settings
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/59746/comment/a31fd11d_4205ff4c
PS1, Line 8:
Please explain what this is for. What problem does it try to solve?
--
To view, visit https://review.coreboot.org/c/coreboot/+/59746
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1846d56d2dc362de64b28e0ed9a0681f186af7ee
Gerrit-Change-Number: 59746
Gerrit-PatchSet: 1
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Comment-Date: Tue, 30 Nov 2021 08:06:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak, Adam Liu.
Zhuohao Lee has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59610 )
Change subject: mainboard/google/brya/variants/brask: Enable audio driver option in bios-stage for brask
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Could you please clarify in the bug b/205646582 that why this patch is needed?
--
To view, visit https://review.coreboot.org/c/coreboot/+/59610
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I05c5d734ab9cd9a894084398decb5e3bac45ddf2
Gerrit-Change-Number: 59610
Gerrit-PatchSet: 2
Gerrit-Owner: Adam Liu <adam.liu(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Zhuohao Lee <zhuohao(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Alan Huang <alan-huang(a)quanta.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Attention: Adam Liu <adam.liu(a)quanta.corp-partner.google.com>
Gerrit-Comment-Date: Tue, 30 Nov 2021 07:58:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Yu-Ping Wu.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59746 )
Change subject: soc/mediatek/mt8195: update devapc settings
......................................................................
Patch Set 1:
(9 comments)
File src/soc/mediatek/mt8195/include/soc/devapc.h:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/0327ef6d_a7bfb508
PS1, Line 106: #define NO_PROTECTION2 NO_PROTECTION, NO_PROTECTION
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/7f4ea517_ba4eb814
PS1, Line 107: #define NO_PROTECTION3 NO_PROTECTION2, NO_PROTECTION
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/5e0b6752_655f51fb
PS1, Line 109: #define FORBIDDEN2 FORBIDDEN, FORBIDDEN
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/84a3f89d_09464338
PS1, Line 113: #define FORBIDDEN10 FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN, \
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/00274cee_526ef157
PS1, Line 116: #define FORBIDDEN11 FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN, FORBIDDEN, \
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/8d2a300d_f16f5baa
PS1, Line 119: #define FORBIDDEN12 FORBIDDEN11, FORBIDDEN
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/b8d9c8f5_a09c2d38
PS1, Line 120: #define FORBIDDEN13 FORBIDDEN12, FORBIDDEN
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/af5478f4_d9bb244f
PS1, Line 121: #define FORBIDDEN14 FORBIDDEN13, FORBIDDEN
Macros with complex values should be enclosed in parentheses
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-134635):
https://review.coreboot.org/c/coreboot/+/59746/comment/c425b250_5adb8519
PS1, Line 122: #define FORBIDDEN15 FORBIDDEN14, FORBIDDEN
Macros with complex values should be enclosed in parentheses
--
To view, visit https://review.coreboot.org/c/coreboot/+/59746
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1846d56d2dc362de64b28e0ed9a0681f186af7ee
Gerrit-Change-Number: 59746
Gerrit-PatchSet: 1
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(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-CC: 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-Comment-Date: Tue, 30 Nov 2021 07:47:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Shelley Chen, Paul Menzel, Jianjun Wang.
Yu-Ping Wu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59738 )
Change subject: helpers: Add fls support
......................................................................
Patch Set 1:
(6 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/59738/comment/a5f12654_c430502d
PS1, Line 12: only used
define fls only
https://review.coreboot.org/c/coreboot/+/59738/comment/caf3f59a_515945dd
PS1, Line 15: This code is copied from Linux kernel in: include/asm-generic/bitops/fls.h
The license here (BSD) is different (from kernel's GPL-2.0), so we usually don't copy things from kernel. No need to mention that in the commit message.
File src/commonlib/bsd/include/commonlib/bsd/helpers.h:
https://review.coreboot.org/c/coreboot/+/59738/comment/488099de_1d1313c8
PS1, Line 129: ARCH_X86
We should use
#if CONFIG(ARCH_X86)
There's build error for x86 platforms:
In file included from src/commonlib/include/commonlib/helpers.h:10,
from src/include/stddef.h:4,
from src/include/stdarg.h:11,
from src/include/console/vtxprintf.h:6,
from src/include/console/console.h:7,
from src/cpu/x86/mtrr/debug.c:3:
src/commonlib/bsd/include/commonlib/bsd/helpers.h:137:28: note: previous definition of 'fls' with type 'int(unsigned int)'
137 | static __always_inline int fls(unsigned int x)
| ^~~
make[1]: *** [Makefile:381: /cb-build/coreboot-gerrit.0/chromeos/AMD_MAJOLICA/bootblock/cpu/x86/mtrr/debug.o] Error 1
make[1]: Leaving directory '/home/coreboot/node-root/workspace/coreboot-gerrit'
EMULATION_QEMU_X86_Q35_SMM_TSEG build FAILED after 2s!
https://review.coreboot.org/c/coreboot/+/59738/comment/d134ec8b_8f17fa5f
PS1, Line 132: @x: the word to search
@param x Input number.
https://review.coreboot.org/c/coreboot/+/59738/comment/8974d8bc_6aa4d9f0
PS1, Line 134: ffs
There's no such function here. Please remove the comment.
https://review.coreboot.org/c/coreboot/+/59738/comment/d61c5775_8ca4e091
PS1, Line 137: fls
Please add unit tests. See CB:56543 as an example.
--
To view, visit https://review.coreboot.org/c/coreboot/+/59738
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib458abfec7e03b2979569a8440a6e69b0285ac32
Gerrit-Change-Number: 59738
Gerrit-PatchSet: 1
Gerrit-Owner: Jianjun Wang <jianjun.wang(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Shelley Chen <shchen(a)google.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jianjun Wang <jianjun.wang(a)mediatek.corp-partner.google.com>
Gerrit-Comment-Date: Tue, 30 Nov 2021 07:31:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment