Re: [PATCH] crypto: qat - power up 4xxx device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 24, 2025 at 10:41:06AM +0800, Herbert Xu wrote:
> Hi Giovanni:
> 
> On Thu, Sep 16, 2021 at 03:45:41PM +0100, Giovanni Cabiddu wrote:
> > +	/* Poll status register to make sure the device is powered up */
> > +	ret = read_poll_timeout(ADF_CSR_RD, status,
> > +				status & ADF_4XXX_PM_INIT_STATE,
> > +				ADF_4XXX_PM_POLL_DELAY_US,
> > +				ADF_4XXX_PM_POLL_TIMEOUT_US, true, addr,
> > +				ADF_4XXX_PM_STATUS);
> > +	if (ret)
> > +		dev_err(&GET_DEV(accel_dev), "Failed to power up the device\n");
> > +
> > +	return ret;
> > +}
> 
> I just received a bug report that this printk is triggering on
> a warm reboot via kexec:
> 
> https://issues.redhat.com/browse/RHEL-84366
> 
> [   11.040319] vpr089-p05-15u kernel: 4xxx 0000:01:00.0: Failed to power up the device
> [   11.148557] vpr089-p05-15u kernel: 4xxx 0000:01:00.0: Failed to initialize device
> [   11.148702] vpr089-p05-15u kernel: 4xxx 0000:01:00.0: Resetting device qat_dev0
> [   11.148809] vpr089-p05-15u kernel: 4xxx 0000:01:00.0: probe with driver 4xxx failed with error -14
> 
> Could you please take a look at it?
Sure.

It could be that the device is not get properly reset during a warm
reboot. I'm going to have a look.

Thanks,

-- 
Giovanni




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux