Linux-mtd Archive on
 help / color / Atom feed
From: Boris Brezillon <>
To: Manuel Dipolt <>
Cc: Roland Ruckerbauer <>,
	linux-mtd <>,
	maxime <>,
	miquel raynal <>
Subject: Re: [PATCH v6] mtd: rawnand: sunxi: enable NAND MDMA (Master DMA) support for allwinner a23,a33,h3
Date: Mon, 12 Oct 2020 15:35:26 +0200
Message-ID: <> (raw)
In-Reply-To: <>

Subject should be something like:

"mtd: rawnand: sunxi: Add MDMA support"

The commit message is here to give more details.

On Mon, 12 Oct 2020 12:01:18 +0200 (CEST)
Manuel Dipolt <> wrote:

> This patch enables NAND MDMA (Master DMA) mode for the Allwinner socs A23/A33/H3. 

I was wrong, MDMA stand for MBUS DMA, not Master DMA.
> Till now dma transfer was via ahb to and from the internal sram where the nfc io is mapped. 

It still goes through the internal SRAM IIRC, and then the DMA copies
from/to this SRAM, but we probably don't care about that. This
important thing to mention is how it differs from the normal DMA and
why we should prefer it when both are available (NAND perfs + more
bandwidth for other users of the shared DMA engine).

> Now mbus dma mode gets set for the sun8i-a23-nand-controller as default. 


> Mbus dma requires less configuration like defining a dedicated dma channel in the device tree.

Same here, and please wrap the commit message lines to ~72 chars.
> yours,
> Manuel

Please drop that.

The rest of the patch looks good. Once you've address those issues you
can add

Reviewed-by: Boris Brezillon <>

Linux MTD discussion mailing list

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 10:01 Manuel Dipolt
2020-10-12 13:35 ` Boris Brezillon [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-mtd Archive on

Archives are clonable:
	git clone --mirror linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ \
	public-inbox-index linux-mtd

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone