* [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8
@ 2026-11-16 20:54 Justinien Bouron
2026-11-16 21:39 ` Damien Le Moal
2026-11-17 12:45 ` Niklas Cassel
0 siblings, 2 replies; 4+ messages in thread
From: Justinien Bouron @ 2026-11-16 20:54 UTC (permalink / raw)
To: Damien Le Moal, Niklas Cassel, Johannes Thumshirn,
Martin K . Petersen, John Garry, Hannes Reinecke, Jens Axboe,
linux-ide, linux-kernel
Cc: Justinien Bouron, Gunnar Kudrjavets, stable
INTEL SSDSCKKB240G8 with firmware version XC311102 runs into FPDMA
timeout errors when queue/max_sectors_kb is set to
BLK_DEF_MAX_SECTORS_CAP = 4096KiB / 8192 sectors. Similar to model
SSDSC2KG480G8, the issue disappears when setting this max size to 8191
sectors, thus apply the same quirk.
Firmware version X5A1ME59 for SSDSCKKB240G8 is un-affected by this bug
thus keep the quirk specific to firmware XC311102.
Fixes: 9b8b84879d4a ("block: Increase BLK_DEF_MAX_SECTORS_CAP")
Signed-off-by: Justinien Bouron <jbouron@amazon.com>
Reviewed-by: Gunnar Kudrjavets <gunnarku@amazon.com>
Cc: stable@vger.kernel.org
---
drivers/ata/libata-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 5ff45a5cbfe4a..2a5ca1b9ee5c0 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4204,6 +4204,7 @@ static const struct ata_dev_quirk_value __ata_dev_max_sec_quirks[] = {
{ "LITEON EP1-*", NULL, 1024 },
{ "DELLBOSS VD", "MV.R00-0", 8191 },
{ "INTEL SSDSC2KG480G8", "XCV10120", 8191 },
+ { "INTEL SSDSCKKB240G8", "XC311102", 8191 },
{ },
};
@@ -4474,6 +4475,8 @@ static const struct ata_dev_quirks_entry __ata_dev_quirks[] = {
ATA_QUIRK_MAX_SEC },
{ "INTEL*SSDSC2CT*", NULL, ATA_QUIRK_ZERO_AFTER_TRIM |
ATA_QUIRK_NO_FUA },
+ { "INTEL SSDSCKKB240G8", "XC311102", ATA_QUIRK_ZERO_AFTER_TRIM |
+ ATA_QUIRK_MAX_SEC },
{ "INTEL*SSD*", NULL, ATA_QUIRK_ZERO_AFTER_TRIM },
{ "SSD*INTEL*", NULL, ATA_QUIRK_ZERO_AFTER_TRIM },
{ "Samsung*SSD*", NULL, ATA_QUIRK_ZERO_AFTER_TRIM },
--
2.47.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8
2026-11-16 20:54 [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8 Justinien Bouron
@ 2026-11-16 21:39 ` Damien Le Moal
2026-11-17 12:45 ` Niklas Cassel
1 sibling, 0 replies; 4+ messages in thread
From: Damien Le Moal @ 2026-11-16 21:39 UTC (permalink / raw)
To: Justinien Bouron, Niklas Cassel, Johannes Thumshirn,
Martin K . Petersen, John Garry, Hannes Reinecke, Jens Axboe,
linux-ide, linux-kernel
Cc: Gunnar Kudrjavets, stable
On 11/16/26 12:54, Justinien Bouron wrote:
> INTEL SSDSCKKB240G8 with firmware version XC311102 runs into FPDMA
> timeout errors when queue/max_sectors_kb is set to
> BLK_DEF_MAX_SECTORS_CAP = 4096KiB / 8192 sectors. Similar to model
> SSDSC2KG480G8, the issue disappears when setting this max size to 8191
> sectors, thus apply the same quirk.
>
> Firmware version X5A1ME59 for SSDSCKKB240G8 is un-affected by this bug
> thus keep the quirk specific to firmware XC311102.
>
> Fixes: 9b8b84879d4a ("block: Increase BLK_DEF_MAX_SECTORS_CAP")
> Signed-off-by: Justinien Bouron <jbouron@amazon.com>
> Reviewed-by: Gunnar Kudrjavets <gunnarku@amazon.com>
> Cc: stable@vger.kernel.org
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8
2026-11-16 20:54 [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8 Justinien Bouron
2026-11-16 21:39 ` Damien Le Moal
@ 2026-11-17 12:45 ` Niklas Cassel
2026-11-17 12:55 ` Niklas Cassel
1 sibling, 1 reply; 4+ messages in thread
From: Niklas Cassel @ 2026-11-17 12:45 UTC (permalink / raw)
To: Damien Le Moal, Johannes Thumshirn, Martin K . Petersen,
John Garry, Hannes Reinecke, Jens Axboe, linux-ide, linux-kernel,
Justinien Bouron
Cc: Gunnar Kudrjavets, stable
On Mon, 16 Nov 2026 12:54:30 -0800, Justinien Bouron wrote:
> INTEL SSDSCKKB240G8 with firmware version XC311102 runs into FPDMA
> timeout errors when queue/max_sectors_kb is set to
> BLK_DEF_MAX_SECTORS_CAP = 4096KiB / 8192 sectors. Similar to model
> SSDSC2KG480G8, the issue disappears when setting this max size to 8191
> sectors, thus apply the same quirk.
>
> Firmware version X5A1ME59 for SSDSCKKB240G8 is un-affected by this bug
> thus keep the quirk specific to firmware XC311102.
>
> [...]
Applied to libata/linux.git (for-7.5), thanks!
[1/1] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8
https://git.kernel.org/libata/linux/c/3dccf22a
Kind regards,
Niklas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8
2026-11-17 12:45 ` Niklas Cassel
@ 2026-11-17 12:55 ` Niklas Cassel
0 siblings, 0 replies; 4+ messages in thread
From: Niklas Cassel @ 2026-11-17 12:55 UTC (permalink / raw)
To: Damien Le Moal, Johannes Thumshirn, Martin K . Petersen,
John Garry, Hannes Reinecke, Jens Axboe, linux-ide, linux-kernel,
Justinien Bouron
Cc: Gunnar Kudrjavets, stable
On Tue, Nov 17, 2026 at 01:45:20PM +0100, Niklas Cassel wrote:
> On Mon, 16 Nov 2026 12:54:30 -0800, Justinien Bouron wrote:
> > INTEL SSDSCKKB240G8 with firmware version XC311102 runs into FPDMA
> > timeout errors when queue/max_sectors_kb is set to
> > BLK_DEF_MAX_SECTORS_CAP = 4096KiB / 8192 sectors. Similar to model
> > SSDSC2KG480G8, the issue disappears when setting this max size to 8191
> > sectors, thus apply the same quirk.
> >
> > Firmware version X5A1ME59 for SSDSCKKB240G8 is un-affected by this bug
> > thus keep the quirk specific to firmware XC311102.
> >
> > [...]
>
> Applied to libata/linux.git (for-7.5), thanks!
>
> [1/1] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8
> https://git.kernel.org/libata/linux/c/3dccf22a
>
I moved this to for-7.4-fixes instead, because of the severity of the bug
and that it is quite recent.
Kind regards,
Niklas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-17 12:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16 20:54 [PATCH] ata: libata-core: Add max sector quirk to INTEL SSDSCKKB240G8 Justinien Bouron
2026-11-16 21:39 ` Damien Le Moal
2026-11-17 12:45 ` Niklas Cassel
2026-11-17 12:55 ` Niklas Cassel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox