Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29272 )
Change subject: src/cpu/amd/pi/00730F01: Add microcode update infrastructure for fam16h PI
......................................................................
Patch Set 2:
(2 comments)
https://review.coreboot.org/#/c/29272/2/src/cpu/amd/pi/00730F01/microcode_fa...
File src/cpu/amd/pi/00730F01/microcode_fam16h.c:
https://review.coreboot.org/#/c/29272/2/src/cpu/amd/pi/00730F01/microcode_fa...
PS2, Line 130: #if IS_ENABLED(CONFIG_HAVE_ROMSTAGE_MICROCODE_CBFS_SPINLOCK)
#if CONFIG(...)
https://review.coreboot.org/#/c/29272/2/src/cpu/amd/pi/00730F01/microcode_fa...
PS2, Line 150: "updates.\n");
Missing spin_unlock() and return here?
Check for ucode_len > F16H_MPB_DATA_OFFSET to make sure there is at least some data, otherwise parsing the header is invalid access.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/29272
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic15cba06f3cd9cfbc538b6764b158fa699f0ecf6
Gerrit-Change-Number: 29272
Gerrit-PatchSet: 2
Gerrit-Owner: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Piotr Król
piotr.krol@3mdeb.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: mikeb mikeb
mikebdp2@gmail.com
Gerrit-Comment-Date: Sat, 25 May 2019 08:44:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment