Attention is currently required from: Kapil Porwal, Paul Menzel, Pratikkumar V Prajapati, Subrata Banik, Sumeet R Pawnikar, Tarun Tuli, Tracy Wu.
Jakub Czapiga has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/76400?usp=email )
Change subject: soc/intel/meteorlake: Adjust discovery table offset based on CPUID
......................................................................
Patch Set 11:
(3 comments)
File src/soc/intel/meteorlake/crashlog.c:
https://review.coreboot.org/c/coreboot/+/76400/comment/4ce5ca96_1f58bc67 :
PS11, Line 358: u32 bar_addr = 0, disc_tab_addr = 0, disc_tab_offset = 0;
code-style: AFAIK we are using C11 (`-std=gnu11`), so variable declarations are not required to be at the beginning of the function. Can we get rid of unnecessary lines like this one and declare&define variables in line they are first assigned (if feasible)?
https://review.coreboot.org/c/coreboot/+/76400/comment/a970fba6_096d0ddd :
PS11, Line 367: disc_tab_offset <<= 3;
Is there a risk of overflow in this operation?
https://review.coreboot.org/c/coreboot/+/76400/comment/4c3b24a4_1986e789 :
PS11, Line 374: cpu_cl_disc_tab.header.data = ((u64)read32((u32 *)disc_tab_addr) +
: ((u64)read32((u32 *)(disc_tab_addr + 4)) << 32));
:
Shouldn't it be binary-OR instead of addition? (Just asking for clarification :) )
--
To view, visit
https://review.coreboot.org/c/coreboot/+/76400?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I90647fb6190a52b42298398263978beaf931b035
Gerrit-Change-Number: 76400
Gerrit-PatchSet: 11
Gerrit-Owner: Pratikkumar V Prajapati
pratikkumar.v.prajapati@intel.com
Gerrit-Reviewer: Jakub Czapiga
jacz@semihalf.com
Gerrit-Reviewer: Kapil Porwal
kapilporwal@google.com
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Tarun Tuli
taruntuli@google.com
Gerrit-Reviewer: Tracy Wu
tracy.wu@intel.corp-partner.google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-CC: Pratikkumar Prajapati
pratikkumar.v.prajapati@intel.corp-partner.google.com
Gerrit-CC: Sumeet R Pawnikar
sumeet.r.pawnikar@intel.com
Gerrit-Attention: Tracy Wu
tracy.wu@intel.corp-partner.google.com
Gerrit-Attention: Tarun Tuli
taruntuli@google.com
Gerrit-Attention: Subrata Banik
subratabanik@google.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Kapil Porwal
kapilporwal@google.com
Gerrit-Attention: Sumeet R Pawnikar
sumeet.r.pawnikar@intel.com
Gerrit-Attention: Pratikkumar V Prajapati
pratikkumar.v.prajapati@intel.com
Gerrit-Comment-Date: Tue, 01 Aug 2023 11:34:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment