diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-04-20 23:37:56 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 23:42:10 +0300 |
commit | be56945c4edd5a3da15f8254b68d1ddb1588d0c4 (patch) | |
tree | 97ba8f0c352907c8b3cb32d7e56997c690c39dac | |
parent | ff5350a86b20de23991e474e006e2ff2732b218e (diff) | |
download | linux-be56945c4edd5a3da15f8254b68d1ddb1588d0c4.tar.xz |
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: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r-- | drivers/nvme/host/core.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 00b2818dac31..eeb409c287b8 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -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. */ |