Martin, HMI_ERR gives the error details if the MPI initialization fails. Do we still need to spilt this ? Please advise. Regards, Viswas G > -----Original Message----- > From: Martin K. Petersen <martin.petersen@xxxxxxxxxx> > Sent: Friday, April 2, 2021 8:50 AM > To: Viswas G - I30667 <Viswas.G@xxxxxxxxxxxxx> > Cc: linux-scsi@xxxxxxxxxxxxxxx; Vasanthalakshmi Tharmarajan - I30664 > <Vasanthalakshmi.Tharmarajan@xxxxxxxxxxxxx>; Ruksar Devadi - I52327 > <Ruksar.devadi@xxxxxxxxxxxxx>; vishakhavc@xxxxxxxxxx; > radha@xxxxxxxxxx; jinpu.wang@xxxxxxxxxxxxxxx; Ashokkumar N - X53535 > <Ashokkumar.N@xxxxxxxxxxxxx>; John Garry <john.garry@xxxxxxxxxx> > Subject: Re: [PATCH v3 1/7] pm80xx: Add sysfs attribute to check mpi state > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Viswas, > > > A new sysfs variable 'ctl_mpi_state' is being introduced to check the > > state of mpi. > > > > Tested: Using 'ctl_mpi_state' sysfs variable we check the mpi state > > mvae14:~# cat /sys/class/scsi_host/host*/ctl_mpi_state > > MPI-S=MPI is successfully initialized HMI_ERR=0 > > MPI-S=MPI is successfully initialized HMI_ERR=0 > > This should be split in two. Only one value per file in sysfs. > > Thanks! > > -- > Martin K. Petersen Oracle Linux Engineering