aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-11-19 11:44:42 +1100
committerStewart Smith <stewart@linux.ibm.com>2018-11-19 16:44:14 +1100
commit28bf1faf44cd6bffcf3df0c00578b279f3faeab1 (patch)
tree79064b178c0639adc728da3b263f120aa1c6aeea /core
parentcdaa6d1b26142e647c4e074b0a6d5837ed503c0d (diff)
downloadskiboot-28bf1faf44cd6bffcf3df0c00578b279f3faeab1.zip
skiboot-28bf1faf44cd6bffcf3df0c00578b279f3faeab1.tar.gz
skiboot-28bf1faf44cd6bffcf3df0c00578b279f3faeab1.tar.bz2
ipmi: Reduce ipmi_queue_msg_sync() polling loop time to 10ms
On a plain boot, this reduces the time spent in OPAL by ~170ms on p9dsu. This is due to hiomap (currently) using synchronous IPMI messages. It will also *significantly* reduce latency on runtime flash operations, as we'll spend typically 10-20ms in OPAL rather than 100-200ms. It's not an ideal solution to that, but it's a quick and obvious win for jitter. Cc: stable Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/ipmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ipmi.c b/core/ipmi.c
index 6fdb9a7..44623a7 100644
--- a/core/ipmi.c
+++ b/core/ipmi.c
@@ -179,7 +179,7 @@ void ipmi_queue_msg_sync(struct ipmi_msg *msg)
unlock(&sync_lock);
while (sync_msg == msg)
- time_wait_ms(100);
+ time_wait_ms(10);
}
static void ipmi_read_event_complete(struct ipmi_msg *msg)