cpu/x86: Add infinite timeout support into run_ap_work() function
There might be certain requirement in user function where user
might not want to pass any timeout value, in those cases
run_ap_work() should consider infinity as timeout and perform
all APs initialization as per specification.
Set expire_us <= 0 to specify an infinite timeout.
TEST=run_ap_work() is running successfully with 0 expire_us.
Signed-off-by: Subrata Banik <firstname.lastname@example.org>
Reviewed-by: Aaron Durbin <email@example.com>
Reviewed-by: Nico Huber <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
2 files changed