ata: ahci: Enable DEVSLP by default on SLP_S0 support
Status from this message: Applied to 1-2 to libata/for-4.19.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/22 patches 2 repliesApplied
- v2 RFC posting 1/22 patches 4 repliesSuperseded
Changes in v2 from the cover letter
As suggested by Hans, take care of the module param is same as default LPM policy
Patches in v2 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ata: ahci: Support state with min power but Partial low power statedrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 2/2 | ata: ahci: Enable DEVSLP by default on x86 with SLP_S0drivers/ | +33 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Hans de Goede |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] ata: ahci: Enable DEVSLP by default on SLP_S0 support
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, take care of the module param is same as default LPM policy
-current (non-rfc) series
Implemented suggestions from Hans
- no override of policy set via module param
- Override lpm policy per host not global policy
- changed the new policy name to "min_power_with_partial"
rfc-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 Pandruvada (2):
ata: ahci: Support state with min power but Partial low power state
ata: ahci: Enable DEVSLP by default on x86 with SLP_S0
drivers/ata/ahci.c | 38 +++++++++++++++++++++++++++++++++----- drivers/ata/libahci.c | 5 ++++- drivers/ata/libata-core.c | 1 + drivers/ata/libata-scsi.c | 1 + include/linux/libata.h | 3 ++- 5 files changed, 41 insertions(+), 7 deletions(-)
Signature · 1 line
2.17.1