[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210830144253.289542-1-hpa@redhat.com>
Date: Mon, 30 Aug 2021 10:42:52 -0400
From: Kate Hsuan <hpa@...hat.com>
To: Jens Axboe <axboe@...nel.dk>, Hans de Goede <hdegoede@...hat.com>,
Damien Le Moal <damien.lemoal@....com>
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
Kate Hsuan <hpa@...hat.com>
Subject: [PATCH v3 0/1] libata: Add ATA_HORKAGE_NONCQ_ON_AMD for Samsung 860 and 870 SSD.
Many users reported the issue when running the system with Samsung 860,
870 SSD, and AMD chipset. Therefore, completely disabling the NCQ can
avoid this issue.
Entire disabling NCQ for Samsung 860/870 SSD will cause I/O performance
drop. In this case, a flag ATA_HORKAGE_NONCQ_ON_AMD is introduced to
used to perform an additional check for these SSDs. If it finds its parent
ATA controller is AMD, the NCQ will be disabled. Otherwise, the NCQ is kept
to enable.
Changes since v3
* Modified the flag from ATA_HORKAGE_NONCQ_ON_ASMEDIA_AMD_MARVELL to
ATA_HORKAGE_NONCQ_ON_AMD.
* Modified and fixed the code to completely disable NCQ on AMD controller.
Kate Hsuan (1):
libata: Add ATA_HORKAGE_NONCQ_ON_AMD for Samsung 860 and 870 SSD.
drivers/ata/libata-core.c | 24 ++++++++++++++++++++++--
include/linux/libata.h | 1 +
2 files changed, 23 insertions(+), 2 deletions(-)
--
2.31.1
Powered by blists - more mailing lists