[Skiboot] [PATCH] libflash/mbox-flash: only wait for MBOX_DEFAULT_POLL_MS if busy

Stewart Smith stewart at linux.vnet.ibm.com
Tue Dec 19 11:24:41 AEDT 2017


Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> This makes the mbox unit test run 300x quicker and seems to
> shave about 6 seconds from boot time on Witherspoon.
>
> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
> ---
>  libflash/mbox-flash.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

even though we need to fix this to not call check_timers() directly,
I've merged this for the time being, as it means the mbox tests can go
in without driving me insane.

Merged to master as of b7b7b84ef565380a22dd636cd22d0622e360c440

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list