Re: [RFC PATCH 2/5] powerpc: Exception hooks for context tracking subsystem

2013-02-16 Thread Li Zhong
On Sun, 2013-02-10 at 15:10 +0100, Frederic Weisbecker wrote: 2013/2/1 Li Zhong zh...@linux.vnet.ibm.com: This is the exception hooks for context tracking subsystem, including data access, program check, single step, instruction breakpoint, machine check, alignment, fp unavailable,

Re: PS3: Strange issue with kexec and FreeBSD loader

2013-02-16 Thread Phileas Fogg
I was able to capture the debug output from the purgatory code and it's very odd. This the SHA256 digest calculated by kexec-tools: root@ps3-linux:~# kexec -l loader.ps3 Warning: append= option is not passed. Using the first kernel root partition Modified cmdline: Unable to find

Re: PS3: Strange issue with kexec and FreeBSD loader

2013-02-16 Thread Phileas Fogg
Phileas Fogg wrote: Hi, i'm using OpenWRT petitboot bootloader on my PS3 to boot FreeBSD loader which is a simple PPC32 ELF file. I haven't had any issues with it and OpenWRT based on Linux 3.3.8. Recently i built an OpenWRT image with Linux 3.7, i have no issues at all with kexec and any

Re: [PATCH] i2c: Remove unneeded xxx_set_drvdata(..., NULL) calls

2013-02-16 Thread Jean Delvare
On Fri, 15 Feb 2013 15:18:35 -0800, Doug Anderson wrote: There is simply no reason to be manually setting the private driver data to NULL in the remove/fail to probe cases. This is just extra cruft code that can be removed. A few notes: * Nothing relies on drvdata being set to NULL. * The

Re: PS3: Strange issue with kexec and FreeBSD loader

2013-02-16 Thread Phileas Fogg
Phileas Fogg wrote: I was able to capture the debug output from the purgatory code and it's very odd. This the SHA256 digest calculated by kexec-tools: root@ps3-linux:~# kexec -l loader.ps3 Warning: append= option is not passed. Using the first kernel root partition Modified cmdline: Unable

Re: PS3: Strange issue with kexec and FreeBSD loader

2013-02-16 Thread Phileas Fogg
I found new clues about the problem. Normally the device tree memory segment is allocated at the top of the boot memory region. The boot memory size on the PS3 console is 128MB. root@ps3-linux:~# kexec -l loader.ps3 segment[0].mem:0x131d000 memsz:262144 segment[1].mem:0x135d000 memsz:36864

Re: [PATCH 2/2] of: use platform_device_add

2013-02-16 Thread Shawn Guo
On Fri, Jan 18, 2013 at 01:40:00AM +, Grant Likely wrote: This allows platform_device_add a chance to call insert_resource on all of the resources from OF. At a minimum this fills in proc/iomem and presumably makes resource tracking and conflict detection work better. However, it has the

RE: [PATCH] powerpc/85xx: dts - add ranges property for SEC

2013-02-16 Thread Liu Po-B43644
Hi Kim, Thank you for the fixing. Best regards, Liu Po - 8038 -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Wednesday, February 13, 2013 1:27 AM To: Phillips Kim-R1AAHA Cc: Liu Po-B43644; linuxppc-...@ozlabs.org Subject: Re: [PATCH] powerpc/85xx: dts -

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-02-16 Thread Chen Gang
Hello relative members: please give a glance to this patch, when you have time. thanks. :-) gchen. 于 2013年01月24日 12:14, Chen Gang 写道: for tmp_part-header.name: it is Terminating null required only for names 12 chars. so need to limit the %.12s for it in printk

Re: [PATCH 2/2] of: use platform_device_add

2013-02-16 Thread Shawn Guo
On Sun, Feb 17, 2013 at 11:03:35AM +0800, Shawn Guo wrote: On Fri, Jan 18, 2013 at 01:40:00AM +, Grant Likely wrote: This allows platform_device_add a chance to call insert_resource on all of the resources from OF. At a minimum this fills in proc/iomem and presumably makes resource