Re: [PATCH 0/2] scsi: smartpqi: fix PCIe hot reset recovery

From: Don.Brace

Date: Wed Jul 08 2026 - 15:40:45 EST


Subject: Re: [PATCH 0/2] scsi: smartpqi: fix PCIe hot reset recovery
 

> A PCIe bus reset (e.g. "echo 1 > /sys/bus/pci/devices/<bdf>/reset")
> on a
> controller without FLR support leaves the HPE SR932i-p Gen10+
> unusable
> until reboot: smartpqi registers no pci_error_handlers, so the driver
> is not notified, firmware reverts to SIS mode, and all queue mappings
> are dropped while the driver still drives PQI.
>
> Patch 1 adds .reset_prepare / .reset_done reusing
> pqi_ofa_ctrl_quiesce() / _unquiesce() / pqi_ctrl_init_resume().
>
> Patch 2 raises SIS_CTRL_READY_RESUME_TIMEOUT_SECS from 90s to 180s,
> matching the cold-boot path; without this patch 1 fails at the SIS
> ready check because firmware boot after reset takes ~125s on the
> SR932i-p Gen10+.
>
> Tested on HPE SR932i-p Gen10+ against Linus' master at 74fe02ce122a.
>
> Thanks for the patch.
> NAK for now.
>
> Before we ack, we want to run this through internal regression on the
> SR-series
> — particularly the OFA + bus-reset interaction in patch 1 and whether
> the 180s timeout in patch 2 should apply universally or
>      be controller-gated. This may lead to changes in your patches.
>
>
>
>
> Hi Don, Where are we with the testing you wanted to do.

Regards
Laurence

Sorry, we were in the middle of a release.
These have been added for our upcoming sprint.
Results will be a while longer.

Thanks
Don