Skip to content

Commit 76936e9

Browse files
fcamihtejun
authored andcommitted
libata: Apply NOLPM quirk for SAMSUNG PM830 CXM13D1Q.
Without this patch the drive errors out regularly: [ 1.090154] ata1.00: ATA-8: SAMSUNG SSD PM830 mSATA 256GB, CXM13D1Q, max UDMA/133 (...) [ 345.154996] ata1.00: exception Emask 0x40 SAct 0x0 SErr 0xc0800 action 0x6 [ 345.155006] ata1.00: irq_stat 0x40000001 [ 345.155013] ata1: SError: { HostInt CommWake 10B8B } [ 345.155018] ata1.00: failed command: SET FEATURES [ 345.155032] ata1.00: cmd ef/05:e1:00:00:00/00:00:00:00:00/40 tag 7 res 51/04:e1:00:00:00/00:00:00:00:00/40 Emask 0x41 (internal error) [ 345.155038] ata1.00: status: { DRDY ERR } [ 345.155042] ata1.00: error: { ABRT } [ 345.155051] ata1: hard resetting link [ 345.465661] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 345.466955] ata1.00: configured for UDMA/133 [ 345.467085] ata1: EH complete Signed-off-by: François Cami <[email protected]> Acked-by: Hans de Goede <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 322579d commit 76936e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/ata/libata-core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4553,8 +4553,9 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
45534553
ATA_HORKAGE_ZERO_AFTER_TRIM |
45544554
ATA_HORKAGE_NOLPM, },
45554555

4556-
/* This specific Samsung model/firmware-rev does not handle LPM well */
4556+
/* These specific Samsung models/firmware-revs do not handle LPM well */
45574557
{ "SAMSUNG MZMPC128HBFU-000MV", "CXM14M1Q", ATA_HORKAGE_NOLPM, },
4558+
{ "SAMSUNG SSD PM830 mSATA *", "CXM13D1Q", ATA_HORKAGE_NOLPM, },
45584559

45594560
/* Sandisk devices which are known to not handle LPM well */
45604561
{ "SanDisk SD7UB3Q*G1001", NULL, ATA_HORKAGE_NOLPM, },

0 commit comments

Comments
 (0)