stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4.14 0/2] backport iio: stm32-adc: fix a race with dma and irq
@ 2019-10-16 13:44 Fabrice Gasnier
  2019-10-16 13:44 ` [PATCH 4.14 1/2] iio: adc: stm32-adc: move registers definitions Fabrice Gasnier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrice Gasnier @ 2019-10-16 13:44 UTC (permalink / raw)
  To: stable; +Cc: sashal, Jonathan.Cameron, gregkh

This is a backport of "iio: stm32-adc: fix a race with dma and irq" series
on top of v4.14.148 at the time of writing. The original series doesn't
apply cleanly on v4.14.x: the precursor patch needed a slight update.

Original series can be found in [1].
[1] https://www.lkml.org/lkml/2019/9/17/394

Original cover-letter:
This series fixes a race condition observed when using several ADCs with DMA
and irq.
There's a precusor patch to the fix. It keeps registers definitions as a whole
block, to ease readability and allow simple (readl) access path to EOC bits in
stm32-adc-core driver.

Fabrice Gasnier (2):
  iio: adc: stm32-adc: move registers definitions
  iio: adc: stm32-adc: fix a race when using several adcs with dma and
    irq

 drivers/iio/adc/stm32-adc-core.c |  70 +++++++++++---------
 drivers/iio/adc/stm32-adc-core.h | 135 +++++++++++++++++++++++++++++++++++++++
 drivers/iio/adc/stm32-adc.c      | 107 -------------------------------
 3 files changed, 175 insertions(+), 137 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-08 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 13:44 [PATCH 4.14 0/2] backport iio: stm32-adc: fix a race with dma and irq Fabrice Gasnier
2019-10-16 13:44 ` [PATCH 4.14 1/2] iio: adc: stm32-adc: move registers definitions Fabrice Gasnier
2019-10-16 13:44 ` [PATCH 4.14 2/2] iio: adc: stm32-adc: fix a race when using several adcs with dma and irq Fabrice Gasnier
2019-11-08 16:17 ` [PATCH 4.14 0/2] backport iio: stm32-adc: fix a race " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).