[PATCH] nvme-pci: add NVME_QUIRK_NO_FUA for Kingston KC3000 w/Phison E18 controller

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Dec 3 13:59:19 PST 2026


Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] nvme-pci: overly broad NVME_QUIRK_NO_FUA scope on shared PCI
  ID 0x2646:0x5013
--

commit 21ed8122f300ef8dc2870da3c07c622cb2a5a319
Author: Daniel Scheller <d.scheller at gmx.net>

nvme-pci: add NVME_QUIRK_NO_FUA for Kingston KC3000 w/Phison E18 controller

This patch adds NVME_QUIRK_NO_FUA to the PCI ID 0x2646:0x5013 entry in
nvme_id_table and updates the comment on NVME_QUIRK_NO_FUA in
drivers/nvme/host/nvme.h.

Link: https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/2064042
Link: https://unix.stackexchange.com/questions/793790/how-do-i-debug-nvme-ssd-heating-while-idle-when-booting-from-it

> diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
> index 076603df01abb..951f65afd3fe5 100644
> --- a/drivers/nvme/host/pci.c
> +++ b/drivers/nvme/host/pci.c
> @@ -4449,7 +4449,8 @@ static const struct pci_device_id nvme_id_table[] = {
>  	{ PCI_DEVICE(0x2646, 0x2263),   /* KINGSTON A2000 NVMe SSD  */
>  		.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
>  	{ PCI_DEVICE(0x2646, 0x5013),   /* Kingston KC3000, Kingston FURY Renegade */
> -		.driver_data = NVME_QUIRK_NO_SECONDARY_TEMP_THRESH, },
> +		.driver_data = NVME_QUIRK_NO_SECONDARY_TEMP_THRESH |
> +				NVME_QUIRK_NO_FUA, },

[Severity: Medium]
Should NVME_QUIRK_NO_FUA be scoped more narrowly than PCI ID 0x2646:0x5013?

The commit message describes an idle power issue on Kingston KC3000 drives
running firmware EIFK51.2, but this PCI ID is shared with Kingston FURY
Renegade as well as other KC3000 firmware revisions.

Clearing BLK_FEAT_FUA in nvme_update_ns_info_block() forces every REQ_FUA
write (such as O_DSYNC or journal commits) on unaffected drives through
blk_insert_flush() post-flush emulation, turning single-command FUA writes
into serialized write plus whole-cache flush commands.

Unless all models and firmware revisions sharing 0x2646:0x5013 are affected,
consider matching vid, mn, and fr in core_quirks[] in
drivers/nvme/host/core.c instead (for example vid 0x2646 and fr "EIFK51.2").

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-nvme-kc3000-nofua-v1-1-6639a5aadcf1@gmx.net?part=1



More information about the Linux-nvme mailing list