lkml.org 
[lkml]   [2022]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] libata: add horkage for M88V29
From
On 2/4/22 21:57, zboszor@pr.hu wrote:
> From: Zoltán Böszörményi <zboszor@gmail.com>
>
> This device is a CF card, or possibly an SSD in CF form factor.
> It supports NCQ and high speed DMA.
>
> While it also advertises TRIM support, I/O errors are reported
> when the discard mount option fstrim is used. TRIM also fails
> when disabling NCQ and not just as an NCQ command.
>
> TRIM must be disabled for this device.
>
> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
> ---
> drivers/ata/libata-core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
> index 67f88027680a..4a7f58fcc411 100644
> --- a/drivers/ata/libata-core.c
> +++ b/drivers/ata/libata-core.c
> @@ -4028,6 +4028,7 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
>
> /* devices that don't properly handle TRIM commands */
> { "SuperSSpeed S238*", NULL, ATA_HORKAGE_NOTRIM, },
> + { "M88V29*", NULL, ATA_HORKAGE_NOTRIM, },
>
> /*
> * As defined, the DRAT (Deterministic Read After Trim) and RZAT

Applied to for-5.17-fixes. Thanks !

--
Damien Le Moal
Western Digital Research

\
 
 \ /
  Last update: 2022-02-08 09:09    [W:0.070 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site