lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1358806170.6868.0.camel@pasglop>
Date:	Tue, 22 Jan 2013 09:09:30 +1100
From:	Benjamin Herrenschmidt <benh@...nel.crashing.org>
To:	Vineet Gupta <Vineet.Gupta1@...opsys.com>
Cc:	Grant Likely <grant.likely@...retlab.ca>,
	Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
	"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Michal Simek <monstr@...str.eu>,
	Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: Query on I/O accessors used by Xilinx SystemACE Driver

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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ