linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: Grant Likely <grant.likely@secretlab.ca>,
	Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
	"linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Michal Simek <monstr@monstr.eu>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Subject: Re: Query on I/O accessors used by Xilinx SystemACE Driver
Date: Tue, 22 Jan 2013 09:09:30 +1100	[thread overview]
Message-ID: <1358806170.6868.0.camel@pasglop> (raw)
In-Reply-To: <50FD40B3.804@synopsys.com>

On Mon, 2013-01-21 at 18:50 +0530, Vineet Gupta wrote:
> I'm not an expert in that driver or the specific needs of those accessors on
> respective arches, but was wondering, if it would be possible to convert the
> driver to use the vanilla IO accessors (read{b,w,l}. Microblaze at least,  seem to
> be defining them as straight wrappers over the standard raw accessors.
> 
> Ben, Geert could you please comment ?

If your HW is little-endian, then by all means use the standard accessors, either
readb,w,l or the iomap.h ones (ioread*)

Cheers,
Ben.

      reply	other threads:[~2013-01-21 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21 13:20 Query on I/O accessors used by Xilinx SystemACE Driver Vineet Gupta
2013-01-21 22:09 ` Benjamin Herrenschmidt [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:
  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=1358806170.6868.0.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=Alexey.Brodkin@synopsys.com \
    --cc=Vineet.Gupta1@synopsys.com \
    --cc=geert@linux-m68k.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monstr@monstr.eu \
    /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).