Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be56945c authored by Andy Lutomirski's avatar Andy Lutomirski Committed by Jens Axboe
Browse files

nvme: Quirk APST off on "THNSF5256GPUK TOSHIBA"

There's a report that it malfunctions with APST on.

See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184



Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent ff5350a8
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1395,6 +1395,15 @@ struct nvme_core_quirk_entry {
};

static const struct nvme_core_quirk_entry core_quirks[] = {
	{
		/*
		 * This Toshiba device seems to die using any APST states.  See:
		 * https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678184/comments/11
		 */
		.vid = 0x1179,
		.mn = "THNSF5256GPUK TOSHIBA",
		.quirks = NVME_QUIRK_NO_APST,
	}
};

/* match is null-terminated but idstr is space-padded. */