Re: Badness with the kernel version 2.6.35-rc1-git1 running on P6 box

2010-07-16 Thread Maciej Rutecki
On piątek, 16 lipca 2010 o 10:50:30 divya wrote: > Hi , > > With the latest kernel version 2.6.35-rc5-git1(2f7989efd4398) running on > power(p6) box came across the following call trace > I created a Bugzilla entry at https://bugzilla.kernel.org/show_bug.cgi?id=16406 for your bug report, please

Re: cpm_uart_console_write() stuck in waiting for transmitter fifo ready

2010-07-16 Thread Shawn Jin
>> > My RCCR=0x1, meaning the first 512B is for microcode. So the data and >> > the TxBD should really be starting at 0xfa202200? Then my muram data's >> > reg should be <0x200 ?>? What size shall I specify? >> >> After the muram data's reg is changed to <0x200 0x1a00>, the cpm_uart >> driver works

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Jamie Lokier
Daniel Walker wrote: > > But all the rest is arbitrary and could be part of common shared > > profiles or the like in defconfig format. > > I'm sure most people will want to have a config isolated to their > specific device. That to me seems reasonable because everyone wants the > smallest possib

Re: hi, i have two flashs, but my kernel can only find one , how can i write the dts?

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 2:34 AM, hacklu wrote: > this is my dts file: > fl...@0,0 { > #address-cells = <1>; > #size-cells = <1>; > compatible = "cfi-flash"; > probe-type = "CFI"; >      

Re: [PATCH 1/2] Remove REDWOOD_[456] config options and conditional code

2010-07-16 Thread David Miller
From: Josh Boyer Date: Fri, 16 Jul 2010 10:20:55 -0400 > On Fri, Jul 16, 2010 at 02:29:02PM +0200, Christian Dietrich wrote: >>The config options for REDWOOD_[456] were commented out in the powerpc >>Kconfig. The ifdefs referencing this options therefore are dead and all >>references to this can

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Catalin Marinas
On Fri, 2010-07-16 at 21:17 +0100, Grant Likely wrote: > On Fri, Jul 16, 2010 at 2:09 PM, Catalin Marinas > wrote: > > On Fri, 2010-07-16 at 19:46 +0100, Linus Torvalds wrote: > >> On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: > >> > > >> > DOH. > >> > >> Well, it's possible that the cor

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 2:29 PM, Nicolas Pitre wrote: > On Fri, 16 Jul 2010, Grant Likely wrote: > >> On Fri, Jul 16, 2010 at 2:09 PM, Catalin Marinas >> wrote: >> > On Fri, 2010-07-16 at 19:46 +0100, Linus Torvalds wrote: >> >> On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: >> >> > >> >

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Nicolas Pitre
On Fri, 16 Jul 2010, Grant Likely wrote: > On Fri, Jul 16, 2010 at 2:09 PM, Catalin Marinas > wrote: > > On Fri, 2010-07-16 at 19:46 +0100, Linus Torvalds wrote: > >> On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: > >> > > >> > DOH. > >> > >> Well, it's possible that the correct approach

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 2:09 PM, Catalin Marinas wrote: > On Fri, 2010-07-16 at 19:46 +0100, Linus Torvalds wrote: >> On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: >> > >> > DOH. >> >> Well, it's possible that the correct approach is a mixture. >> >> Automatically do the trivial cases (r

Re: [PATCH v2] edac: mpc85xx: Add support for new MPCxxx/Pxxxx EDAC controllers

2010-07-16 Thread Scott Wood
On Thu, 15 Jul 2010 22:25:07 +0400 Anton Vorontsov wrote: > Simply add proper IDs into the device table. > > Signed-off-by: Anton Vorontsov > --- > > It appears that the driver has two device ID tables. :-) > So, my previous attempt enabled only half of the functionality. > > Andrew, > > Can

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Arnd Bergmann
On Friday 16 July 2010 20:46:17 Linus Torvalds wrote: > Maybe a full "solver" is unnecessary, for example, but just a simple > "automatically enable the direct dependencies and scream when it's not > simple any more" would take care of 99% of the common cases, and then > warn when it needs some man

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Catalin Marinas
On Fri, 2010-07-16 at 19:46 +0100, Linus Torvalds wrote: > On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: > > > > DOH. > > Well, it's possible that the correct approach is a mixture. > > Automatically do the trivial cases (recursive selects, dependencies > that are simple or of the form

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Arnd Bergmann
On Friday 16 July 2010 19:57:55 Grant Likely wrote: > On Fri, Jul 16, 2010 at 10:03 AM, Catalin Marinas > wrote: > > On Wed, 2010-07-14 at 00:04 +0100, Grant Likely wrote: > > sfr and I were talking about your patch the other day. Just warning > on incomplete dependencies is enough to make it ac

Re: Badness with the kernel version 2.6.35-rc1-git1 running on P6 box

2010-07-16 Thread David Rientjes
On Fri, 16 Jul 2010, Dave Hansen wrote: > > > SLUB: Unable to allocate memory on node -1 (gfp=0x20) > > >cache: kmalloc-16384, object size: 16384, buffer size: 16384, > > default order: 2, min order: 0 > > >node 0: slabs: 28, objs: 292, free: 0 > > > ip: page allocation failure. order:0, m

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 12:30 PM, Russell King - ARM Linux wrote: > On Fri, Jul 16, 2010 at 02:19:31PM -0400, Nicolas Pitre wrote: >> For example, if I want CONFIG_MTD_CMDLINE_PARTS=y, the system may be >> smart enough to notice and automatically enable CONFIG_MTD and >> CONFIG_MTD_PARTITIONS with

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Linus Torvalds
On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: > > DOH. Well, it's possible that the correct approach is a mixture. Automatically do the trivial cases (recursive selects, dependencies that are simple or of the form "x && y" etc), and warn about the cases that aren't trivial (where "not t

Re: [PATCH 1/5] v2 Split the memory_block structure

2010-07-16 Thread Dave Hansen
On Fri, 2010-07-16 at 13:23 -0500, Nathan Fontenot wrote: > >> -if (mem->state != from_state_req) { > >> -ret = -EINVAL; > >> -goto out; > >> +list_for_each_entry(mbs, &mem->sections, next) { > >> +if (mbs->state != from_state_req) > >> +

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Nicolas Pitre
On Fri, 16 Jul 2010, Russell King - ARM Linux wrote: > On Fri, Jul 16, 2010 at 02:19:31PM -0400, Nicolas Pitre wrote: > > For example, if I want CONFIG_MTD_CMDLINE_PARTS=y, the system may be > > smart enough to notice and automatically enable CONFIG_MTD and > > CONFIG_MTD_PARTITIONS without havi

Re: [PATCH 1/5] v2 Split the memory_block structure

2010-07-16 Thread Dave Hansen
On Fri, 2010-07-16 at 13:23 -0500, Nathan Fontenot wrote: > > If the memory_block's state was inferred to be the same as each > > memory_block_section, couldn't we just keep a start and end phys_index > > in the memory_block, and get away from having memory_block_sections at > > all? > > Oooohhh..

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Nicolas Pitre
On Fri, 16 Jul 2010, Grant Likely wrote: > On Fri, Jul 16, 2010 at 12:19 PM, Nicolas Pitre wrote: > > For example, if I want CONFIG_MTD_CMDLINE_PARTS=y, the system may be > > smart enough to notice and automatically enable CONFIG_MTD and > > CONFIG_MTD_PARTITIONS without having to carry those in t

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Russell King - ARM Linux
On Fri, Jul 16, 2010 at 02:19:31PM -0400, Nicolas Pitre wrote: > For example, if I want CONFIG_MTD_CMDLINE_PARTS=y, the system may be > smart enough to notice and automatically enable CONFIG_MTD and > CONFIG_MTD_PARTITIONS without having to carry those in the defconfig. How do you sort out somet

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Russell King - ARM Linux
On Fri, Jul 16, 2010 at 11:57:55AM -0600, Grant Likely wrote: > Last missing piece is being able to do "select FOO = n", which Stephen > is currently working on. I thought Linus' idea was to use: KBUILD_KCONFIG=file make allnoconfig in which case any option which would be presented to the user w

Re: [PATCH 1/5] v2 Split the memory_block structure

2010-07-16 Thread Nathan Fontenot
On 07/16/2010 12:15 PM, Dave Hansen wrote: > On Thu, 2010-07-15 at 13:37 -0500, Nathan Fontenot wrote: >> @@ -123,13 +130,20 @@ >> static ssize_t show_mem_removable(struct sys_device *dev, >> struct sysdev_attribute *attr, char *buf) >> { >> +struct memory_block *mem; >>

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 12:19 PM, Nicolas Pitre wrote: > On Fri, 16 Jul 2010, Grant Likely wrote: > >> On Fri, Jul 16, 2010 at 10:03 AM, Catalin Marinas >> wrote: >> > On Wed, 2010-07-14 at 00:04 +0100, Grant Likely wrote: >> >> - It still doesn't resolve dependencies.  A solver would help with t

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Nicolas Pitre
On Fri, 16 Jul 2010, Grant Likely wrote: > On Fri, Jul 16, 2010 at 10:03 AM, Catalin Marinas > wrote: > > On Wed, 2010-07-14 at 00:04 +0100, Grant Likely wrote: > >> - It still doesn't resolve dependencies.  A solver would help with this. > >>   For the time being I work around the problem by run

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 12:07 PM, Russell King - ARM Linux wrote: > On Fri, Jul 16, 2010 at 11:57:55AM -0600, Grant Likely wrote: >> Last missing piece is being able to do "select FOO = n", which Stephen >> is currently working on. > > I thought Linus' idea was to use: > > KBUILD_KCONFIG=file make

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Linus Torvalds
On Fri, Jul 16, 2010 at 11:07 AM, Russell King - ARM Linux wrote: > > I thought Linus' idea was to use: > > KBUILD_KCONFIG=file make allnoconfig See an earlier reply - that is indeed what I suggested, and yes, it avoids the need to be able to "unselect" things. However, it turns out that even th

Re: cpm_uart_console_write() stuck in waiting for transmitter fifo ready

2010-07-16 Thread Scott Wood
On Fri, 16 Jul 2010 00:12:21 -0700 Shawn Jin wrote: > >> Why would the TxBD be filled with all 0xF? Would it be possible that > >> the bdbase actually points somewhere else other than the TxBD? > > > > The virtual address 0xfddfa000 is mapped to 0xfa202000. I suspect that > > the TxBD of my MPC87

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Grant Likely
On Fri, Jul 16, 2010 at 10:03 AM, Catalin Marinas wrote: > On Wed, 2010-07-14 at 00:04 +0100, Grant Likely wrote: >> - It still doesn't resolve dependencies.  A solver would help with this. >>   For the time being I work around the problem by running the generated >>   config through 'oldconfig' a

Re: Badness with the kernel version 2.6.35-rc1-git1 running on P6 box

2010-07-16 Thread Dave Hansen
On Fri, 2010-07-16 at 11:56 +0200, Eric Dumazet wrote: > > > SLUB: Unable to allocate memory on node -1 (gfp=0x20) > >cache: kmalloc-16384, object size: 16384, buffer size: 16384, > default order: 2, min order: 0 > >node 0: slabs: 28, objs: 292, free: 0 > > ip: page allocation failure. ord

Re: [PATCH 5/5] v2 Enable multiple sections per directory for ppc

2010-07-16 Thread Dave Hansen
On Thu, 2010-07-15 at 13:41 -0500, Nathan Fontenot wrote: > linux-2.6.orig/arch/powerpc/platforms/pseries/hotplug-memory.c > 2010-07-15 09:54:06.0 -0500 > +++ linux-2.6/arch/powerpc/platforms/pseries/hotplug-memory.c 2010-07-15 > 09:56:19.0 -0500 > @@ -17,6 +17,54 @@ > #i

Re: [PATCH 3/5] v2 Change the mutex name in the memory_block struct

2010-07-16 Thread Dave Hansen
On Thu, 2010-07-15 at 13:39 -0500, Nathan Fontenot wrote: > > Change the name of the memory_block mutex since it is now used for > more than just gating changes to the status of the memory sections > covered by the memory sysfs directory. Heh, sorry about the previous comments. :) You should mov

Re: [PATCH 1/5] v2 Split the memory_block structure

2010-07-16 Thread Dave Hansen
On Thu, 2010-07-15 at 13:37 -0500, Nathan Fontenot wrote: > @@ -123,13 +130,20 @@ > static ssize_t show_mem_removable(struct sys_device *dev, > struct sysdev_attribute *attr, char *buf) > { > + struct memory_block *mem; > + struct memory_block_section *mbs; > u

Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-16 Thread Catalin Marinas
On Wed, 2010-07-14 at 00:04 +0100, Grant Likely wrote: > - It still doesn't resolve dependencies. A solver would help with this. > For the time being I work around the problem by running the generated > config through 'oldconfig' and looking for differences. If the files > differ (ignoring

Re: [PATCH 1/2] Remove REDWOOD_[456] config options and conditional code

2010-07-16 Thread Milton Miller
On Fri, 16 Jul 2010 at about 08:20:55 -0600 Josh Boyer wrote: > On Fri, Jul 16, 2010 at 02:29:02PM +0200, Christian Dietrich wrote: > > The config options for REDWOOD_[456] were commented out in the powerpc > > Kconfig. The ifdefs referencing this options therefore are dead and all > > references

Re: [PATCH 0/7] De-couple sysfs memory directories from memory sections

2010-07-16 Thread Nathan Fontenot
On 07/16/2010 02:13 AM, Greg KH wrote: > On Mon, Jul 12, 2010 at 10:27:02AM -0500, Nathan Fontenot wrote: >> This set of patches de-couples the idea that there is a single >> directory in sysfs for each memory section. > > Any reason you didn't cc: the sysfs maintainer on these patches? If > not,

Re: [PATCH 4/5] v2 Update sysfs node routines for new sysfs memory directories

2010-07-16 Thread Nathan Fontenot
On 07/15/2010 07:12 PM, KAMEZAWA Hiroyuki wrote: > On Thu, 15 Jul 2010 13:40:40 -0500 > Nathan Fontenot wrote: > >> Update the node sysfs directory routines that create >> links to the memory sysfs directories under each node. >> This update makes the node code aware that a memory sysfs >> direct

Re: [PATCH 2/5] v2 Create new 'end_phys_index' file

2010-07-16 Thread Nathan Fontenot
On 07/15/2010 07:08 PM, KAMEZAWA Hiroyuki wrote: > On Thu, 15 Jul 2010 13:38:52 -0500 > Nathan Fontenot wrote: > >> Add a new 'end_phys_index' file to each memory sysfs directory to >> report the physical index of the last memory section >> covered by the sysfs directory. >> >> Signed-off-by: Nat

Re: [PATCH 1/5] v2 Split the memory_block structure

2010-07-16 Thread Nathan Fontenot
Thanks for taking a look a this Kame, answers below... -Nathan On 07/15/2010 07:06 PM, KAMEZAWA Hiroyuki wrote: > On Thu, 15 Jul 2010 13:37:51 -0500 > Nathan Fontenot wrote: > >> Split the memory_block struct into a memory_block >> struct to cover each sysfs directory and a new memory_block_sec

Re: [PATCH 1/2] Remove REDWOOD_[456] config options and conditional code

2010-07-16 Thread Josh Boyer
On Fri, Jul 16, 2010 at 02:29:02PM +0200, Christian Dietrich wrote: >The config options for REDWOOD_[456] were commented out in the powerpc >Kconfig. The ifdefs referencing this options therefore are dead and all >references to this can be removed (Also dependencies in other KConfig >files). > >Sig

Badness with the kernel version 2.6.35-rc1-git1 running on P6 box

2010-07-16 Thread divya
Hi , With the latest kernel version 2.6.35-rc5-git1(2f7989efd4398) running on power(p6) box came across the following call trace Call Trace: [c6a0e800] [c0011c30] .show_stack+0x6c/0x16c (unreliable) [c6a0e8b0] [c012129c] .__alloc_pages_nodemask+0x6a0/0x75c [c

hi, i have two flashs, but my kernel can only find one , how can i write the dts?

2010-07-16 Thread hacklu
this is my dts file: fl...@0,0 { #address-cells = <1>; #size-cells = <1>; compatible = "cfi-flash"; probe-type = "CFI"; reg = <0 0 100>; bank-width = <

[PATCH 1/2] Remove REDWOOD_[456] config options and conditional code

2010-07-16 Thread Christian Dietrich
The config options for REDWOOD_[456] were commented out in the powerpc Kconfig. The ifdefs referencing this options therefore are dead and all references to this can be removed (Also dependencies in other KConfig files). Signed-off-by: Christian Dietrich Signed-off-by: Christoph Egger --- arch/

[PATCH 0/2] Removing dead code

2010-07-16 Thread Christian Dietrich
Hi all! I merged the two patches from Christoph Egger[1] to remove the REDWOOD_[456] config depends. And wrote a second patch, which removes the redwood/mtd mapping module. I hope this is now acceptable to bring it into the kernel, if this options are really dead. Regards Christia

Re: Badness with the kernel version 2.6.35-rc1-git1 running on P6 box

2010-07-16 Thread Eric Dumazet
Le vendredi 16 juillet 2010 à 11:56 +0200, Eric Dumazet a écrit : > [PATCH] ehea: ehea_get_stats() should use GFP_KERNEL > > ehea_get_stats() is called in process context and should use GFP_KERNEL > allocation instead of GFP_ATOMIC. > > Clearing stats at beginning of ehea_get_stats() is racy in

Re: Badness with the kernel version 2.6.35-rc1-git1 running on P6 box

2010-07-16 Thread Eric Dumazet
Le vendredi 16 juillet 2010 à 14:20 +0530, divya a écrit : > Hi , > > With the latest kernel version 2.6.35-rc5-git1(2f7989efd4398) running on > power(p6) box came across the following > call trace > > Call Trace: > [c6a0e800] [c0011c30] .show_stack+0x6c/0x16c (unreliable) > [c00

linux-next: build failure after merge of the final tree (powerpc related)

2010-07-16 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allmodconfig) failed like this: ERROR: "of_i8042_kbd_irq" [drivers/input/serio/i8042.ko] undefined! ERROR: "of_i8042_aux_irq" [drivers/input/serio/i8042.ko] undefined! Presumably missing EXPORT_SYMBOLs .. -- Cheers, Stephen

[PATCH 1/1] powerpc/smp: remove the incorrect decrementer initial codes for AP

2010-07-16 Thread Tiejun Chen
We already defined start_cpu_decrementer() to invoke decrementer for AP as the following path: --- start_secondary() -> secondary_cpu_time_init() -> start_cpu_decrementer() So remove these incorrect codes introduced from commit: e7f75ad0 powerpc/47x: Base ppc476 support And actually we really sho

Re: [PATCH 0/7] De-couple sysfs memory directories from memory sections

2010-07-16 Thread Greg KH
On Mon, Jul 12, 2010 at 10:27:02AM -0500, Nathan Fontenot wrote: > This set of patches de-couples the idea that there is a single > directory in sysfs for each memory section. Any reason you didn't cc: the sysfs maintainer on these patches? If not, I'll gladly ignore them... (hint, scripts/get_m

Re: cpm_uart_console_write() stuck in waiting for transmitter fifo ready

2010-07-16 Thread Shawn Jin
>> Why would the TxBD be filled with all 0xF? Would it be possible that >> the bdbase actually points somewhere else other than the TxBD? > > The virtual address 0xfddfa000 is mapped to 0xfa202000. I suspect that > the TxBD of my MPC870 may not start at 0xfa202020. > > I notice that for adder875, e