diff options
author | Georg Gottleuber <ggo@tuxedocomputers.com> | 2023-09-20 10:52:10 +0200 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2023-12-07 08:53:20 -0800 |
commit | 107b4e063d78c300b21e2d5291b1aa94c514ea5b (patch) | |
tree | 52411d7faf105aa299f85bf6aef7a475b69e17e8 /drivers/nvme/host/nvme.h | |
parent | 839a40d1e730977d4448d141fa653517c2959a88 (diff) | |
download | linux-107b4e063d78c300b21e2d5291b1aa94c514ea5b.tar.gz linux-107b4e063d78c300b21e2d5291b1aa94c514ea5b.tar.bz2 linux-107b4e063d78c300b21e2d5291b1aa94c514ea5b.zip |
nvme-pci: Add sleep quirk for Kingston drives
Some Kingston NV1 and A2000 are wasting a lot of power on specific TUXEDO
platforms in s2idle sleep if 'Simple Suspend' is used.
This patch applies a new quirk 'Force No Simple Suspend' to achieve a
low power sleep without 'Simple Suspend'.
Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Georg Gottleuber <ggo@tuxedocomputers.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index efb20a8e23a3..e7411dac00f7 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -156,6 +156,11 @@ enum nvme_quirks { * No temperature thresholds for channels other than 0 (Composite). */ NVME_QUIRK_NO_SECONDARY_TEMP_THRESH = (1 << 19), + + /* + * Disables simple suspend/resume path. + */ + NVME_QUIRK_FORCE_NO_SIMPLE_SUSPEND = (1 << 20), }; /* |