RE: [PATCH 05/37] smartpqi: ensure controller is in SIS mode at init

2017-05-03 Thread Don Brace
Saleh > ; Kevin Barnett > ; joseph.szczy...@hpe.com; Scott Teel > ; j...@linux.vnet.ibm.com; Justin Lindley > ; John Hall > Cc: linux-scsi@vger.kernel.org > Subject: Re: [PATCH 05/37] smartpqi: ensure controller is in SIS mode at init > > EXTERNAL EMAIL > > > On T

Re: [PATCH 05/37] smartpqi: ensure controller is in SIS mode at init

2017-04-25 Thread Bart Van Assche
On Tue, 2017-04-25 at 14:46 -0500, Don Brace wrote: > +bool sis_is_kernel_up(struct pqi_ctrl_info *ctrl_info) > +{ > + u32 status; > + bool kernel_up; > + > + status = readl(&ctrl_info->registers->sis_firmware_status); > + > + if (status & SIS_CTRL_KERNEL_UP) > + kernel_

[PATCH 05/37] smartpqi: ensure controller is in SIS mode at init

2017-04-25 Thread Don Brace
From: Kevin Barnett put in SIS mode during initialization. support kexec/kdump Reviewed-by: Scott Benesh Signed-off-by: Kevin Barnett Signed-off-by: Don Brace --- drivers/scsi/smartpqi/smartpqi.h |2 + drivers/scsi/smartpqi/smartpqi_init.c | 60 +++-- d