Attention is currently required from: Hung-Te Lin, Rex-BC Chen, Ryan Chuang.
Hello Hung-Te Lin, build bot (Jenkins), Ryan Chuang, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56099
to look at the new patch set (#2).
Change subject: vc/mediatek/mt8195: Improve DRAM driver
......................................................................
vc/mediatek/mt8195: Improve DRAM driver
1. Improve settings of duty calibration.
2. Enable VREF calibration at DDR3200 for enter/exit S0 stability.
3. Enable DRAM Vcore DVFS settings.
Signed-off-by: Ryan Chuang <ryan.chuang(a)mediatek.corp-partner.google.com>
Change-Id: I8ae81bf26e3665e595721577794836ef39b55ef7
---
M src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c
M src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c
M src/vendorcode/mediatek/mt8195/dramc/dramc_top.c
M src/vendorcode/mediatek/mt8195/include/dramc_pi_api.h
4 files changed, 13 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/56099/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/56099
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8ae81bf26e3665e595721577794836ef39b55ef7
Gerrit-Change-Number: 56099
Gerrit-PatchSet: 2
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: Ryan Chuang <ryan.chuang(a)mediatek.corp-partner.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: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Ryan Chuang <ryan.chuang(a)mediatek.corp-partner.google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hung-Te Lin, Rex-BC Chen, Ryan Chuang.
Yu-Ping Wu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56099 )
Change subject: vc/mediatek/mt8195: Improve DRAM driver
......................................................................
Patch Set 1:
(1 comment)
File src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c:
https://review.coreboot.org/c/coreboot/+/56099/comment/ae0bd97d_75774556
PS1, Line 275: //print("Vio18 = %d\n", dramc_get_vio18_voltage());
If we want to comment this out, please remove it.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56099
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8ae81bf26e3665e595721577794836ef39b55ef7
Gerrit-Change-Number: 56099
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: Ryan Chuang <ryan.chuang(a)mediatek.corp-partner.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: Rex-BC Chen <rex-bc.chen(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Ryan Chuang <ryan.chuang(a)mediatek.corp-partner.google.com>
Gerrit-Comment-Date: Tue, 06 Jul 2021 08:22:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/56044
to look at the new patch set (#5).
Change subject: [TESTONLY]do we use cbfs-relative base addresses as input??
......................................................................
[TESTONLY]do we use cbfs-relative base addresses as input??
If no-one is using this, we might as well get rid of it?
Change-Id: I87349e98d6aeac5d3f79c8a067982cd136a0b863
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M util/cbfstool/cbfstool.c
1 file changed, 7 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/56044/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/56044
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I87349e98d6aeac5d3f79c8a067982cd136a0b863
Gerrit-Change-Number: 56044
Gerrit-PatchSet: 5
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: newpatchset
Attention is currently required from: Patrick Rudolph.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56096 )
Change subject: TESTONLY: Link pagetables into programs instead of using a cbfs file
......................................................................
Patch Set 1:
(1 comment)
File src/cpu/x86/64bit/pt.S:
https://review.coreboot.org/c/coreboot/+/56096/comment/1138c642_9ec526a8
PS1, Line 14: .align 32
> This is the alignment relative to _program. Shouldn't all CBFS files using this assembly code then be aligned to 4096 as well?
>
> Does it work for bootblock where _eprogram is aligned to 4GiB instead of _program?
So bootblock is a special program. It is linked at the address it gets executed, which means this just works. Other programs should be aligned to 4096, which would be cbfstool's job.
Relocatable stages already have 4K runtime alignment afaict: https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/sr….
So the only thing left to do is 4K alignment for early programs, especially those that are XIP.
Anyway RO/part of program PT are not always needed. We might need to differentiate:
- Some platforms have enough CAR that you could generate it in place
- On Intel GLK, PT are copied from cbfs into CAR -> this could be probably be improved too
- RAM stages could have the PT in DRAM: care needs to be taken in postcar, e.g. if PT are in CAR. I think with stages in DRAM you want the PT in .bss or .data an just put an identity table in there, either generated or static.
- SMM is weird. You can't link a PT inside the stub, but the stub needs to know where it is: preferably inside the permanent handler or inside ramstage during relocation. That means a stub relocatable param pointing to it.
- Sipi Vector in ramstage: you probably also want a pointer to the ramstage PT inside the relocatable params.
--
To view, visit https://review.coreboot.org/c/coreboot/+/56096
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice4fd15d131b8c91bc98afad7f459ce3485b786d
Gerrit-Change-Number: 56096
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Comment-Date: Tue, 06 Jul 2021 08:12:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56096 )
Change subject: TESTONLY: Link pagetables into programs instead of using a cbfs file
......................................................................
Patch Set 1:
(1 comment)
File src/cpu/x86/64bit/pt.S:
https://review.coreboot.org/c/coreboot/+/56096/comment/1f697318_f3e876de
PS1, Line 14: .align 32
This is the alignment relative to _program. Shouldn't all CBFS files using this assembly code then be aligned to 4096 as well?
Does it work for bootblock where _eprogram is aligned to 4GiB instead of _program?
--
To view, visit https://review.coreboot.org/c/coreboot/+/56096
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ice4fd15d131b8c91bc98afad7f459ce3485b786d
Gerrit-Change-Number: 56096
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Comment-Date: Tue, 06 Jul 2021 07:48:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Sean Rhodes.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/56088 )
Change subject: mainboard: Add Star Labs labtop series
......................................................................
Patch Set 8:
(2 comments)
File src/mainboard/starlabs/labtop/variants/cml/romstage.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-123481):
https://review.coreboot.org/c/coreboot/+/56088/comment/4805e1a9_2b4e535c
PS8, Line 106: const uint8_t ht = get_uint_option("hyper_threading", memupd->FspmConfig.HyperThreading);
line over 96 characters
File src/mainboard/starlabs/labtop/variants/tgl/devtree.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-123481):
https://review.coreboot.org/c/coreboot/+/56088/comment/71b51e66_35ba1a40
PS8, Line 13: // TODO: TGL needs power_limits_config[POWER_LIMITS_U_2_CORE] and power_limits_config[POWER_LIMITS_U_4_CORE]
line over 96 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/56088
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I090971a9e8d2be5b08be886d00d304607304b645
Gerrit-Change-Number: 56088
Gerrit-PatchSet: 8
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Comment-Date: Tue, 06 Jul 2021 07:33:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment