Thread (11 messages) flat view 11 messages, 3 authors, 2016-01-10

[PATCH 3/4] drivers: ata: wake port before DMA stop for ALPM

From: tj@kernel.org (Tejun Heo)
Date: 2016-01-10 17:30:00
Also in: linux-ide, lkml

Hello, Danesh.

On Fri, Jan 08, 2016 at 03:20:44PM -0800, Danesh Petigara wrote:
ahci_set_lpm in it's current form cannot be used here as it also
modifies the ALPE/ASP bits. The idea is to wake the link before DMA stop
without changing the ALPM bits so the link can return to it's configured
low power state when it's idle.

We could however update that function by introducing a new hints flag
that allows us to skip unneeded logic for this scenario. ahci_set_lpm
can then be called from ahci_stop_engine.
Yeah, please either update the function or factor the necessary part
out.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help