Skip to content

Commit

Permalink
nvme: Quirk APST off on "THNSF5256GPUK TOSHIBA"
Browse files Browse the repository at this point in the history
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: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Andy Lutomirski authored and Jens Axboe committed Apr 20, 2017
1 parent ff5350a commit be56945
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/nvme/host/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit be56945

Please sign in to comment.