From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Magnus Damm <magnus.damm@gmail.com>,
Gareth Williams <gareth.williams.jx@renesas.com>,
Phil Edworthy <phil.edworthy@renesas.com>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Vinod Koul <vkoul@kernel.org>
Cc: linux-renesas-soc@vger.kernel.org, dmaengine@vger.kernel.org,
Milan Stevanovic <milan.stevanovic@se.com>,
Jimmy Lalande <jimmy.lalande@se.com>,
Pascal Eberhard <pascal.eberhard@se.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Herve Codina <herve.codina@bootlin.com>,
Clement Leger <clement.leger@bootlin.com>,
Stephen Boyd <sboyd@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
linux-clk@vger.kernel.org, Viresh Kumar <vireshk@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Ilpo Jarvinen <ilpo.jarvinen@linux.intel.com>,
Rob Herring <robh@kernel.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH v12 0/9] RZN1 DMA support
Date: Tue, 17 May 2022 10:31:00 +0200 [thread overview]
Message-ID: <20220517103100.4da9ebe5@xps-13> (raw)
In-Reply-To: <20220427095653.91804-1-miquel.raynal@bootlin.com>
Hi folks,
miquel.raynal@bootlin.com wrote on Wed, 27 Apr 2022 11:56:44 +0200:
> Hello,
>
> This is the series bringing DMA support to RZN1 platforms.
> The UART changes regarding DMA support has been merged into tty-next
> already.
>
> There is no other conflicting dependency with the other series, so these
> patches (all but DTS) can go though the dmaengine tree I believe.
As all patches the patches in this series have received a fairly good
amount of reviews, as well as all the necessary tags since a few weeks
already, I was hoping to see it applied for the next merge window. Is
there something still blocking its acceptance? Let me know if it is
the case and I will do the necessary to make them fit.
Cheers,
Miquèl
>
> Cheers,
> Miquèl
>
> Changes in v12:
> * Collected more tags.
> * Updated the prefix of the patch introducing the dmamux helper.
> * Avoid failing to probe the clock driver entirely when a clock subnode
> fails to probe. Just print an error message on purpose and mention it
> int the commit log.
> * Enabled the DMA nodes by default in the DTSI.
> * Used the data-width property instead of the deprecated data_width.
>
> Changes in v11:
> * Renamed two defines.
> * Changed the way the bitmap is declared.
> * Updated the cover letter: this series can now go in through the
> dmaengine tree.
>
> Changes in v10:
> * Collected more tags.
> * Dropped the mutex from the dmamux driver.
> * Added missing includes in the dmamux driver.
> * Replaced set_bit() by test_and_set_bit() in order to check if the chan
> is already used or not in the dmamux driver.
> * Corrected the misuse of the set_bit() macro in the dmamux driver.
>
> Changes in v9:
> * Collected more tags.
> * Changed a u32 into a regular bitmap and used the bitmap API.
> * Reordered two function calls to save one extra line.
> * Added a define to avoid a magic value.
>
> Changes in v8:
> * Collected more tags.
> * Moved the Makefile line adding the dmamux driver to the bottom of the
> file.
> * Reversed the logic in a ternary operation as suggested by Andy.
> * Changed a bit the naming of a #define as suggested by Andy.
>
> Changes in v7:
> * This time, really added Stephen's Acks (sorry for the error).
> * Moved an error check to get rid of one mutex_unlock/lock call as
> suggested by Ilpo.
> * Split the patch adding the dmamux driver as advised by Vinod. One
> patch introduces the dmamux driver, the other populates the children
> of the system controller. As the original patch got acked by Stephen
> Boyd, I moved his tag to the patch touching the clock controller only.
>
> Changes in v6:
> * Added Stephen's acks.
> * Fixed an extra newline added in the middle of nowhere.
> * Rebased on top of v5.18-rc1.
>
> Changes in v5:
> * Used gotos in rzn1_dmamux_route_allocate().
> * Changed the prefix to "dmaengine:".
> * Dropped the partial transfers fix.
> * Added Rob's acks.
>
> Changes in v4:
> * Freed "map" in the error path of the dmamux driver.
> * Improved a bit the style as requested by Prabhakar.
> * Dropped a __maybe_unused.
> * Reorder the includes.
> * Added a dependency on ARCH_RZN1.
> * Added Rob's Ack.
> * Added a reg property to the dmamux binding file.
> * Referenced the dmamux binding from the system controller file.
> * Called of_platform_populate from the end of the system controller
> (clock) driver probe in order to probe the dmamux if it was
> populated.
> * Added DMA properties to all the relevant UARTs.
>
> Changes in v3:
> * Added Reviewed-by tags.
> * Exported the set_dmamux* symbol properly.
> * Dropped a useless check in the probe and moved the sysctrl_priv
> assignation to the end of the probe.
> * Renamed the dmamux driver
> * Added a couple of missing MODULE_ macros in the dmamux driver.
> * Decided to use a regular platform init call instead of the
> arch_initcall() initially proposed.
> * s/%d/%u/ in printk's when appropriate.
> * Used a hardcoded value instead of dmamux->dmac_requests when
> appropriate.
> * Changed the variable name "master" to "dmac_idx" to be more
> descriptive.
> * Dropped most of the of_* calls in favor of #define's.
> * Fixed a typo.
> * Exported two symbols from 8250_dma.c.
>
> Changes in v2:
> * Clarified that the 'fix' regarding non aligned reads would only apply
> to the DEV_TO_MEM case.
> * Fix the DMA controller compatible string (copy-paste error).
> * s/syscon/sysctrl/ as advised by Geert.
> * Disabled irqs when taking the spinlock from the clocks driver.
> * Moved the DMAMUX offset inside the driver.
> * Removed extra commas.
> * Improved the style as suggested by Andy.
> * Removed a dupplicated check against the device node presence.
> * Reduced the number of lines of code by using dev_err_probe().
> * Created a Kconfig symbol for DMAMUX to fix the two robot reports
> received and be sure there was no useless overhead with other
> platforms.
> * Exported the serial8250_{tx,rx}_dma() symbols.
>
> Miquel Raynal (9):
> dt-bindings: dmaengine: Introduce RZN1 dmamux bindings
> dt-bindings: clock: r9a06g032-sysctrl: Reference the DMAMUX subnode
> dt-bindings: dmaengine: Introduce RZN1 DMA compatible
> clk: renesas: r9a06g032: Export function to set dmamux
> dmaengine: dw: dmamux: Introduce RZN1 DMA router support
> clk: renesas: r9a06g032: Probe possible children
> dmaengine: dw: Add RZN1 compatible
> ARM: dts: r9a06g032: Add the two DMA nodes
> ARM: dts: r9a06g032: Describe the DMA router
>
> .../clock/renesas,r9a06g032-sysctrl.yaml | 11 ++
> .../bindings/dma/renesas,rzn1-dmamux.yaml | 51 ++++++
> .../bindings/dma/snps,dma-spear1340.yaml | 8 +-
> MAINTAINERS | 1 +
> arch/arm/boot/dts/r9a06g032.dtsi | 38 +++++
> drivers/clk/renesas/r9a06g032-clocks.c | 40 ++++-
> drivers/dma/dw/Kconfig | 9 +
> drivers/dma/dw/Makefile | 2 +
> drivers/dma/dw/platform.c | 1 +
> drivers/dma/dw/rzn1-dmamux.c | 155 ++++++++++++++++++
> include/linux/soc/renesas/r9a06g032-sysctrl.h | 11 ++
> 11 files changed, 325 insertions(+), 2 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/dma/renesas,rzn1-dmamux.yaml
> create mode 100644 drivers/dma/dw/rzn1-dmamux.c
> create mode 100644 include/linux/soc/renesas/r9a06g032-sysctrl.h
>
next prev parent reply other threads:[~2022-05-17 8:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-27 9:56 [PATCH v12 0/9] RZN1 DMA support Miquel Raynal
2022-04-27 9:56 ` [PATCH v12 1/9] dt-bindings: dmaengine: Introduce RZN1 dmamux bindings Miquel Raynal
2022-04-27 9:56 ` [PATCH v12 2/9] dt-bindings: clock: r9a06g032-sysctrl: Reference the DMAMUX subnode Miquel Raynal
2022-04-27 12:48 ` Geert Uytterhoeven
2022-04-27 9:56 ` [PATCH v12 3/9] dt-bindings: dmaengine: Introduce RZN1 DMA compatible Miquel Raynal
2022-04-27 9:56 ` [PATCH v12 4/9] clk: renesas: r9a06g032: Export function to set dmamux Miquel Raynal
2022-04-27 12:49 ` Geert Uytterhoeven
2022-04-27 9:56 ` [PATCH v12 5/9] dmaengine: dw: dmamux: Introduce RZN1 DMA router support Miquel Raynal
2022-04-27 9:56 ` [PATCH v12 6/9] clk: renesas: r9a06g032: Probe possible children Miquel Raynal
2022-04-27 12:47 ` Geert Uytterhoeven
2022-04-27 9:56 ` [PATCH v12 7/9] dmaengine: dw: Add RZN1 compatible Miquel Raynal
2022-04-27 9:56 ` [PATCH v12 8/9] ARM: dts: r9a06g032: Add the two DMA nodes Miquel Raynal
2022-05-03 8:35 ` Geert Uytterhoeven
2022-04-27 9:56 ` [PATCH v12 9/9] ARM: dts: r9a06g032: Describe the DMA router Miquel Raynal
2022-05-03 8:36 ` Geert Uytterhoeven
2022-05-17 8:31 ` Miquel Raynal [this message]
2022-05-17 8:36 ` [PATCH v12 0/9] RZN1 DMA support Geert Uytterhoeven
2022-05-19 17:05 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220517103100.4da9ebe5@xps-13 \
--to=miquel.raynal@bootlin.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=clement.leger@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=gareth.williams.jx@renesas.com \
--cc=geert@linux-m68k.org \
--cc=herve.codina@bootlin.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jimmy.lalande@se.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=milan.stevanovic@se.com \
--cc=mturquette@baylibre.com \
--cc=pascal.eberhard@se.com \
--cc=phil.edworthy@renesas.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=vireshk@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).