Skip to content

Commit

Permalink
Increase ipmi polling frequency to every 1ms
Browse files Browse the repository at this point in the history
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/68932
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
dcrowell77 committed Nov 20, 2018
1 parent f269114 commit 6bedb67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/usr/ipmibase/ipmidd.H
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <sys/msg.h>
#include <ipmi/ipmiif.H>
#include <sys/time.h>
#include "ipmibt.H"

/** @file ipmidd.H
Expand Down Expand Up @@ -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),
};

/**
Expand Down

0 comments on commit 6bedb67

Please sign in to comment.