Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1394673 > unrolled thread
| Started by | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| First post | 2016-05-04 21:40 +0200 |
| Last post | 2016-05-06 15:40 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH v1 0/2] dmaengine: urgent fix to prevent regression in UART Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-05-04 21:40 +0200
Re: [PATCH v1 0/2] dmaengine: urgent fix to prevent regression in UART Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-05-06 15:40 +0200
| From | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| Date | 2016-05-04 21:40 +0200 |
| Subject | [PATCH v1 0/2] dmaengine: urgent fix to prevent regression in UART |
| Message-ID | <rvaEH-1v3-47@gated-at.bofh.it> |
There are two patches, first of which is an urgent fix to prevent a regression when UART driver can't acquire DMA channel due to DMA engine which doesn't support DMA_CYCLIC. Andy Shevchenko (2): dmaengine: slave means at least one of DMA_SLAVE, DMA_CYCLIC dmaengine: rename cmd_pause to cmd_suspend drivers/dma/dmaengine.c | 8 ++++---- drivers/tty/serial/8250/8250_dma.c | 2 +- include/linux/dmaengine.h | 4 ++-- sound/soc/soc-generic-dmaengine-pcm.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) -- 2.8.1
[toc] | [next] | [standalone]
| From | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| Date | 2016-05-06 15:40 +0200 |
| Subject | Re: [PATCH v1 0/2] dmaengine: urgent fix to prevent regression in UART |
| Message-ID | <rvO94-68U-13@gated-at.bofh.it> |
| In reply to | #1394673 |
+Cc: Heikki
On Wed, 2016-05-04 at 22:29 +0300, Andy Shevchenko wrote:
> There are two patches, first of which is an urgent fix to prevent a
> regression
> when UART driver can't acquire DMA channel due to DMA engine which
> doesn't
> support DMA_CYCLIC.
Have to add the following.
The commit ec5a11a91eec ("serial: 8250: Validate dmaengine rx chan meets
requirements") brought a check for DMA capabilities and UART will not
acquire a DMA channel if DMA engine doesn't support both DMA_CYCLIC
_and_ DMA_SLAVE. The first patch in the series changes the logic from
_and_ to _or_.
>
> Andy Shevchenko (2):
> dmaengine: slave means at least one of DMA_SLAVE, DMA_CYCLIC
> dmaengine: rename cmd_pause to cmd_suspend
>
> drivers/dma/dmaengine.c | 8 ++++----
> drivers/tty/serial/8250/8250_dma.c | 2 +-
> include/linux/dmaengine.h | 4 ++--
> sound/soc/soc-generic-dmaengine-pcm.c | 2 +-
> 4 files changed, 8 insertions(+), 8 deletions(-)
>
--
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web