linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] ata: ahci: Enable DEVSLP by default on SLP_S0 support
@ 2018-07-12 22:27 Srinivas Pandruvada
  2018-07-12 22:27 ` [RFC PATCH v2 1/2] ata: ahci: Support state with min power and Partial low power state Srinivas Pandruvada
  2018-07-12 22:27 ` [RFC PATCH v2 2/2] ata: ahci: Enable DEVSLP by default on x86 with SLP_S0 Srinivas Pandruvada
  0 siblings, 2 replies; 7+ messages in thread
From: Srinivas Pandruvada @ 2018-07-12 22:27 UTC (permalink / raw)
  To: tj, hdegoede
  Cc: linux-ide, linux-kernel, alan.cox, Mario.Limonciello, rjw,
	Srinivas Pandruvada

One of the requirement for modern x86 system to enter lowest power mode
(SLP_S0) is SATA IP block to be off. This is true even during when
platform is suspended to idle and not only in opportunistic (runtime)
suspend.
This series is to enable DEVSLP by default.

v2
- As suggested by Hans, it is possible to have ASP with DEVSLP, so
add a new state.
- Removed usage of mem_sleep_current, instead just rely on low power
idle flag. Don't feel good to EXPORT from core suspend code.
- Depending host policy to decide if we enable DEVSLP by default.

Srinivas (1):
  ata: ahci: Enable DEVSLP by default on x86 with SLP_S0

Srinivas Pandruvada (1):
  ata: ahci: Support state with min power but Partial low power state

 drivers/ata/ahci.c        | 15 +++++++++++++++
 drivers/ata/libahci.c     |  6 +++++-
 drivers/ata/libata-core.c |  1 +
 drivers/ata/libata-scsi.c |  1 +
 include/linux/libata.h    |  3 ++-
 5 files changed, 24 insertions(+), 2 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-19 13:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12 22:27 [RFC PATCH v2 0/2] ata: ahci: Enable DEVSLP by default on SLP_S0 support Srinivas Pandruvada
2018-07-12 22:27 ` [RFC PATCH v2 1/2] ata: ahci: Support state with min power and Partial low power state Srinivas Pandruvada
2018-07-13  9:08   ` Hans de Goede
2018-07-13 15:06     ` Srinivas Pandruvada
2018-07-19 13:13       ` Hans de Goede
2018-07-12 22:27 ` [RFC PATCH v2 2/2] ata: ahci: Enable DEVSLP by default on x86 with SLP_S0 Srinivas Pandruvada
2018-07-13  9:13   ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).