ata: libata-core: Disable READ LOG DMA EXT for Samsung MZ7LH
authorPatrick McLean <chutzpah@gentoo.org>
Fri, 10 Feb 2023 21:51:51 +0000 (13:51 -0800)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 14 Feb 2023 03:22:48 +0000 (12:22 +0900)
commitead089577e0f55b238f980d9f62eaa90b7b64672
treeee39c637d0f02f945a87e505e9db4c6b85c2424a
parent69f2c9346313ba3d3dfa4091ff99df26c67c9021
ata: libata-core: Disable READ LOG DMA EXT for Samsung MZ7LH

Samsung MZ7LH drives are spewing messages like this in to dmesg with AMD
SATA controllers:

ata1.00: exception Emask 0x0 SAct 0x7e0000 SErr 0x0 action 0x6 frozen
ata1.00: failed command: SEND FPDMA QUEUED
ata1.00: cmd 64/01:88:00:00:00/00:00:00:00:00/a0 tag 17 ncq dma 512 out
         res 40/00:01:01:4f:c2/00:00:00:00:00/00 Emask
         0x4 (timeout)

Since this was seen previously with SSD 840 EVO drives in
https://bugzilla.kernel.org/show_bug.cgi?id=203475 let's add the same
fix for these drives as the EVOs have, since they likely have very
similar firmwares.

Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-core.c