SATA: Blacklist systems that spin off disks during ACPI power off (rev. 2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 6 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Tejun Heo |
|---|---|
| Series | A-b A-b A-b A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] SATA: Blacklist systems that spin off disks during ACPI power off (rev. 2)
Quoted 9 lines · Rafael J. Wysocki
Quoted 8 lines · Andrew Morton
Quoted 6 lines · On Fri, 3 Oct 2008 13:27:18 +0200 "Rafael J. Wysocki" <[email protected]> wrote:
Quoted 3 lines
Can we just create a new global?
extern bool system_entering_hibernation_or_whatever;Yes, we can, but what about:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
extern bool
system_entering_hibernation(void);that will become a static inline in case of !CONFIG_HIBERNATION, and using a static variable?
Sure, even better.
OK, I'll respin the entire series, then.
As promised:
---
SATA: Blacklist systems that spin off disks during ACPI power off (rev. 2)
Some notebooks from HP have the problem that their BIOSes attempt to spin down hard drives before entering ACPI system states S4 and S5. This leads to a yo-yo effect during system power-off shutdown and the last phase of hibernation when the disk is first spun down by the kernel and then almost immediately turned on and off by the BIOS. This, in turn, may result in shortening the disk's life times.
To prevent this from happening we can blacklist the affected systems using DMI information, which is implemented by the following series of patches.