linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/2] serial: fsl_lpuart: add DMA support
Date: Thu, 16 Jan 2014 11:47:12 +0100	[thread overview]
Message-ID: <201401161147.13522.arnd@arndb.de> (raw)
In-Reply-To: <4a519c52821b4ceb841cbefcf2a0432b@BL2PR03MB338.namprd03.prod.outlook.com>

On Thursday 16 January 2014, Yao Yuan wrote:
> > This part will result in a slight increase in data size even if dma
> > support is turned off at compile time.
> > 
> 
> Yes, someone also want me define a independent struct for dma and allocate the memory when dma be use.
> But I think this way will add a more memory access time, like a->b->c and a->c. And the variable 
> about dma is just a few bytes but used frequently. So I think I'd better define the variable about dma in lpuart_port struct.

I agree. Just leave it unconditionally in here to make the code simpler.

	Arnd

  reply	other threads:[~2014-01-16 10:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15  5:21 [PATCH v3 1/2] ARM: dts: vf610: lpuart: Add eDMA support Yuan Yao
2014-01-15  5:21 ` [PATCH v3 2/2] serial: fsl_lpuart: add DMA support Yuan Yao
2014-01-15  9:25   ` Arnd Bergmann
2014-01-16  6:02     ` Yao Yuan
2014-01-16  8:19     ` Yao Yuan
2014-01-16 10:47       ` Arnd Bergmann [this message]
2014-01-15 11:05   ` Mark Rutland
2014-01-15 11:17     ` Arnd Bergmann
2014-01-15 13:50       ` Mark Rutland
2014-01-16  6:54     ` Yao Yuan
2014-01-22  3:41       ` Yao Yuan
  -- strict thread matches above, loose matches on Subject: below --
2014-01-15  5:24 [PATCH v3 0/2] " Yuan Yao
2014-01-15  5:24 ` [PATCH v3 2/2] " Yuan Yao

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=201401161147.13522.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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).