>>> Greg and/or Rafael, what's the right way to fix this? I would imagine >>> that the driver core should free pm_qos requests when the device goes >>> away, no? >> >> Yes, it should. >> > > I don't see the bug. dev_pm_qos_constraints_destroy() should take care of it. I see it all the time, where is dev_pm_qos_constraints_destroy() called? Not in nvme.