Attention is currently required from: Angel Pons, Werner Zeh.
Jan Samek has uploaded a new patch set (#2) to the change originally created by Angel Pons. ( https://review.coreboot.org/c/coreboot/+/68223 )
Change subject: mb/siemens/mc_apl*: Enable early PCI bridge before FSP-M
......................................................................
mb/siemens/mc_apl*: Enable early PCI bridge before FSP-M
Apollo Lake seems to start with PCIe root ports unusable/uninitialized
before FspMemoryInit() is called and FSP-M properly initializes these
root ports.
However, we need the root ports accessible before FspMemoryInit() in
certain cases (like this one - emiting POST codes through a PCIe
device).
For the inicialization to happen properly, certain register writes
specified in Apollo Lake IAFW vol. 2 (#559811), chapter 3.3.1, have
to be done.
BUG=none
TEST=Boot on siemens/mc_apl2 with NC_FPGA_POST_CODE enabled and check
that the POST codes are emited before FspMemoryInit().
Change-Id: If782bfdd5f499dd47c085a0a16b4b15832bc040e
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
Signed-off-by: Jan Samek <jan.samek(a)siemens.com>
---
M src/mainboard/siemens/mc_apl1/bootblock.c
1 file changed, 50 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/68223/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/68223
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If782bfdd5f499dd47c085a0a16b4b15832bc040e
Gerrit-Change-Number: 68223
Gerrit-PatchSet: 2
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Jan Samek <jan.samek(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Subrata Banik, Reka Norman, Nick Vaccaro, Julius Werner, Angel Pons, Karthikeyan Ramasubramanian.
Hello build bot (Jenkins), Subrata Banik, Kangheui Won, Nick Vaccaro, Julius Werner, Angel Pons, Arthur Heymans, Karthikeyan Ramasubramanian,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68641
to look at the new patch set (#3).
Change subject: arch/x86/postcar_loader: Don't add postcar to stage cache
......................................................................
arch/x86/postcar_loader: Don't add postcar to stage cache
In romstage, CBMEM and TSEG are not yet cached, so reading/writing to
the stage cache is slow. This means there isn't really any benefit to
adding postcar to the stage cache:
- During boot, adding it to the stage cache adds a few ms of boot time,
since writing to uncached memory is slow.
- During S3 resume, reading from stage cache takes roughly the same
time as reading from SPI, so we get little or no savings anyway.
E.g. on nivviks, this change saves 6 ms of boot time and 2 ms of S3
resume time.
Adding postcar to stage cache:
Boot:
rmodule_stage_load() - 4 ms
stage_cache_add() - 6 ms
S3 resume:
stage_cache_load_stage() - 6 ms
Not adding postcar to stage cache:
Boot:
rmodule_stage_load() - 4 ms
S3 resume:
rmodule_stage_load() - 4 ms
Savings:
Boot time - 6 ms
S3 resume time - 2 ms
------------------------------------
Savings on other devices:
nivviks anahera kindred treeya
rmodule_stage_load() 4.0 1.4 0.8 2.8
stage_cache_add() 6.0 2.8 1.5 2.0
stage_cache_load_stage() 6.0 2.8 1.5 2.0
Boot time savings 6.0 2.8 1.5 2.0
S3 resume time savings 2.0 1.4 0.7 -0.8
Note AMD platforms from zork onwards don't use postcar due to PSP
verstage.
BUG=b:247940538
TEST=On nivviks, boot and check S3 resume still works. Add logging to
check postcar is added to stage cache when POSTCAR_IN_STAGE_CACHE is
selected, and not added otherwise.
Change-Id: I3614c0874a6c71d13606b0b782ea445692d88bb1
Signed-off-by: Reka Norman <rekanorman(a)chromium.org>
---
M src/arch/x86/Kconfig
M src/arch/x86/postcar_loader.c
2 files changed, 70 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/68641/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/68641
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3614c0874a6c71d13606b0b782ea445692d88bb1
Gerrit-Change-Number: 68641
Gerrit-PatchSet: 3
Gerrit-Owner: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
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-CC: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Subrata Banik, Reka Norman, Nick Vaccaro, Julius Werner, Angel Pons, Karthikeyan Ramasubramanian.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68641 )
Change subject: arch/x86/postcar_loader: Don't add postcar to stage cache
......................................................................
Patch Set 2: Code-Review-2
(1 comment)
Patchset:
PS2:
The reason for using a stage cache in TSEG for the S3 resume path is for security reasons. After SMM is locked down, that memory cannot be modified by the OS. The SPI flash on the other hand can be modified if we are on a RW_A/B path.
Also whether reading from cached SPI flash (with prefetch enabled) is faster than reading uncached DRAM is probably platform dependent.
Also https://review.coreboot.org/c/coreboot/+/36674/22 does set up caching for the stage cache region (and cbmem). Maybe that will provide you some performance boosts?
--
To view, visit https://review.coreboot.org/c/coreboot/+/68641
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3614c0874a6c71d13606b0b782ea445692d88bb1
Gerrit-Change-Number: 68641
Gerrit-PatchSet: 2
Gerrit-Owner: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
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-CC: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
Gerrit-Comment-Date: Fri, 21 Oct 2022 08:22:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68665 )
Change subject: mb/google/brask/var/kuldax: Revise PsysPL2 to 150W for Pentium CPU
......................................................................
Patch Set 1:
(3 comments)
File src/mainboard/google/brya/variants/kuldax/ramstage.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-160963):
https://review.coreboot.org/c/coreboot/+/68665/comment/0ccaf56f_5cf630b3
PS1, Line 69: if (fw_config_probe(FW_CONFIG(BJ_POWER, BJ_POWER_65W))) {
braces {} are not necessary for any arm of this statement
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-160963):
https://review.coreboot.org/c/coreboot/+/68665/comment/e6c57685_00767fb7
PS1, Line 70: variant_update_psys_power_limits(limits, sys_limits, total_entries, &psys_config);
line length of 98 exceeds 96 columns
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-160963):
https://review.coreboot.org/c/coreboot/+/68665/comment/c4eae086_fcb2387d
PS1, Line 72: variant_update_psys_power_limits(limits, revise_sys_limits, total_entries, &psys_config);
line length of 105 exceeds 96 columns
--
To view, visit https://review.coreboot.org/c/coreboot/+/68665
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I63b2a9d79454b20b60ba1317a8eebb3c10eff9d6
Gerrit-Change-Number: 68665
Gerrit-PatchSet: 1
Gerrit-Owner: David Wu <david_wu(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Comment-Date: Fri, 21 Oct 2022 08:06:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Subrata Banik, Reka Norman, Nick Vaccaro, Julius Werner, Angel Pons, Arthur Heymans, Karthikeyan Ramasubramanian.
Kangheui Won has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68641 )
Change subject: arch/x86/postcar_loader: Don't add postcar to stage cache
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/68641/comment/2b273a68_8833360e
PS2, Line 40: treeya
Can you also test on Zork or MI devices since they have different flow due to psp-verstage?
--
To view, visit https://review.coreboot.org/c/coreboot/+/68641
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3614c0874a6c71d13606b0b782ea445692d88bb1
Gerrit-Change-Number: 68641
Gerrit-PatchSet: 2
Gerrit-Owner: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
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-CC: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Attention: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Karthikeyan Ramasubramanian <kramasub(a)chromium.org>
Gerrit-Comment-Date: Fri, 21 Oct 2022 07:01:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: V Sowmya, Tim Wawrzynczak.
Kangheui Won has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68252 )
Change subject: soc/intel/alderlake_n: Enable FIVR VCCST ICCMax Control
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/68252
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I10709ee8653563b397e8408e8e24ef8e656b02e5
Gerrit-Change-Number: 68252
Gerrit-PatchSet: 3
Gerrit-Owner: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: Baieswara Reddy Sagili <baieswara.reddy.sagili(a)intel.com>
Gerrit-Reviewer: Kangheui Won <khwon(a)chromium.org>
Gerrit-Reviewer: Reka Norman <rekanorman(a)chromium.org>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Simon Yang <simon1.yang(a)intel.com>
Gerrit-Attention: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Comment-Date: Fri, 21 Oct 2022 06:58:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Bayi Cheng, Yidi Lin, Yu-Ping Wu.
Rex-BC Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68659 )
Change subject: soc/mediatek/mt8186: Lower SPI NOR frequency from 52Mhz to 39Mhz
......................................................................
Patch Set 3:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/68659/comment/2c70b383_a1d6cbd1
PS2, Line 10: winbond
> please fill the model name
Done
https://review.coreboot.org/c/coreboot/+/68659/comment/f58558b1_1ebc81d1
PS2, Line 14: We change the NOR flash clcok parent and adjust the clock from 52M to
> remove this paragraph
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/68659
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibcf4549fefa28b2ad9c38e31ec9a69f8afeff3fd
Gerrit-Change-Number: 68659
Gerrit-PatchSet: 3
Gerrit-Owner: Rex-BC Chen <rex-bc.chen(a)mediatek.com>
Gerrit-Reviewer: Bayi Cheng <bayi.cheng(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Rex-BC Chen <rex-bc.chen(a)mediatek.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: Bayi Cheng <bayi.cheng(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Comment-Date: Fri, 21 Oct 2022 05:49:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Gerrit-MessageType: comment