Attention is currently required from: Patrick Rudolph.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52628 )
Change subject: soc/intel/cannonlake: Clean up root port structs
......................................................................
Patch Set 3:
(1 comment)
File src/soc/intel/cannonlake/chip.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-118074):
https://review.coreboot.org/c/coreboot/+/52628/comment/85f9986b_1149e8df
PS3, Line 22: #if CONFIG(SOC_INTEL_CANNONLAKE_PCH_H)
braces {} are not necessary for single statement blocks
--
To view, visit https://review.coreboot.org/c/coreboot/+/52628
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie256222ece35f1f607af1cc922aacf7c026432b9
Gerrit-Change-Number: 52628
Gerrit-PatchSet: 3
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 29 Apr 2021 22:57:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Patrick Rudolph.
Hello build bot (Jenkins), Michael Niewöhner, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/52628
to look at the new patch set (#3).
Change subject: soc/intel/cannonlake: Clean up root port structs
......................................................................
soc/intel/cannonlake: Clean up root port structs
Currently, a runtime check is used for choosing the correct struct with
root port count in order to update the devicetree. Since this can be
done at compile time, merge these structs into one using a preprocessor
if-condition and remove that runtime check.
Change-Id: Ie256222ece35f1f607af1cc922aacf7c026432b9
Signed-off-by: Felix Singer <felixsinger(a)posteo.net>
---
M src/soc/intel/cannonlake/chip.c
1 file changed, 4 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/52628/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/52628
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie256222ece35f1f607af1cc922aacf7c026432b9
Gerrit-Change-Number: 52628
Gerrit-PatchSet: 3
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Felix Singer, Patrick Rudolph.
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52628 )
Change subject: soc/intel/cannonlake: Clean up root port structs
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/52628
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie256222ece35f1f607af1cc922aacf7c026432b9
Gerrit-Change-Number: 52628
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 29 Apr 2021 22:46:28 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Patrick Rudolph.
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52627 )
Change subject: soc/intel/skylake: Clean up root port structs
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/52627/comment/c1e5d672_8fe163d6
PS2, Line 9: correct struct with
: root port count
PCIe root port groups struct?
--
To view, visit https://review.coreboot.org/c/coreboot/+/52627
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0d5155356bd302ef938c76eb60688276fec67502
Gerrit-Change-Number: 52627
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 29 Apr 2021 22:45:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Nick Vaccaro, Patrick Rudolph.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52765 )
Change subject: device: Switch pci_dev_is_wake_source to take pci_devfn_t
......................................................................
Patch Set 2:
(1 comment)
File src/soc/intel/jasperlake/elog.c:
https://review.coreboot.org/c/coreboot/+/52765/comment/f389da2e_36a276ca
PS2, Line 15: pci_devfn_t
> This will need update too here and in other SoC elog.c files. Can be pushed as a separate change.
You mean `unsigned int` instead of something that makes you think it's an MMCONF-compatible devfn? 😄
--
To view, visit https://review.coreboot.org/c/coreboot/+/52765
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4c39e5188321c8711d6479b15065e5aaedad8f38
Gerrit-Change-Number: 52765
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 29 Apr 2021 22:44:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Felix Singer, Patrick Rudolph.
Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52627 )
Change subject: soc/intel/skylake: Clean up root port structs
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
File src/soc/intel/skylake/chip.c:
https://review.coreboot.org/c/coreboot/+/52627/comment/f866b218_bc9340f5
PS2, Line 35: static const struct pcie_rp_group pch_rp_groups[] = {
: #if CONFIG(SKYLAKE_SOC_PCH_H)
: { .slot = PCH_DEV_SLOT_PCIE, .count = 8 },
: { .slot = PCH_DEV_SLOT_PCIE_1, .count = 8 },
: /* Sunrise Point PCH-H actually only has 4 ports in the
: third group. But that would require a runtime check
: and probing 4 non-existent ports shouldn't hurt. */
: { .slot = PCH_DEV_SLOT_PCIE_2, .count = 8 },
: #else
: { .slot = PCH_DEV_SLOT_PCIE, .count = 8 },
: { .slot = PCH_DEV_SLOT_PCIE_1, .count = 4 },
: #endif
:
we already have one PCH with only 4 ports in group 3 (PCIE_2): KBL. we can do the same for -LP like this:
static const struct pcie_rp_group pch_rp_groups[] = {
{ .slot = PCH_DEV_SLOT_PCIE, .count = 8 },
{ .slot = PCH_DEV_SLOT_PCIE_1, .count = 8 },
#if CONFIG(SKYLAKE_SOC_PCH_H)
/* Sunrise Point PCH-H actually only has 4 ports in the
third group. But that would require a runtime check
and probing 4 non-existent ports shouldn't hurt. */
{ .slot = PCH_DEV_SLOT_PCIE_2, .count = 8 },
#endif
{ 0 }
};
I both cases, KBL-H and SKL/KBL-LP, we'd check 4 ports more then we have, but that doesn't hurt
--
To view, visit https://review.coreboot.org/c/coreboot/+/52627
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0d5155356bd302ef938c76eb60688276fec67502
Gerrit-Change-Number: 52627
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Thu, 29 Apr 2021 22:44:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment