mbox series

[v2,0/7] dmaengine: dw: Bug fixes and big refactoring

Message ID 20181205162818.45112-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series dmaengine: dw: Bug fixes and big refactoring | expand

Message

Andy Shevchenko Dec. 5, 2018, 4:28 p.m. UTC
Here are two bug fixes, clean up and big refactoring against
Synopsys DesignWare DMA driver.

Bug fixes are related to Intel iDMA 32-bit type of controller
which has been tested on Intel Merrifield platform.

The big refactoring splits out specific DW and iDMA 32-bit parts
for better maintenance.

Changelog v2:
- rebase on top of topic/dw branch of dmaengine subsystem
- append few more patches, especially one that removes is_private property
- fix code kbuild bot complains about
- fix some typos which slipped during refactoring and haven't been noticed
  during test

Andy Shevchenko (7):
  dmaengine: dw: Add missed multi-block support for iDMA 32-bit
  dmaengine: dw: Remove misleading is_private property
  dmaengine: dw: Remove unused internal property
  dmaengine: dw: Split DW and iDMA 32-bit operations
  dmaengine: dw: Reset DRAIN bit when resume the channel
  dmaengine: dw: Don't pollute CTL_LO on iDMA 32-bit
  dmaengine: dw: convert to SPDX identifiers

 .../devicetree/bindings/dma/snps-dma.txt      |   2 -
 drivers/dma/dw/Kconfig                        |   2 +
 drivers/dma/dw/Makefile                       |   2 +-
 drivers/dma/dw/core.c                         | 244 ++++--------------
 drivers/dma/dw/dw.c                           | 138 ++++++++++
 drivers/dma/dw/idma32.c                       | 160 ++++++++++++
 drivers/dma/dw/internal.h                     |  15 +-
 drivers/dma/dw/pci.c                          |  53 ++--
 drivers/dma/dw/platform.c                     |  22 +-
 drivers/dma/dw/regs.h                         |  30 ++-
 drivers/tty/serial/8250/8250_lpss.c           |   1 -
 include/linux/dma/dw.h                        |   9 +-
 include/linux/platform_data/dma-dw.h          |  12 +-
 13 files changed, 425 insertions(+), 265 deletions(-)
 create mode 100644 drivers/dma/dw/dw.c
 create mode 100644 drivers/dma/dw/idma32.c

Comments

Andy Shevchenko Dec. 5, 2018, 4:33 p.m. UTC | #1
On Wed, Dec 05, 2018 at 06:28:11PM +0200, Andy Shevchenko wrote:
> Here are two bug fixes, clean up and big refactoring against
> Synopsys DesignWare DMA driver.
> 
> Bug fixes are related to Intel iDMA 32-bit type of controller
> which has been tested on Intel Merrifield platform.
> 
> The big refactoring splits out specific DW and iDMA 32-bit parts
> for better maintenance.
> 

Argh, I missed first bug fix, I will send it separately, it might be applied
separately, but before this series.

> Changelog v2:
> - rebase on top of topic/dw branch of dmaengine subsystem
> - append few more patches, especially one that removes is_private property
> - fix code kbuild bot complains about
> - fix some typos which slipped during refactoring and haven't been noticed
>   during test
> 
> Andy Shevchenko (7):
>   dmaengine: dw: Add missed multi-block support for iDMA 32-bit
>   dmaengine: dw: Remove misleading is_private property
>   dmaengine: dw: Remove unused internal property
>   dmaengine: dw: Split DW and iDMA 32-bit operations
>   dmaengine: dw: Reset DRAIN bit when resume the channel
>   dmaengine: dw: Don't pollute CTL_LO on iDMA 32-bit
>   dmaengine: dw: convert to SPDX identifiers
> 
>  .../devicetree/bindings/dma/snps-dma.txt      |   2 -
>  drivers/dma/dw/Kconfig                        |   2 +
>  drivers/dma/dw/Makefile                       |   2 +-
>  drivers/dma/dw/core.c                         | 244 ++++--------------
>  drivers/dma/dw/dw.c                           | 138 ++++++++++
>  drivers/dma/dw/idma32.c                       | 160 ++++++++++++
>  drivers/dma/dw/internal.h                     |  15 +-
>  drivers/dma/dw/pci.c                          |  53 ++--
>  drivers/dma/dw/platform.c                     |  22 +-
>  drivers/dma/dw/regs.h                         |  30 ++-
>  drivers/tty/serial/8250/8250_lpss.c           |   1 -
>  include/linux/dma/dw.h                        |   9 +-
>  include/linux/platform_data/dma-dw.h          |  12 +-
>  13 files changed, 425 insertions(+), 265 deletions(-)
>  create mode 100644 drivers/dma/dw/dw.c
>  create mode 100644 drivers/dma/dw/idma32.c
> 
> -- 
> 2.19.2
>
Vinod Koul Jan. 4, 2019, 3:22 p.m. UTC | #2
On 05-12-18, 18:28, Andy Shevchenko wrote:
> Here are two bug fixes, clean up and big refactoring against
> Synopsys DesignWare DMA driver.
> 
> Bug fixes are related to Intel iDMA 32-bit type of controller
> which has been tested on Intel Merrifield platform.
> 
> The big refactoring splits out specific DW and iDMA 32-bit parts
> for better maintenance.

I tried applying this but doesnt for me after 4th one, can you please
rebase and resend..