Nikolai Vyssotski has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45055 )
Change subject: soc/amd/picasso: Fix TSC frequency calculation
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45055/1/src/soc/amd/picasso/tsc_fre...
File src/soc/amd/picasso/tsc_freq.c:
https://review.coreboot.org/c/coreboot/+/45055/1/src/soc/amd/picasso/tsc_fre...
PS1, Line 29: mhz = 0;
Is this possible? Print an error?
It should not really happen. But 0 is a valid value which indicates that clock is off. We should not be able to run in this case. Do you think we still need to add printk or die here?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/45055
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibe3f49c7d295e7336ee042da2b94823171b6eb55
Gerrit-Change-Number: 45055
Gerrit-PatchSet: 1
Gerrit-Owner: Nikolai Vyssotski
nikolai.vyssotski@amd.corp-partner.google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Kangheui Won
khwon@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 03 Sep 2020 22:33:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-MessageType: comment