]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: disable hmb on idle suspend
authorKeith Busch <kbusch@kernel.org>
Tue, 27 Jul 2021 16:40:44 +0000 (09:40 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 12:42:24 +0000 (14:42 +0200)
commit3025e283699c7efdbb745403a6273367a4c84b35
tree119e81ced9b0d9b19577e855c810449313b1b928
parent43b780d5af4d2680ebd19c22b2a00d3187251cbc
nvme-pci: disable hmb on idle suspend

An idle suspend may or may not disable host memory access from devices
placed in low power mode. Either way, it should always be safe to
disable the host memory buffer prior to entering the low power mode, and
this should also always be faster than a full device shutdown.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c