Attention is currently required from: Felix Singer, Lance Zhao, Nico Huber, Johnny Lin, Tim Wawrzynczak, Angel Pons, Arthur Heymans, Michael Niewöhner, Patrick Rudolph.
Maxim Polyakov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35919 )
Change subject: inteltool: Allow to set cores range for MSRs dump
......................................................................
Patch Set 17:
(2 comments)
File util/inteltool/inteltool.c:
https://review.coreboot.org/c/coreboot/+/35919/comment/c140c4c1_808edbb5
PS13, Line 666: if (!dump_coremsrs) {
Sometimes, the best way to solve a problem is to remove what causes the problem to exist. 😄 […]
I would say this seriously, without humor, it's just like you said )
Also... The less code, the faster the review. This relates to all large projects.
File util/inteltool/inteltool.c:
https://review.coreboot.org/c/coreboot/+/35919/comment/c398eab7_d41f7383
PS16, Line 671: if (sscanf(optarg, "%u-%u", &cores_range_start, &cores_range_end) == 1) {
: /* the end of the range is not specified - only for one core */
: cores_range_end = cores_range_start;
: } else if (cores_range_end < cores_range_start) {
: printf("Error: invalid cores range <%u-%u>!\n",
: cores_range_start, cores_range_end);
: exit(1);
: }
I was thinking of something like this: […]
Yes, I agree with you, this check is necessary. Thx
--
To view, visit
https://review.coreboot.org/c/coreboot/+/35919
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3a037cf7ac270d2b51d6e453334c358ff47b4105
Gerrit-Change-Number: 35919
Gerrit-PatchSet: 17
Gerrit-Owner: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Reviewer: Lance Zhao
Gerrit-Reviewer: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Felix Singer
felixsinger@posteo.net
Gerrit-Attention: Lance Zhao
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Attention: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Attention: Angel Pons
th3fanbus@gmail.com
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Attention: Patrick Rudolph
siro@das-labor.org
Gerrit-Comment-Date: Fri, 23 Jul 2021 11:28:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Maxim Polyakov
max.senia.poliak@gmail.com
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment