From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E89B7606A322 for ; Thu, 3 Dec 2026 21:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Pidejpqr; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Pojs2W1s DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:Subject: From:Message-ID:MIME-Version:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=dEVdv+ASX6ldESOwBYytjE1gwVy8GQDg4upFL40k/1c=; b=PidejpqrfUDwZVhdvzDIUWxgKQ LXE2XAzpdZskX09cvyP1bk//zdc3IrXHNoAPvxvMfTd2xoBe/fEH04d+ee2ynWNQVOfRDm43xVVEF DxZwUx6fNWxc23txaeEe4idao6ef33hvS6eI3pZYXkOYgmareyODkBpqiZRAK8GdStLTsRLeyMbXc hQ8fQZsCcKy5YV2WjcHkU6CP/wlKlyQ6KOy9iWAMYzvo3Dwgp1CX4VKF+qP7nqwYGdQa7VIT/IETD 7voXPBQVz7GXa5YmOa80bPyGLr5ok/VGFO1pvETE7QmBCgFb5yzOFujyAB/cp+Ya2MCVh0tf3Z3a3 2wqdrh0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZEpm-0000000G3zW-0VNZ; Thu, 03 Dec 2026 21:59:22 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZEpk-0000000G3z2-2eN0 for linux-nvme@lists.infradead.org; Thu, 03 Dec 2026 21:59:20 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 1725461EFB; Thu, 3 Dec 2026 21:59:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1AA11F000C2; Thu, 3 Dec 2026 21:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796335159; bh=dEVdv+ASX6ldESOwBYytjE1gwVy8GQDg4upFL40k/1c=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Pojs2W1sxYxX5TwBOBQuriQL+OTZOdy1nFn3zY11patDAirm+5WB+YXhSgL8UiL9N JktMFNWZ1PEqDQifleBZpgRAd+ZuQ68uqu/rsRezjv53iCf/2OJTfM/bXBw9MEo1i8 5+PsA54KAbKl3AglbnLO7YZSSUOMd7fAyXQE5ris30dfhYQeVmBUPZ+KK+s2g6VuXG X2otMQEGQMtAEEOoFIF9mwPNLHqgHTLpKb5vPwI6U+psp6v+A1DebgUKYwUvm0P/gt kBHwFowmR8EoM2jiO7BCA1Ygjg7kFd9elWAFLZHaDUn3MtI9ADANFMEgs87VoeDPbs Xw6ML5RjjGrJQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] nvme-pci: add NVME_QUIRK_NO_FUA for Kingston KC3000 w/Phison E18 controller To: "Daniel Scheller" Cc: linux-nvme@lists.infradead.org In-Reply-To: <20261203-nvme-kc3000-nofua-v1-1-6639a5aadcf1@gmx.net> References: <20261203-nvme-kc3000-nofua-v1-1-6639a5aadcf1@gmx.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 21:59:19 +0000 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "Linux-nvme" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: 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 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-s= sd-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[] = =3D { > { PCI_DEVICE(0x2646, 0x2263), /* KINGSTON A2000 NVMe SSD */ > .driver_data =3D NVME_QUIRK_NO_DEEPEST_PS, }, > { PCI_DEVICE(0x2646, 0x5013), /* Kingston KC3000, Kingston FURY Reneg= ade */ > - .driver_data =3D NVME_QUIRK_NO_SECONDARY_TEMP_THRESH, }, > + .driver_data =3D 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"). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-nvme-kc300= 0-nofua-v1-1-6639a5aadcf1@gmx.net?part=3D1