Skip to content

serial: 8250: split LPSS to 8250_lpss, enable DMA on Quark

Andy Shevchenko linux-serial linux-snps-arc lkml 9 versions – In review

Get series with b4
b4 am 1471017716-44893-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first · linked by author and title

  1. v10 Latest11 patches 3 repliesIn review
  2. v911 patches 3 repliesSuperseded
  3. v711 patches 0 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v611 patches0 repliesSuperseded
v511 patches10 repliesSuperseded
v411 patches2 repliesSuperseded
v311 patches19 repliesSuperseded
v211 patches5 repliesSuperseded
v112 patches22 repliesSuperseded

Changes in v10 from the cover letter

- rebase on top of vanilla (v4.8-rc1)
- re-make patch 3 (Eugeniy Paltsev reported an issue on ARC AXS101 SDP board)

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11dmaengine: dw: keep copy of custom slave config in dwcdrivers/dma/dw/core.c drivers/dma/dw/regs.h+11 -230 replies
2/11dmaengine: dw: set polarity of handshake interfacedrivers/dma/dw/core.c include/linux/platform_data/dma-dw.h+6 -00 replies
3/11dmaengine: dw: override LLP support if asked in platform datadrivers/dma/dw/core.c include/linux/platform_data/dma-dw.h+3 -51 reply
4/11dmaengine: dw: provide probe(), remove() stubs for usersinclude/linux/dma/dw.h+5 -00 replies
5/11serial: 8250_dma: switch to new dmaengine_terminate_* APIdrivers/tty/serial/8250/8250_dma.c+3 -30 replies
6/11serial: 8250_dma: adjust DMA address of the UARTdrivers/tty/serial/8250/8250.h drivers/tty/serial/8250/8250_dma.c+11 -20 replies
7/11serial: 8250: enable AFE on ports where FIFO is 16 bytesdrivers/tty/serial/8250/8250_port.c+3 -60 replies
8/11serial: 8250_lpss: split LPSS driver to separate moduledrivers/tty/serial/8250/8250_lpss.c drivers/tty/serial/8250/8250_pci.c drivers/tty/serial/8250/Kconfig +1 more+304 -2350 replies
9/11serial: 8250_lpss: move Quark code from PCI driverdrivers/tty/serial/8250/8250_lpss.c drivers/tty/serial/8250/8250_pci.c+12 -140 replies
10/11serial: 8250_lpss: enable MSI for Intel Quarkdrivers/tty/serial/8250/8250_lpss.c+12 -02 replies
11/11serial: 8250_lpss: enable DMA on Intel Quark UARTdrivers/tty/serial/8250/8250_lpss.c+79 -40 replies

Reviews trailers per patch

9 of 11 patches have a Reviewed-by or Acked-by.

PatchVinod KoulPeter HurleyHeikki KrogerusBryan O'DonoghueEugeniy Platsev
1/11A-b
2/11A-b
3/11R-b
4/11A-b
5/11R-b R-b
6/11R-b
7/11R-b
8/11
9/11R-b
10/11R-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v10 thread

Cover letter [PATCH v10 00/11] serial: 8250: split LPSS to 8250_lpss, enable DMA on Quark

This is combined series of two things:
- split out the Intel LPSS specific driver from 8250_pci into 8250_lpss
- enable DMA support on Intel Quark UART

The patch has been tested on few Intel SoCs / platforms. In any case I would like to ask Bryan to do independent test.

This is targeting serial subsystem, and it has necessary Ack from Vinod.

The series can be reached in the branch located at [1].

[1] https://bitbucket.org/andy-shev/linux/branch/topic%2Fdw%2Fqrk

Since v9:
- rebase on top of vanilla (v4.8-rc1)
- re-make patch 3 (Eugeniy Paltsev reported an issue on ARC AXS101 SDP board)

Since v8:
- fix an issue with Kconfig which is reported by kernel test bot

Since v7:
- fix rebase leftover (lkp)

Since v6:
- protect the code against SERIAL_8250_DMA=n && DW_DMAC_CORE=m

Since v5:
- add Vinod's Ack tag
- rebase on top of latest linux-next

Since v4:
- fix an issue what kernel test bot reported (lkp)
- add a list of supported SoC to Kconfig (Bryan)
- rename polarity -> hs_polarity (Bryan)

Since v3:
- rebase on top of recent tty-next branch
- add Reviewed-by tag from Bryan

Since v2:
- add tags
- rebase on top of new version of [1]

Since v1:
- address most of Peter's comments (mostly changelog to patch 8)
- add tag to patch 5
- drop patch 6 from the series to be separately dealt with

Andy Shevchenko (11):
dmaengine: dw: keep copy of custom slave config in dwc
dmaengine: dw: set polarity of handshake interface
dmaengine: dw: override LLP support if asked in platform data
dmaengine: dw: provide probe(), remove() stubs for users
serial: 8250_dma: switch to new dmaengine_terminate_* API
serial: 8250_dma: adjust DMA address of the UART
serial: 8250: enable AFE on ports where FIFO is 16 bytes
serial: 8250_lpss: split LPSS driver to separate module
serial: 8250_lpss: move Quark code from PCI driver
serial: 8250_lpss: enable MSI for Intel Quark
serial: 8250_lpss: enable DMA on Intel Quark UART

 drivers/dma/dw/core.c                |  39 ++--
 drivers/dma/dw/regs.h                |   5 +-
 drivers/tty/serial/8250/8250.h       |   5 +
 drivers/tty/serial/8250/8250_dma.c   |  14 +-
 drivers/tty/serial/8250/8250_lpss.c  | 378 +++++++++++++++++++++++++++++++++++
 drivers/tty/serial/8250/8250_pci.c   | 257 +-----------------------
 drivers/tty/serial/8250/8250_port.c  |   9 +-
 drivers/tty/serial/8250/Kconfig      |  16 +-
 drivers/tty/serial/8250/Makefile     |   1 +
 include/linux/dma/dw.h               |   5 +
 include/linux/platform_data/dma-dw.h |   4 +
 11 files changed, 445 insertions(+), 288 deletions(-)
 create mode 100644 drivers/tty/serial/8250/8250_lpss.c
Signature · 1 line
2.8.1