All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL v3] updates to qbman (soc drivers) to support arm/arm64
Date: Tue, 27 Jun 2017 12:35:49 +0200	[thread overview]
Message-ID: <CAK8P3a0EXGfkijeQG6OKGHeS8LZsO4YFmRhN9WXTei51rj6G1A@mail.gmail.com> (raw)
In-Reply-To: <20170627091006.GN4902@n2100.armlinux.org.uk>

On Tue, Jun 27, 2017 at 11:10 AM, Russell King - ARM Linux
<linux@armlinux.org.uk> wrote:
> On Tue, Jun 27, 2017 at 11:05:38AM +0200, Arnd Bergmann wrote:
>> On Tue, Jun 27, 2017 at 10:17 AM, Russell King - ARM Linux
>> <linux@armlinux.org.uk> wrote:
>>
>> I wonder if doing memcpy_toio on the write-combining mapping
>> will do what Roy wants and and up sending a single bus transaction
>> for one descriptor most of the time, while fitting in with the ioremap_wc()
>> interface and its __iomem pointers.
>
> Either the CE region needs __iomem pointers and proper accessors, or
> it needs to be using memremap(offset, size, MEMREMAP_WC) and not use
> the iomem accessors.

Right, memremap() would work here as well. If there are no other constraints,
using ioremap_wc and __iomem pointers would have the advantage of giving
us a little more type safety, but it depends on what operations we actually
need to do on the data.

        Arnd

  reply	other threads:[~2017-06-27 10:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 17:27 [GIT PULL v3] updates to qbman (soc drivers) to support arm/arm64 Leo Li
2017-06-23 14:56 ` Arnd Bergmann
2017-06-23 15:22   ` Mark Rutland
2017-06-23 15:55     ` Russell King - ARM Linux
2017-06-23 16:23       ` Mark Rutland
2017-06-23 19:39       ` Roy Pledge
2017-06-23 18:58     ` Roy Pledge
2017-06-24 12:10       ` Russell King - ARM Linux
2017-06-27 18:36         ` Roy Pledge
2017-06-27  7:17       ` Arnd Bergmann
2017-06-27  8:17         ` Russell King - ARM Linux
2017-06-27  9:05           ` Arnd Bergmann
2017-06-27  9:10             ` Russell King - ARM Linux
2017-06-27 10:35               ` Arnd Bergmann [this message]
2017-06-27 19:03                 ` Roy Pledge
2017-06-27 18:59         ` Roy Pledge
2017-06-23 15:38   ` Russell King - ARM Linux
2017-06-23 19:25     ` Roy Pledge

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=CAK8P3a0EXGfkijeQG6OKGHeS8LZsO4YFmRhN9WXTei51rj6G1A@mail.gmail.com \
    --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 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.