Attention is currently required from: Eran Mitrani, Jakub Czapiga, Kapil Porwal, Paul Menzel, Subrata Banik, Sumeet R Pawnikar, Tarun Tuli, Tracy Wu.
Pratikkumar V Prajapati 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 12:
(3 comments)
File src/soc/intel/meteorlake/crashlog.c:
https://review.coreboot.org/c/coreboot/+/76400/comment/fb60ff37_b47dd930 :
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 a […]
This style is followed at many places in the same file so i used same method. I would address this with a separate patch for the entire crashlog code later.
https://review.coreboot.org/c/coreboot/+/76400/comment/a20339e0_8bd869ce :
PS11, Line 367: disc_tab_offset <<= 3;
Is there a risk of overflow in this operation?
Nope
https://review.coreboot.org/c/coreboot/+/76400/comment/30508c03_75d2fb0a :
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 :) )
Addressing this with https://review.coreboot.org/c/coreboot/+/77240/
--
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: 12
Gerrit-Owner: Pratikkumar V Prajapati
pratikkumar.v.prajapati@intel.com
Gerrit-Reviewer: Eran Mitrani
mitrani@google.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: Eran Mitrani
mitrani@google.com
Gerrit-Attention: Jakub Czapiga
jacz@semihalf.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-Comment-Date: Wed, 16 Aug 2023 01:11:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Jakub Czapiga
jacz@semihalf.com
Gerrit-MessageType: comment