Re: [PATCH] dma: mv_xor: Flush descriptors before activating a channel

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

 



On Mar 26, Ezequiel Garcia wrote:
> We need to use writel() instead of writel_relaxed() when starting
> a channel, to ensure all the descriptors have been flushed before
> the activation.
> 
> While at it, remove the unneeded read-modify-write and make the
> code simpler.
> 
> Signed-off-by: Lior Amsalem <alior@xxxxxxxxxxx>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx>
> ---
> This fix applies cleanly since commit:
> 5733c38 mv_xor: use {readl, writel}_relaxed instead of __raw_{readl, writel}
> 
> Given the fix is applicable since the introduction of the driver,
> in v2.6.27, it should be marked accordingly. I can provide a backport
> in due time.
> 

Dan, Vinod, any comments? We'd like to have this fix merged so it lands stable
as soon as possible.

Thanks!
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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