diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-08 11:41:13 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-08 12:34:57 +1000 |
commit | 5d245a9a54c90029f15ebb2bc6cda673d1894a3d (patch) | |
tree | 91d4dbb97482cf50b201820e83fa2ad0aef379e4 /core/timebase.c | |
parent | b8464b315ba119fb606477f7038f6f1b1209c455 (diff) | |
download | skiboot-5d245a9a54c90029f15ebb2bc6cda673d1894a3d.zip skiboot-5d245a9a54c90029f15ebb2bc6cda673d1894a3d.tar.gz skiboot-5d245a9a54c90029f15ebb2bc6cda673d1894a3d.tar.bz2 |
opal: Replace fsp_poll() with a full run of all OPAL pollers
Otherwise we don't handle surveillance and PSI link monitoring
This should fix cases of surveillance timeouts during things
like code update such as BZ109939
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'core/timebase.c')
-rw-r--r-- | core/timebase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/timebase.c b/core/timebase.c index d51e96b..0c4d5e9 100644 --- a/core/timebase.c +++ b/core/timebase.c @@ -15,14 +15,14 @@ */ #include <timebase.h> -#include <fsp.h> +#include <opal.h> void time_wait(unsigned long duration) { unsigned long end = mftb() + duration; while(tb_compare(mftb(), end) != TB_AAFTERB) - fsp_poll(); + opal_run_pollers(); } void time_wait_ms(unsigned long ms) |