Looks good, but I'd prefer to get rid of the `void *` casting.

I'm a bit concerned by one of the calls to amd_late_run_ap_task().
I would expect agesa_RunFcnOnAllAps() to have its `Func` parameter
set to `AGESA_RUNFUNC_ON_ALL_APS` but callout_ap_entry() explicitly
checks for `AGESA_RUNFUNC_ONAP`. (beside my usual concern if it's
possible to comply with the GPL when distributing this in compiled
form along with a calling blob) With the limited scope of the global
`agesadata` there, one consumer two providers, I don't think the
`Func` field is useful at all.

Patch set 5:Code-Review +2

View Change

3 comments:

To view, visit change 31485. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0b72badc007565740c93b58743cfd048e8b42775
Gerrit-Change-Number: 31485
Gerrit-PatchSet: 5
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Comment-Date: Mon, 29 Apr 2019 14:25:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment