Jonathan Zhang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45138 )
Change subject: arch/x86/smbios: Update SMBIOS type 0 ec version
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45138/2/src/drivers/ipmi/ipmi_kcs_o...
File src/drivers/ipmi/ipmi_kcs_ops.c:
https://review.coreboot.org/c/coreboot/+/45138/2/src/drivers/ipmi/ipmi_kcs_o...
PS2, Line 283: ((bmc_revision_major / 16) * 10) + (bmc_revision_major % 16)
The value received from OpenBMC is hexadecimal, however it should be decimal. […]
0x33 is not decimal 33, Are you saying that OpenBMC has a bug? In this case, we need to make it a weak function, and do the bug workaround in mainboard code. In the mean time, we need OpenBMC to fix the bug.
Sounds like the first nibble is major version, while second nibble is minor version, so we should use bit shift (instead of arithmetic operation) to get them. In this case, OpenBMC does not have a bug.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/45138
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibd5ee27a1b8fa4e5bc66e359d3b62e052e19e8a2
Gerrit-Change-Number: 45138
Gerrit-PatchSet: 4
Gerrit-Owner: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Bryant Ou
bryant.ou.q@gmail.com
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Philipp Deppenwiese
philipp.deppenwiese@9elements.com
Gerrit-Reviewer: Ryback Hung
ryback.hung%quantatw.com@gtempaccount.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Sat, 19 Sep 2020 18:04:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Comment-In-Reply-To: Tim Chu
Tim.Chu@quantatw.com
Gerrit-MessageType: comment