linux/drivers/nvme/host
Yufen Yu 510a405d94 nvme: fix memory leak for power latency tolerance
Unconditionally hide device pm latency tolerance when uninitializing
the controller to ensure all qos resources are released so that we're
not leaking this memory. This is safe to call if none were allocated in
the first place, or were previously freed.

Fixes: c5552fde102fc("nvme: Enable autonomous power state transitions")
Suggested-by: Keith Busch <keith.busch@intel.com>
Tested-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
[changelog]
Signed-off-by: Keith Busch <keith.busch@intel.com>
2019-05-17 11:08:09 -06:00
..
core.c nvme: fix memory leak for power latency tolerance 2019-05-17 11:08:09 -06:00
fabrics.c nvme-fabrics: remove unused argument 2019-05-14 17:19:43 +02:00
fabrics.h nvme-fabrics: convert to SPDX identifiers 2019-02-20 07:22:13 -07:00
fault_inject.c nvme: convert to SPDX identifiers 2019-02-20 07:22:28 -07:00
fc.c for-5.2/block-post-20190516 2019-05-16 19:08:15 -07:00
Kconfig nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
lightnvm.c lightnvm: Inherit mdts from the parent nvme device 2019-05-06 10:19:17 -06:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
multipath.c nvme-multipath: avoid crash on invalid subsystem cntlid enumeration 2019-05-13 16:00:03 +02:00
nvme.h nvme-pci: Sync queues on reset 2019-05-17 11:04:34 -06:00
pci.c nvme-pci: Sync queues on reset 2019-05-17 11:04:34 -06:00
rdma.c nvme-rdma: remove redundant reference between ib_device and tagset 2019-05-13 16:00:03 +02:00
tcp.c nvme-tcp: fix possible null deref on a timed out io queue connect 2019-05-01 09:17:15 -04:00
trace.c nvme: add get-feature to admin cmds tracer 2019-03-13 12:05:39 -06:00
trace.h nvme: trace all async notice events 2019-05-14 17:19:47 +02:00