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]
Date:	Fri, 28 Mar 2014 09:23:29 +0000
From:	"Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To:	Mark Brown <broonie@...nel.org>
CC:	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] regmap: Add REGMAP_ENDIAN_SWAP support for values.

> Subject: Re: [PATCH] regmap: Add REGMAP_ENDIAN_SWAP support for values.
> 
> On Thu, Mar 27, 2014 at 04:17:39PM +0800, Xiubo Li wrote:
> 
> > For the DT node, just one property like 'endian-swap' will be okey
> > for cases 2 and 4.
> 
> I'm not convinced that the cost of having to define explicit big and
> little endian properties for the hardware is worth having this - it
> seems like a confusing thing to have in the interface since it depends
> on both the device and the CPU and would presumably break in cases where
> there's an option about which endianness to run things in.
> 

Yes, Actually that's may happen.

I'll implement the REGMAP_ENDIAN_LITTLE.

Thanks,

Best Regards,
Xiubo
--
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