From 37bce07eea2b317871810d186c75b3b9d73e71d9 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Wed, 28 Nov 2018 08:13:23 +1100 Subject: Don't warn on "long" OPAL_RESYNC_TIMEBASE calls On P8 this is called when we exit fastsleep, and we shouldn't measure the "time" spent in the call for what (in retrospect) is an obvious reason. Fixes: 50ea35c2d07874755c03e6ae2bdf7a33ad2c768a Signed-off-by: Stewart Smith --- core/opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/opal.c b/core/opal.c index 2834b38..3a8ea30 100644 --- a/core/opal.c +++ b/core/opal.c @@ -197,7 +197,7 @@ int64_t opal_exit_check(int64_t retval, struct stack_frame *eframe) } } - if (call_time > 100) { + if (call_time > 100 && token != OPAL_RESYNC_TIMEBASE) { prlog((call_time < 1000) ? PR_DEBUG : PR_WARNING, "Spent %llu msecs in OPAL call %llu!\n", call_time, token); -- cgit v1.1