diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2018-11-19 16:55:21 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-11-20 16:06:45 -0600 |
commit | 499916e4586920a5342a64646f3f2ec4bbe4e19d (patch) | |
tree | 961d2e22c8aae2d9ce5e7a5f9532f1033e26ebba /src/usr/ipmibase | |
parent | 759971ea1bcdd18ac8c1d78e113e67e4ca2038df (diff) | |
download | talos-hostboot-499916e4586920a5342a64646f3f2ec4bbe4e19d.tar.gz talos-hostboot-499916e4586920a5342a64646f3f2ec4bbe4e19d.zip |
Increase ipmi polling frequency to every 1ms
Changing the polling timer from 10ms to 1ms to solve a weird
pnor hang we've seen.
Change-Id: I796bfff7a6bce38faa56d31a935dca1aeb0a4d41
CQ: SW451298
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68931
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/ipmibase')
-rw-r--r-- | src/usr/ipmibase/ipmidd.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/ipmibase/ipmidd.H b/src/usr/ipmibase/ipmidd.H index 2291fb37a..8afa3c30b 100644 --- a/src/usr/ipmibase/ipmidd.H +++ b/src/usr/ipmibase/ipmidd.H @@ -27,6 +27,7 @@ #include <sys/msg.h> #include <ipmi/ipmiif.H> +#include <sys/time.h> #include "ipmibt.H" /** @file ipmidd.H @@ -61,7 +62,7 @@ enum { INT_BMC_HWRST = (1 << 7), // How long to sychronously wait for the device to change state (in ns) - WAIT_TIME = 10000000, + WAIT_TIME = (1*NS_PER_MSEC), }; /** |