[Skiboot] [PATCH v9 03/22] hw/p8-i2c: Allow to set timeout

Stewart Smith stewart at linux.vnet.ibm.com
Thu Mar 31 19:51:33 AEDT 2016

Gavin Shan <gwshan at linux.vnet.ibm.com> writes:
> When changing power supply status to PCI slot during bootup, which
> is done through I2C requests, the interrupt stuff isn't working yet
> and we have to invoke polling timers proactively at fixed interval.
> Unfortunately, the I2C master's timeout is usually very short and
> we will encounter master timeout on the first poll at system bootup
> time. The patch allows users to set override the default short
> timeout binding with the specified I2C request, to avoid above
> problem.
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> ---
>  hw/p8-i2c.c   | 25 +++++++++++++++++++++++--
>  include/i2c.h |  9 +++++++++
>  2 files changed, 32 insertions(+), 2 deletions(-)

I'm okay to take this, but I think I want to merge it with the rest of
the pci hotplug patchset, so I'll record a reviewed-by that can carry on
with the patch...

Reviewed-by: Stewart Smith <stewart at linux.vnet.ibm.com>

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list