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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130217162337.GB1583@opensource.wolfsonmicro.com>
Date:	Sun, 17 Feb 2013 16:23:38 +0000
From:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
To:	Daniel Mack <zonque@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>
Subject: Re: regmap: Question about devices with unequal register sizes

On Sat, Feb 16, 2013 at 06:03:51PM +0100, Daniel Mack wrote:

> The register layout is described on page 26, and they call their
> registers 'subaddresses'. Up to sub-address 0x1c, I see no problem
> mapping that to a simple 8-bit regmap layout, but above that, access
> gets trickier because registers change their sizes, which breaks the cache.

The regmap I/O code isn't making any effort to support such devices, the
hardware is just too crazy to worry about.  The best you can do is use
the no-bus support and open code your physical I/O so you can still use
the cache.

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ