Re: [PATCH #upstream-fixes] ahci: redo stopping DMA engines on empty ports

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

 



On 06/07/2010 09:15 AM, Tejun Heo wrote:
Commit 96d60303fd (ahci: Turn off DMA engines when there's no device)
implemented stopping DMA engines on empty ports but it used single
sampling of status registers to determine device presence which led to
disabling of DMA engines on occupied ports.  Do it after all EH
actions are complete using device presence state determined by EH.
This avoids spurious disabling of DMA engines and simplifies the code.

Signed-off-by: Tejun Heo<tj@xxxxxxxxxx>
Tested-by: Marc Dionne<marc.c.dionne@xxxxxxxxx>
Cc: Matthew Garrett<mjg@xxxxxxxxxx>
Cc: Robert Hancock<hancockrwd@xxxxxxxxx>
---
  drivers/ata/libahci.c |   21 +++------------------
  1 file changed, 3 insertions(+), 18 deletions(-)

applied


--
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