All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] nios2: change virt_to_phys to use physaddr_mask in global data
Date: Tue, 27 Oct 2015 10:16:37 +0100	[thread overview]
Message-ID: <201510271016.37186.marex@denx.de> (raw)
In-Reply-To: <1445908197-9907-1-git-send-email-thomas@wytron.com.tw>

On Tuesday, October 27, 2015 at 02:09:57 AM, Thomas Chou wrote:
> As virt_to_phys() is used a lot in DMA transfer, change it
> to use physaddr_mask in global data. This will save an "if"
> statement and get a little faster.
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>

Makes sense.

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut

  reply	other threads:[~2015-10-27  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27  1:09 [U-Boot] [PATCH] nios2: change virt_to_phys to use physaddr_mask in global data Thomas Chou
2015-10-27  9:16 ` Marek Vasut [this message]
2015-11-03  5:14 ` Thomas Chou

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=201510271016.37186.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.