Re: [PATCH v1] dmaengine: dw: Initialize channel before each transfer

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

 



On 05-07-20, 14:56, Andy Shevchenko wrote:
> In some cases DMA can be used only with a consumer which does runtime power
> management and on the platforms, that have DMA auto power gating logic
> (see comments in the drivers/acpi/acpi_lpss.c), may result in DMA losing
> its context. Simple mitigation of this issue is to initialize channel
> each time the consumer initiates a transfer.
> 
> Fixes: cfdf5b6cc598 ("dw_dmac: add support for Lynxpoint DMA controllers")
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206403
> Reported-by: Tsuchiya Yuto <kitakar@xxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
>  drivers/dma/dw/core.c | 12 ------------
>  1 file changed, 12 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

-- 
viresh



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux