[PATCH v1] nvme-pci: shut down the controller if disabling the HMB fails on suspend

Keith Busch kbusch at kernel.org
Fri Nov 6 10:15:49 PST 2026


On Thu, 22 Oct 2026 00:58:18 -0400, Yuho Choi wrote:
> nvme_suspend() disables the host memory buffer before it moves the
> controller to a non-operational power state, as host memory access may
> not work in a system suspend state. It only treats a negative return
> from nvme_set_host_mem() as a failure, though. If the controller fails
> the Set Features command with an NVMe status, the HMB stays enabled and
> the controller is suspended with it in use.
> 
> [...]

Thanks, applied to nvme-7.4.

[1/1] nvme-pci: shut down the controller if disabling the HMB fails on suspend
      commit: 82dd68297483afdc3be48e9d77f2dc4adb7a6941
--
Keith Busch <kbusch at kernel.org>




More information about the Linux-nvme mailing list