linux-stable/drivers/nvme
Christoph Hellwig a3dd6095f1 nvme: do not try to reconfigure APST when the controller is not live
commit 53fe2a30bc upstream.

Do not call nvme_configure_apst when the controller is not live, given
that nvme_configure_apst will fail due the lack of an admin queue when
the controller is being torn down and nvme_set_latency_tolerance is
called from dev_pm_qos_hide_latency_tolerance.

Fixes: 510a405d945b("nvme: fix memory leak for power latency tolerance")
Reported-by: Peng Liu <liupeng17@lenovo.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-22 10:59:47 +02:00
..
host nvme: do not try to reconfigure APST when the controller is not live 2021-05-22 10:59:47 +02:00
target nvmet: don't check iosqes,iocqes for discovery controllers 2021-03-24 11:07:33 +01:00
Kconfig
Makefile