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-next>] [day] [month] [year] [list]
Date:	Wed, 30 Dec 2015 17:58:30 +0000
From:	Mark Brown <broonie@...nel.org>
To:	"lixiubo@...s.chinamobile.com" <lixiubo@...s.chinamobile.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Re: [PATCH] regmap: flat: introduce register striding to save
 somememories

On Fri, Dec 18, 2015 at 04:59:38PM +0800, lixiubo@...s.chinamobile.com wrote:

> > I think we'll need to continue supporting non power of two strides so
> > an unconditional conversion to shifts might be an issue - some weird DSP
> > probably does that.

> Yes, agreed. 

> IMO this won't happen to MMIO, and for the device using MMIO the
> register strides should equal to power of two. 

> Are there some cases I have met? 

DSPs exposed via I2C and SPI are the main things I'm worried about.
It's fairly common for DSPs to have unusual word sizes including things
like three bytes.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ