* Query on I/O accessors used by Xilinx SystemACE Driver
@ 2013-01-21 13:20 Vineet Gupta
2013-01-21 22:09 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Vineet Gupta @ 2013-01-21 13:20 UTC (permalink / raw)
To: Grant Likely
Cc: Alexey Brodkin, linux-arch@vger.kernel.org,
linux-kernel@vger.kernel.org, Benjamin Herrenschmidt,
Michal Simek, Geert Uytterhoeven
Synopsys has Xilinx ML50x boards with our internal FPGA workflows, which we
sometimes use for internal development and customer evaluations. In that light
Alexey has been working on getting the stock systemACE driver to work with ARC
Linux Port.
One of things that he wants me to fix is introduce the PPC/m68k/microblaze style
in_8, in_le16, .... I/O accessors in ARC port, used specifically by driver.
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 ?
Thx,
-Vineet
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Query on I/O accessors used by Xilinx SystemACE Driver
2013-01-21 13:20 Query on I/O accessors used by Xilinx SystemACE Driver Vineet Gupta
@ 2013-01-21 22:09 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2013-01-21 22:09 UTC (permalink / raw)
To: Vineet Gupta
Cc: Grant Likely, Alexey Brodkin, linux-arch@vger.kernel.org,
linux-kernel@vger.kernel.org, Michal Simek, Geert Uytterhoeven
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-21 22:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).