Firmware Activate without Reset

Keith Busch keith.busch at
Wed Oct 12 13:25:24 PDT 2016

On Wed, Oct 12, 2016 at 07:37:13PM +0000, David Darrington wrote:
> I’m trying to understand how firmware activate without reset would work. Is there a requirement for the driver to do something to support this? Should the driver be listening for Firmware Activation Notifications, and respond in some way? 

I don't think there's anything the driver necessarily has to do. If
anything, we could have it observe the notify AER on firmware activation
started, quiesce IO, then poll CSTS.PP. Once cleared, it can restart IO.

But that shouldn't really be necessary since we expect all outstanding
commands to complete when the activation completes. If activation takes
longer than an IO timeout, it might be best to quiesce, but the driver
doesn't do that right now.

If new firmware brings new capabilities that you want the driver to use,
the driver won't discover these until after a controller reset.

More information about the Linux-nvme mailing list