]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nvme-pci: use simple suspend when a HMB is enabled
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jun 2020 06:24:17 +0000 (08:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Jun 2020 15:10:06 +0000 (09:10 -0600)
commitb97120b15ebd3de51325084136d3b9c3cce656d6
treef7a4eb1c702e35c5fc40ea22a74a880eb339ae5a
parentc9c12e51b82b2bd0c59ac4e27ee5427f382a503f
nvme-pci: use simple suspend when a HMB is enabled

While the NVMe specification allows the device to access the host memory
buffer in host DRAM from all power states, hosts will fail access to
DRAM during S3 and similar power states.

Fixes: d916b1be94b6 ("nvme-pci: use host managed power state for suspend")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c