Re: [PATCH] serial: imx: Fix DMA handling for IDLE condition aborts

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

 



Hi Philipp,

On Tue, May 19, 2015 at 5:54 AM, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:
> The driver configures the IDLE condition to interrupt the SDMA engine.
> Since the SDMA UART ROM script doesn't clear the IDLE bit itself, this
> caused repeated 1-byte DMA transfers, regardless of available data in the
> RX FIFO. Also, when returning due to the IDLE condition, the UART ROM
> script already increased its counter, causing residue to be off by one.
>
> This patch clears the IDLE condition to avoid repeated 1-byte DMA transfers
> and decreases count by when the DMA transfer was aborted due to the IDLE
> condition, fixing serial transfers using DMA on i.MX6Q.
>
> Reported-by: Peter Seiderer <ps.report@xxxxxxx>
> Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

Thanks for the fix. Tested on a imx6sl-warp, where I could not use DMA
to access a Bluetooth device using the ROM SDMA firmware.

Tested-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

Could you please also Cc stable?

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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux