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]
Date:	Thu, 24 May 2012 08:48:52 +0800
From:	Shawn Guo <shawn.guo@...escale.com>
To:	Fabio Estevam <festevam@...il.com>
CC:	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	<marc@...esign.com.au>, Samuel Ortiz <sameo@...ux.intel.com>,
	Sascha Hauer <kernel@...gutronix.de>,
	Philippe Rétornaz <philippe.retornaz@...l.ch>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: mc13xxx-core: kernel hangs after 'regmap_read'

On Wed, May 23, 2012 at 01:34:32PM -0300, Fabio Estevam wrote:
> On Wed, May 23, 2012 at 1:42 PM, Shawn Guo <shawn.guo@...escale.com> wrote:
> 
> > Removing that alone does not resolve the issue, but with additional
> > .write_flag_mask setting it does for me.
> 
> This is still not working for me on mx31pdk.
> 
> Still getting wrong SPI read data from the pmic.
> 
Interesting.

I'm booting my imx51 babbage with MC13892 with no problem now.  And
reading the registers give me the same values as I do with u-boot.

Regards,
Shawn

root@...aro-developer:~# cat /sys/kernel/debug/regmap/spi32766.0/registers
00: 005c80
01: ffffff
02: 195448
03: 000081
04: ffffff
05: 00401c
06: 000218
07: 0045d0
08: 000000
09: 000000
0a: 000001
0b: 000000
0c: 000000
0d: 000040
0e: 000000
0f: 400000
10: 000000
11: 000000
12: 000000
13: 000000
14: 0003af
15: 01ffff
16: 000000
17: 007fff
18: 454a54
19: 45673a
1a: 00631a
1b: 80739c
1c: 212048
1d: 000808
1e: 010fe0
1f: 0001f4
20: 049208
21: 049249
22: 200000
23: 000000
24: 000000
25: 000000
26: 000000
27: 000000
28: 000000
29: 000000
2a: 000000
2b: 008000
2c: 000000
2d: 574574
2e: 0001c0
2f: 055055
30: 60007b
31: 000040
32: 000008
33: 000000
34: 000000
35: 000000
36: 000000
37: 000000
38: 000000
39: 000000
3a: 000000
3b: 000000
3c: 000000
3d: 000000
3e: 000000
3f: 000000

--
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