libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Feb 2018 09:48:20 +0000 (10:48 +0100)
committerTejun Heo <tj@kernel.org>
Sun, 18 Feb 2018 13:27:38 +0000 (05:27 -0800)
commit9c7be59fc519af9081c46c48f06f2b8fadf55ad8
treee83d34da712131366b15fd644237001098e4b3ac
parent0a65e125150c227314dcd561a202a84228398449
libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs

Various people have reported the Crucial MX100 512GB model not working
with LPM set to min_power. I've now received a report that it also does
not work with the new med_power_with_dipm level.

It does work with medium_power, but that has no measurable power-savings
and given the amount of people being bitten by the other levels not
working, this commit just disables LPM altogether.

Note all reporters of this have either the 512GB model (max capacity), or
are not specifying their SSD's size. So for now this quirk assumes this is
a problem with the 512GB model only.

Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=89261
Buglink: https://github.com/linrunner/TLP/issues/84
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c