]> git.baikalelectronics.ru Git - kernel.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)
commitb118f76abcc21d19b3fac0ff5b7957d7f22eb042
treef7a4eb1c702e35c5fc40ea22a74a880eb339ae5a
parent03eed103822c93073ee1f8464a7be6dc3169aa81
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: 68e498ddad43 ("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