[Skiboot] [PATCH] ipmi: Check for ipmi backend presence before use

Alistair Popple alistair at popple.id.au
Tue Apr 14 14:38:40 AEST 2015


On Tue, 14 Apr 2015 13:52:39 Joel Stanley wrote:
> On Tue, Apr 14, 2015 at 1:06 PM, Alistair Popple <alistair at popple.id.au> wrote:
> > This patch adds presence checks for an ipmi backend before attempting
> > to use it, thus allowing a system with a non-functional backend to
> > boot without ipmi.
> 
> Cool. Does it work?

Yep. Remove the call to bt_init() and the system will still boot with reduced 
functionality (eg. no real-time clock, no sensors, etc.)

> > Signed-off-by: Alistair Popple <alistair at popple.id.au>
> 
> Reviewed-by: Joel Stanley <joel at jms.id.au>
> 
> > ---
> > 
> >  core/ipmi.c        | 38 ++++++++++++++++++++++++++++++++++++++
> >  hw/ipmi/ipmi-fru.c |  2 ++
> >  2 files changed, 40 insertions(+)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20150414/09b8605a/attachment.html>


More information about the Skiboot mailing list