ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks
authorTejun Heo <tj@kernel.org>
Mon, 27 Oct 2014 14:22:56 +0000 (10:22 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:51 +0000 (16:23 +0000)
commitd3d6c329330bd0f2821b0ba83a27693e99265866
treea7e54dc2933803122e385552e706c25ce256dc50
parenta708b76a5c74624ac0bb5a70c892511536c37869
ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks

commit 66a7cbc303f4d28f201529b06061944d51ab530c upstream.

Samsung pci-e SSDs on macbooks failed miserably on NCQ commands, so
67809f85d31e ("ahci: disable NCQ on Samsung pci-e SSDs on macbooks")
disabled NCQ on them.  It turns out that NCQ is fine as long as MSI is
not used, so let's turn off MSI and leave NCQ on.

Signed-off-by: Tejun Heo <tj@kernel.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=60731
Tested-by: <dorin@i51.org>
Tested-by: Imre Kaloz <kaloz@openwrt.org>
Fixes: 67809f85d31e ("ahci: disable NCQ on Samsung pci-e SSDs on macbooks")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/ata/ahci.c