Re: [PATCH] ahci: Turn off DMA engines when there's no device attached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/10/2010 03:32 PM, Matthew Garrett wrote:
According to section 10.3.1 of the AHCI spec, PxCMD.ST must not be set
unless there's a device attached. Following this saves us a measurable
quantity of power and does not impair hotplug support. Based on a patch
by Kristen Carlson Accardi.

Signed-off-by: Matthew Garrett<mjg@xxxxxxxxxx>
Cc: Kristen Carlson Accardi<kristen.c.accardi@xxxxxxxxx>
---
  drivers/ata/ahci.c |   19 +++++++++++++++++++
  1 files changed, 19 insertions(+), 0 deletions(-)

applied manually to libata-dev.git#upstream, due to large code movements in creation of new libahci kernel module


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux