[PATCH] powerpc: define a compat_sys_recv cond_syscall

2010-09-17 Thread Ian Munsie
From: Stephen Rothwell Since compat_sys_recv is an optionl syscall if the kernel is compiled without networking we need a cond_syscall defined for it since it is now wired up directly on PowerPC. Other architectures that wire up the socket calls directly as syscalls do not run into this issue ei

[PATCH 2/3 v4] P4080/mtd: Only make elbc nand driver detect nand flash partitions

2010-09-17 Thread Roy Zang
From: Jack Lan The former driver had the two functions: 1. detecting nand flash partitions; 2. registering elbc interrupt. Now, second function is removed to fsl_lbc.c. Signed-off-by: Lan Chunhe-B25806 Signed-off-by: Roy Zang --- drivers/mtd/nand/Kconfig |1 + drivers/mtd/nand/f

[PATCH 1/3 v4] P4080/eLBC: Make Freescale elbc interrupt common to elbc devices

2010-09-17 Thread Roy Zang
From: Lan Chunhe-B25806 Move Freescale elbc interrupt from nand dirver to elbc driver. Then all elbc devices can use the interrupt instead of ONLY nand. Signed-off-by: Lan Chunhe-B25806 Signed-off-by: Roy Zang --- Comparing v3: 1. minor fix from type unsigned int to u32 2. fix platfo

[PATCH 3/3 v4] P4080/mtd: Fix the freescale lbc issue with 36bit mode

2010-09-17 Thread Roy Zang
From: Lan Chunhe-B25806 When system uses 36bit physical address, res.start is 36bit physical address. But the function of in_be32 returns 32bit physical address. Then both of them compared each other is wrong. So by converting the address of res.start into the right format fixes this issue. Sign

Re: linux support for freescale e5500 core?

2010-09-17 Thread Kumar Gala
On Sep 17, 2010, at 1:36 AM, Chris Friesen wrote: > On 09/16/2010 11:33 PM, Benjamin Herrenschmidt wrote: >> On Fri, 2010-09-17 at 00:17 -0500, Kumar Gala wrote: >>> Not sure how the 970 bit worked, but this seems a bit problematic for >>> switching between kernel and application for how we do th

Initial kernel command string (Was: Generating elf kernel ?)

2010-09-17 Thread Guillaume Dargaud
Thanks for helping about the elf issue, I got it running. The problem was that I wasn't using the proper file produced by make ! Now I have a strange and probably simple problem that the Initial kernel command string is incorrect. I want, and I have set in the .config: CONFIG_CMDLINE="console=t

Re: Initial kernel command string (Was: Generating elf kernel ?)

2010-09-17 Thread tiejun.chen
Guillaume Dargaud wrote: > Thanks for helping about the elf issue, I got it running. The problem was > that > I wasn't using the proper file produced by make ! > > > Now I have a strange and probably simple problem that the Initial kernel > command string is incorrect. I want, and I have set i

Re: Generating elf kernel ?

2010-09-17 Thread Scott Wood
On Fri, 17 Sep 2010 09:58:41 +0800 "tiejun.chen" wrote: > Scott Wood wrote: > > The guest OS *is* the same as native Linux, as far as TLB handling is > > concerned. > > Looks you means the TLB exception handler should be same between the native > and > the guest OS. Right? Yes. > Here I assum

Re: [PATCH RFCv2 0/5] CARMA Board Support

2010-09-17 Thread Ira W. Snyder
On Wed, Sep 08, 2010 at 09:41:17AM -0700, Ira W. Snyder wrote: > Hello everyone, > > This is the second posting of these drivers, taking into account comments > from the RFCv1 post. Thanks to all that contributed. > Any comments on this series? I haven't heard anything for more than a week. Is t

[PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-17 Thread Timur Tabi
Export the global variable 'ppc_tb_freq', so that modules (like the Book-E watchdog driver) can use it. Signed-off-by: Timur Tabi --- This export is necessary for the Book-E watchdog driver to be compiled as a module. Since ppc_proc_freq is already exported, I figured it's okay for ppc_tb_freq

[PATCH 2/2] powerpc/watchdog: allow the e500 watchdog driver to be compiled as a module

2010-09-17 Thread Timur Tabi
Register the __init and __exit functions in the PowerPC e500 watchdog driver as module entry/exit functions, and modify the Kconfig entry. Add a .release method for the PowerPC e500 watchdog driver, so that the watchdog is disabled when the driver is closed. Loosely based on original code from Ji

Re: [PATCH 2/2] powerpc/watchdog: allow the e500 watchdog driver to be compiled as a module

2010-09-17 Thread Josh Boyer
On Fri, Sep 17, 2010 at 6:53 PM, Timur Tabi wrote: > Register the __init and __exit functions in the PowerPC e500 watchdog driver > as module entry/exit functions, and modify the Kconfig entry. > > Add a .release method for the PowerPC e500 watchdog driver, so that the > watchdog is disabled when

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-17 Thread Josh Boyer
On Fri, Sep 17, 2010 at 6:53 PM, Timur Tabi wrote: > Export the global variable 'ppc_tb_freq', so that modules (like the Book-E > watchdog driver) can use it. > > Signed-off-by: Timur Tabi > --- > > This export is necessary for the Book-E watchdog driver to be compiled as a > module.  Since ppc_p

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-17 Thread Timur Tabi
On Fri, Sep 17, 2010 at 7:38 PM, Josh Boyer wrote: >>  unsigned long ppc_proc_freq; >>  EXPORT_SYMBOL(ppc_proc_freq); >>  unsigned long ppc_tb_freq; >> +EXPORT_SYMBOL(ppc_tb_freq); > > EXPORT_SYMBOL_GPL probably, no? I don't see any reason to limit it to GPL drivers. Not only that, but then we'

[PATCH 2/2] PPC4xx: Merge xor.h and dma.h into onefile ppc440spe-dma.h

2010-09-17 Thread tmarri
From: Tirumala Marri This patch combines drivers/dma/ppc4xx/xor.h and driver/dma/dma/ppc4xx/dma.h into drivers/dma/ppc4xx/ppx440spe-dma.h . Signed-off-by: Tirumala R Marri --- drivers/dma/ppc4xx/dma.h | 223 - drivers/dma/ppc4xx/ppc440spe-dma.h | 318 +++

Re: [PATCH 1/2] powerpc: export ppc_tb_freq so that modules can reference it

2010-09-17 Thread Benjamin Herrenschmidt
On Fri, 2010-09-17 at 20:20 -0500, Timur Tabi wrote: > I don't see any reason to limit it to GPL drivers. Not only that, but > then we'll have this: I do > EXPORT_SYMBOL(ppc_proc_freq); > EXPORT_SYMBOL_GPL(ppc_tb_freq); > > That just looks dumb. Right, so send a patch to fix the first one too