Attention is currently required from: Joel Linn, Nico Huber.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81426?usp=email )
Change subject: superio/ite: Add special fan vectors and further options
......................................................................
Patch Set 4:
(1 comment)
File src/superio/ite/common/env_ctrl.c:
https://review.coreboot.org/c/coreboot/+/81426/comment/720462c0_2b08c912 :
PS1, Line 369: #endif
> Hmmm, that's annoying. Another, clean alternative would be to put all the […]
just set the vector count to 2 regardless of the Kconfig enablement, unless it causes an issue elsewhere I'm not seeing
--
To view, visit https://review.coreboot.org/c/coreboot/+/81426?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: I93df2b5652fc3fde775b6161fa5bebc4a34d5e94
Gerrit-Change-Number: 81426
Gerrit-PatchSet: 4
Gerrit-Owner: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Comment-Date: Sun, 24 Mar 2024 20:47:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-MessageType: comment
Attention is currently required from: Joel Linn, Matt DeVillier.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81426?usp=email )
Change subject: superio/ite: Add special fan vectors and further options
......................................................................
Patch Set 4:
(1 comment)
File src/superio/ite/common/env_ctrl.c:
https://review.coreboot.org/c/coreboot/+/81426/comment/05e9cdd0_8db071b1 :
PS1, Line 369: #endif
> Unfortunately GCC will cry about the loop condition here […]
Hmmm, that's annoying. Another, clean alternative would be to put all the
related code into a separate .c file. Only compile it if fan vectors are selected.
--
To view, visit https://review.coreboot.org/c/coreboot/+/81426?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: I93df2b5652fc3fde775b6161fa5bebc4a34d5e94
Gerrit-Change-Number: 81426
Gerrit-PatchSet: 4
Gerrit-Owner: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Attention: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Comment-Date: Sun, 24 Mar 2024 20:17:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-MessageType: comment
Attention is currently required from: Matt DeVillier, Nico Huber.
Joel Linn has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81426?usp=email )
Change subject: superio/ite: Add special fan vectors and further options
......................................................................
Patch Set 4:
(1 comment)
File src/superio/ite/common/env_ctrl.c:
https://review.coreboot.org/c/coreboot/+/81426/comment/b6937413_e122828a :
PS1, Line 369: #endif
> Done
Unfortunately GCC will cry about the loop condition here
error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits]
I added pragmas to disable the warning as I couldn't find an obvious leaner local solution.
One could keep the #if here but then you have an unused symbol which would either require a pragma or C23 [[maybe_unused]]. GCC/Clang have __maybe_unused, would that be practical?
--
To view, visit https://review.coreboot.org/c/coreboot/+/81426?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: I93df2b5652fc3fde775b6161fa5bebc4a34d5e94
Gerrit-Change-Number: 81426
Gerrit-PatchSet: 4
Gerrit-Owner: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Nico Huber <nico.h(a)gmx.de>
Gerrit-Attention: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Comment-Date: Sun, 24 Mar 2024 20:07:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h(a)gmx.de>
Comment-In-Reply-To: Joel Linn <jl_coreboot(a)conductive.de>
Gerrit-MessageType: comment
Attention is currently required from: Anil Kumar K, Arthur Heymans, Bora Guvendik, Chen, Gang C, Cliff Huang, Jamie Ryu, Jérémy Compostella, Kane Chen, Karthik Ramasubramanian, Krishna P Bhat D, Lance Zhao, Pratikkumar V Prajapati, Ravishankar Sarawadi, Ronak Kanabar, Shuo Liu, Subrata Banik, Tim Wawrzynczak, V Sowmya, Wonkyu Kim.
Gaggery Tsai has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/77255?usp=email )
Change subject: [Squash]: Add ACPI BDAT support
......................................................................
Patch Set 16:
(22 comments)
File src/acpi/acpi.c:
https://review.coreboot.org/c/coreboot/+/77255/comment/27f588f9_a1e5a9e3 :
PS15, Line 1106: unsigned long long
> IMO, `uint64_t` would keep the line shorter while also making the understanding of this line slightl […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/935615f9_7f923593 :
PS15, Line 1108: /* Calculate checksum */
: header->checksum = acpi_checksum((void *)bdat, header->length);
> > why? […]
Acknowledged
File src/soc/intel/common/block/acpi/acpi_bdat.c:
https://review.coreboot.org/c/coreboot/+/77255/comment/d90aa1fe_cf4f15ea :
PS15, Line 12: #define INTEL_FSP_BDAT_SCHEMA_LIST_HOB_GUID \
> What about ? […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/993c8668_b8725d78 :
PS15, Line 26: if (guid != NULL) {
> that test seems unnecessary for a static function called with a non-NULL parameter according the cod […]
Replaced it with fsp_print_guid per other reviewer's comments.
https://review.coreboot.org/c/coreboot/+/77255/comment/f8f1988d_3d6fd2f3 :
PS15, Line 23: static void print_guid(EFI_GUID *guid)
: {
: int i;
: if (guid != NULL) {
: printk(BIOS_DEBUG, "GUID = ");
: printk(BIOS_DEBUG, "0x%08x-", guid->Data1);
: printk(BIOS_DEBUG, "0x%04x-", guid->Data2);
: printk(BIOS_DEBUG, "0x%04x-", guid->Data3);
: for (i = 0; i < GUID_TAIL_BYTES; i++) {
: printk(BIOS_DEBUG, "0x%02x", guid->Data4[i]);
: if (i != (GUID_TAIL_BYTES-1))
: printk(BIOS_DEBUG, "-");
: }
: printk(BIOS_DEBUG, "\n");
: }
: }
> this is reimplemented a lot. Can it be added to common code somewhere or reuse existing code.
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/0d90f660_68378e06 :
PS15, Line 40: get_crc16
> Use CRC marcro?
IMHO, it might be too complex converting to a macro. Let me know if you're fine with it.
https://review.coreboot.org/c/coreboot/+/77255/comment/d90a0f37_aa4fd3e8 :
PS15, Line 62: EFI_GUID *guid;
> Please use the <efi/efi_datatypes.h> version of the UEFI types.
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/b3baa188_0de25b2e :
PS15, Line 63: const uint32_t *schema[MAX_SCHEMA_LIST_LENGTH] = {NULL};
: uint32_t schema_size[MAX_SCHEMA_LIST_LENGTH];
> This intermediate data structure could be simplified as a structure: […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/3883b0c3_b10ae00c :
PS15, Line 67: const uint8_t bdat_header_sign[] = {'B', 'D', 'A', 'T', 'H', 'E', 'A', 'D'};
> I would make is a static variable of the C module instead of a stack variable. […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/7c06f692_f7e23090 :
PS15, Line 74: printk(BIOS_ERR, "No BDAT data exists.\n");
> `No BDAT data found. […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/e43a3763_5fdb192e :
PS15, Line 77: ld
> zu
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/0f54d42f_1055175d :
PS15, Line 78: (void *)
> Is that case really necessary ?
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/0c28405e_b1bd5ffd :
PS15, Line 86: if (guid != NULL)
> reduce indentation: […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/961f431f_29c89c3f :
PS15, Line 86: if (guid != NULL) {
> How can `guid` be `NULL` ?
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/3d30374a_436c5bb2 :
PS15, Line 88: uint8_t *p = (uint8_t *)guid;
> This intermediate variable seems unnecessary.
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/30be2b6e_efc49f86 :
PS15, Line 91: ld
> zu
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/4c18a0e7_1836ee67 :
PS15, Line 92: (void *) schema[schema_count], hob_size);
> weird indentation.
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/c8374445_d60e754d :
PS15, Line 146: ld
> zu
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/eca3d54a_a01b2a04 :
PS15, Line 155: ) b
> Coding style: Usually there is no space between the closing parenthesis of the cast and the name of […]
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/7616221d_a5164d1c :
PS15, Line 162: &bdat_header->bios_data_sig[0]
> `bdat_header->bios_data_sig` ?
Done
https://review.coreboot.org/c/coreboot/+/77255/comment/b4effdb8_f078c793 :
PS15, Line 174: schema_data
> unnecessary intermediate variable.
Done
File src/soc/intel/common/block/include/intelblocks/acpi_bdat.h:
https://review.coreboot.org/c/coreboot/+/77255/comment/9faa9d36_889f2023 :
PS15, Line 69:
> that's quite a log of tabs. A single space would do it.
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/77255?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: I5eb57f65ef5f24458f09587b7c7694156f2ed1ce
Gerrit-Change-Number: 77255
Gerrit-PatchSet: 16
Gerrit-Owner: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-Reviewer: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Reviewer: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Reviewer: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Reviewer: Kane Chen <kane.chen(a)intel.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Reviewer: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Reviewer: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Reviewer: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Hannah Williams <hannah.williams(a)intel.com>
Gerrit-Attention: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Attention: Anil Kumar K <anil.kumar.k(a)intel.com>
Gerrit-Attention: Cliff Huang <cliff.huang(a)intel.com>
Gerrit-Attention: Wonkyu Kim <wonkyu.kim(a)intel.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella(a)intel.com>
Gerrit-Attention: Ravishankar Sarawadi <ravishankar.sarawadi(a)intel.com>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Krishna P Bhat D <krishna.p.bhat.d(a)intel.com>
Gerrit-Attention: Kane Chen <kane.chen(a)intel.com>
Gerrit-Attention: V Sowmya <v.sowmya(a)intel.com>
Gerrit-Attention: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Attention: Jamie Ryu <jamie.m.ryu(a)intel.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Chen, Gang C <gang.c.chen(a)intel.com>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Attention: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Attention: Ronak Kanabar <ronak.kanabar(a)intel.com>
Gerrit-Attention: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Attention: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Comment-Date: Sun, 24 Mar 2024 18:54:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Gaggery Tsai <gaggery.tsai(a)intel.com>
Comment-In-Reply-To: Jérémy Compostella <jeremy.compostella(a)intel.com>
Comment-In-Reply-To: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: comment
Attention is currently required from: Dinesh Gehlot, Eran Mitrani, Gaggery Tsai, Jakub Czapiga, Kapil Porwal, Subrata Banik, Tarun.
Hello Dinesh Gehlot, Eran Mitrani, Jakub Czapiga, Kapil Porwal, Subrata Banik, Tarun, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/77684?usp=email
to look at the new patch set (#10).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: mb/google/rex: Enable Intel RMT+
......................................................................
mb/google/rex: Enable Intel RMT+
This patch enables Intel RMT+ support for Rex platform.
BUG=b:293441360
TEST=1. Build FSP with -DBDAT_SUPPORT=1.
2. Build an image with this patch
3. Deploy the image to a Rex device
4. Ensure /sys/firmware/acpi/tables/BDAT is exported from kernel.
Change-Id: I4e56c32cee1ce8c10b9da9d0123cbd13eaf9d8d3
Signed-off-by: Gaggery Tsai <gaggery.tsai(a)intel.com>
---
M src/mainboard/google/rex/Kconfig
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/77684/10
--
To view, visit https://review.coreboot.org/c/coreboot/+/77684?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: I4e56c32cee1ce8c10b9da9d0123cbd13eaf9d8d3
Gerrit-Change-Number: 77684
Gerrit-PatchSet: 10
Gerrit-Owner: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eran Mitrani <mitrani(a)google.com>
Gerrit-Reviewer: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun <tstuli(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Attention: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-Attention: Eran Mitrani <mitrani(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Jakub Czapiga <czapiga(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Tarun <tstuli(a)gmail.com>
Gerrit-MessageType: newpatchset