aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-11-28 08:13:23 +1100
committerStewart Smith <stewart@linux.ibm.com>2018-11-28 17:49:26 +1100
commit37bce07eea2b317871810d186c75b3b9d73e71d9 (patch)
tree360ef9a95b02ba1c999ce7c15c55d2ec79e11601 /core
parent87b436c32ac86aa159b20d5c9545fd0c24a54bdd (diff)
downloadskiboot-37bce07eea2b317871810d186c75b3b9d73e71d9.zip
skiboot-37bce07eea2b317871810d186c75b3b9d73e71d9.tar.gz
skiboot-37bce07eea2b317871810d186c75b3b9d73e71d9.tar.bz2
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 <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/opal.c2
1 files changed, 1 insertions, 1 deletions
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);