Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34587 )
Change subject: soc/*/mp_init: Increase timeout to 1 s
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34587/3//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/34587/3//COMMIT_MSG@12
PS3, Line 12: most mp_run_on_all_cpus calls
The first call in post_mp_init should never fail as all APs are idle, due to previous synchronisation in mp init.
Right. But that could change if another call is added before the first call.
Sounds good, but how to know if the caller doesn't care about a special timeout? Do we need a special (non default) timeout?
Fair point. 1 second is long enough that I think it should help all callers. How about getting rid of the expire_us parameter for now and just setting it to 1 second always? If there is a case that comes up in the future which requires more than a second, we can add a different API for that.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34587
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I456be647b159f7a2ea7d94986a24424e56dcc8c4
Gerrit-Change-Number: 34587
Gerrit-PatchSet: 3
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Angel Pons
th3fanbus@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Sun, 28 Jul 2019 23:30:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph
patrick.rudolph@9elements.com
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment