Attention is currently required from: Andrey Petrov, Arthur Heymans, Christian Walter, Hung-Te Lin, Jakub Czapiga, Johnny Lin, Maximilian Brune, Ronak Kanabar, Tim Chu, Yidi Lin, Yu-Ping Wu.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/77969?usp=email )
Change subject: treewide: Add commonlib/bsd/stdlib.h
......................................................................
Patch Set 7:
(8 comments)
File src/commonlib/bsd/include/commonlib/bsd/stdlib.h:
https://review.coreboot.org/c/coreboot/+/77969/comment/17ad0ab9_40b14d69 :
PS7, Line 10: #if CONFIG(COREBOOT_BUILD)
I think this is also not great (I know that that's not your patch, but I think a bunch of things were badly designed when these files were first added and then hardly anything ever used them so nobody cared much, but now if we want to start using them more we should clean stuff up a bit). CONFIG() isn't guaranteed to be defined in the commonlib environment, and I believe would in fact be missing if you tried to use this from cbfstool.
I think we should replace this with something that comes directly from the coreboot Makefiles (e.g. set `-D__COREBOOT__` in `CPPFLAGS_common` and then check with `#ifdef` for that here).
https://review.coreboot.org/c/coreboot/+/77969/comment/7005b3d8_291079f8 :
PS7, Line 30: %s/%s/line %d
nit: This may just be my personal nitpick, but I find the `%s:%d %s():` from libpayload nicer than this.
File src/commonlib/include/commonlib/stdlib.h:
https://review.coreboot.org/c/coreboot/+/77969/comment/81fd5b68_e00e32c6 :
PS2, Line 44: int dma_coherent(const void *ptr);
> Now I removed the `dma_malloc` and `dma_coherent` declarations from commonlib stdlib. […]
Acknowledged
File src/drivers/intel/fsp2_0/silicon_init.c:
https://review.coreboot.org/c/coreboot/+/77969/comment/4abee7fd_2b4e65de :
PS6, Line 8: #include <commonlib/bsd/stdlib.h>
> They originally all included commonlib/stdlib.h so I wasn't sure if that was the intention. […]
Yeah, that policy isn't cleanly implemented everywhere in coreboot, but it's good to fix up things while you touch them. (This file is still wrong though, in the others you got it right now but this should also be `<stdlib.h>` not `<commonlib/bsd/stdlib.h>`.)
File src/lib/device_tree.c:
https://review.coreboot.org/c/coreboot/+/77969/comment/52bb0d8a_d91c507d :
PS7, Line 5: #include <stdlib.h>
already included below
File src/soc/intel/xeon_sp/spr/numa.c:
https://review.coreboot.org/c/coreboot/+/77969/comment/271d1483_ed355a2c :
PS7, Line 4: #include <stdlib.h>
Not really necessary for files that already include `<types.h>` (that's our convenience shortcut header for "stdlib, stddef and all that stuff").
File src/soc/mediatek/common/pcie.c:
https://review.coreboot.org/c/coreboot/+/77969/comment/252752bb_18a1f495 :
PS7, Line 4: #include <stdlib.h>
same
File src/soc/mediatek/mt8195/pcie.c:
https://review.coreboot.org/c/coreboot/+/77969/comment/977e50be_d14fa718 :
PS7, Line 3: #include <stdlib.h>
same
--
To view, visit https://review.coreboot.org/c/coreboot/+/77969?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3a7ab0d1ddcc7ce9af121a61b4d4eafc9e563a8a
Gerrit-Change-Number: 77969
Gerrit-PatchSet: 7
Gerrit-Owner: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Tim Chu <Tim.Chu(a)quantatw.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-CC: Julius Werner <jwerner(a)chromium.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Attention: Johnny Lin <Johnny_Lin(a)wiwynn.com>
Gerrit-Attention: Christian Walter <christian.walter(a)9elements.com>
Gerrit-Attention: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Attention: Andrey Petrov <andrey.petrov(a)gmail.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Tim Chu <Tim.Chu(a)quantatw.com>
Gerrit-Comment-Date: Wed, 15 Nov 2023 01:08:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Maximilian Brune <maximilian.brune(a)9elements.com>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Martin L Roth, Maximilian Brune, Nico Huber.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78972?usp=email )
Change subject: util/lint: Add linter to keep selects out of Kconfig.name
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
Patchset:
PS1:
> Julius, Your proposal of selecting the baseboard in the Kconfig. […]
Okay, sounds like we have a good compromise here. I've uploaded CB:79022 and CB:79063 to align the Google Arm boards to that scheme.
--
To view, visit https://review.coreboot.org/c/coreboot/+/78972?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I2aab78e296f2958e77a938b1afa40a25a6aa82b0
Gerrit-Change-Number: 78972
Gerrit-PatchSet: 3
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-CC: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Comment-Date: Wed, 15 Nov 2023 00:36:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Martin L Roth <gaumless(a)gmail.com>
Comment-In-Reply-To: Maximilian Brune <maximilian.brune(a)9elements.com>
Comment-In-Reply-To: Julius Werner <jwerner(a)chromium.org>
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79063?usp=email )
Change subject: google/*: Clean up Kconfg board selection for Google MTK boards
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
I'm trying to align all our Arm boards to a common Kconfig structure and I think this is the cleanest I can come up with, but I know these things can be subjective so let me know if you don't like it.
--
To view, visit https://review.coreboot.org/c/coreboot/+/79063?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I40880e7609ba703d0053ad01da742871e54d4e7a
Gerrit-Change-Number: 79063
Gerrit-PatchSet: 1
Gerrit-Owner: Julius Werner <jwerner(a)chromium.org>
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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Comment-Date: Wed, 15 Nov 2023 00:34:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Arthur Heymans, Cliff Huang, Felix Held, Jeremy Compostella, Lance Zhao, Tim Wawrzynczak.
Jérémy Compostella has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79002?usp=email )
Change subject: acpi/acpigen: rework acpigen_pop_len for different size PkgLength
......................................................................
Patch Set 9: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/79002?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib897b08a05a7cdc52902d51364246c260ea1f206
Gerrit-Change-Number: 79002
Gerrit-PatchSet: 9
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Jeremy Compostella <jeremy.compostella(a)gmail.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Attention: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Attention: Jeremy Compostella <jeremy.compostella(a)gmail.com>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Wed, 15 Nov 2023 00:14:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Maximilian Brune.
Martin L Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/77780?usp=email )
Change subject: sbom/Makefile.inc: Change GOPATH
......................................................................
Patch Set 3: Code-Review+2
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/77780/comment/c9d8898d_57b014ca :
PS3, Line 7: sbom/Makefile.inc
Should me make this change wider than just the SBOM? Maybe put it into toolchain.inc or someplace that gives it a wider reach?
https://review.coreboot.org/c/coreboot/+/77780/comment/bef9cde3_5be91eb5 :
PS3, Line 11: since offline build are still not
: possible, because go will fetch the packages at build time
Can we do something like we do with the util/crossgcc/tarballs folder where files can be placed to be installed by the coreboot builds even when the system isn't connected to the internet?
--
To view, visit https://review.coreboot.org/c/coreboot/+/77780?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I2a35369628454057ea4758cd1225e57f07cb71c8
Gerrit-Change-Number: 77780
Gerrit-PatchSet: 3
Gerrit-Owner: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Comment-Date: Tue, 14 Nov 2023 23:00:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Jeremy Soller, Tim Crawford.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78912?usp=email )
The change is no longer submittable: All-Comments-Resolved is unsatisfied now.
Change subject: mb/system76/rpl: Allow 5600 MT/s memory for RPL-HX
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/78912/comment/e3ba2a32_69d421b7 :
PS1, Line 13: Crucial SODIMMs
Would be nice to add an exact model number.
--
To view, visit https://review.coreboot.org/c/coreboot/+/78912?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I9bb0435769c70c1db06d2c5cca2dd28eb5331f49
Gerrit-Change-Number: 78912
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Crawford <tcrawford(a)system76.com>
Gerrit-Reviewer: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Reviewer: ilikenwf <mparnell(a)gmail.com>
Gerrit-Attention: Tim Crawford <tcrawford(a)system76.com>
Gerrit-Attention: Jeremy Soller <jeremy(a)system76.com>
Gerrit-Comment-Date: Tue, 14 Nov 2023 22:39:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79013?usp=email )
Change subject: soc/intel/cannonlake: Drop entries from soc_acpi_name()
......................................................................
soc/intel/cannonlake: Drop entries from soc_acpi_name()
The THRM and SATA PCI devices do not currently have any ACPI devices
defined, so drop them from soc_acpi_name() so they do not end up in
the LPI constraint list. This eliminates the following errors
under Linux:
AE_NOT_FOUND: _SB_.PCI0.THRM
AE_NOT_FOUND: _SB_.PCI0.SATA
TEST= build/boot google/hatch (jinlon) and verify no ACPI errors.
Change-Id: I3827b152644e2eaecc1ad288d441d2dad4d76ccb
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79013
Reviewed-by: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/soc/intel/cannonlake/chip.c
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
build bot (Jenkins): Verified
Felix Singer: Looks good to me, approved
diff --git a/src/soc/intel/cannonlake/chip.c b/src/soc/intel/cannonlake/chip.c
index 2dc39b6..a1ba17e 100644
--- a/src/soc/intel/cannonlake/chip.c
+++ b/src/soc/intel/cannonlake/chip.c
@@ -85,7 +85,6 @@
case SA_DEVFN_GNA: return "GNA";
case PCH_DEVFN_XHCI: return "XHCI";
case PCH_DEVFN_USBOTG: return "XDCI";
- case PCH_DEVFN_THERMAL: return "THRM";
case PCH_DEVFN_I2C0: return "I2C0";
case PCH_DEVFN_I2C1: return "I2C1";
case PCH_DEVFN_I2C2: return "I2C2";
@@ -95,7 +94,6 @@
case PCH_DEVFN_CSE_IDER: return "CSED";
case PCH_DEVFN_CSE_KT: return "CSKT";
case PCH_DEVFN_CSE_3: return "CSE3";
- case PCH_DEVFN_SATA: return "SATA";
case PCH_DEVFN_UART2: return "UAR2";
case PCH_DEVFN_I2C4: return "I2C4";
case PCH_DEVFN_I2C5: return "I2C5";
--
To view, visit https://review.coreboot.org/c/coreboot/+/79013?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I3827b152644e2eaecc1ad288d441d2dad4d76ccb
Gerrit-Change-Number: 79013
Gerrit-PatchSet: 2
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged