Re: [PATCH] kbuild: Enable building defconfigs from Kconfig files

2010-07-13 Thread Grant Likely
On Tue, Jul 13, 2010 at 10:04 PM, Linus Torvalds wrote: > On Tue, Jul 13, 2010 at 7:26 PM, Grant Likely > wrote: >> >> I chose to use -D /dev/null (defconfig from an empty file) instead of >> -n (allnoconfig) so that default values in Kconfig would get >> respected.  For the benefit of everyone

[PATCH v2] powerpc/book3e: Add generic 64-bit idle powersave

2010-07-13 Thread Benjamin Herrenschmidt
We use a similar technique to ppc32: We set a thread local flag to indicate that we are about to enter or have entered the stop state, and have fixup code in the async interrupt entry code that reacts to this flag to make us return to a different location (sets NIP to LINK in our case). Signed-off

Re: [PATCH 09/13] powerpc/book3e: Add generic 64-bit idle powersave support

2010-07-13 Thread Benjamin Herrenschmidt
On Fri, 2010-07-09 at 16:16 +1000, Benjamin Herrenschmidt wrote: > We use a similar technique to ppc32: We set a thread local flag > to indicate that we are about to enter or have entered the stop > state, and have fixup code in the async interrupt entry code that > reacts to this flag to make us r

Re: [PATCH] kbuild: Enable building defconfigs from Kconfig files

2010-07-13 Thread Linus Torvalds
On Tue, Jul 13, 2010 at 7:26 PM, Grant Likely wrote: > > I chose to use -D /dev/null (defconfig from an empty file) instead of > -n (allnoconfig) so that default values in Kconfig would get > respected.  For the benefit of everyone else, here's an excerpt from > our IRC conversation this afternoon

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2010-07-13 Thread hank peng
Hi: I used your patch and test it on MPC8548 board. Today, I found a problem when doing raid5 recovering. talitos e003.crypto: master data transfer error talitos e003.crypto: xor operation: talitos error -22 [ cut here ] Kernel BUG at c02dcb6c [verbose debug info un

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 22:18:03 -0500 Nathan Fontenot wrote: > On 07/13/2010 07:35 PM, KAMEZAWA Hiroyuki wrote: > > On Tue, 13 Jul 2010 10:51:58 -0500 > > Nathan Fontenot wrote: > > > >>> > >>> And for what purpose this interface is ? Does this split memory block > >>> into 2 pieces > >>> of the

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread Dave Hansen
On Wed, 2010-07-14 at 09:35 +0900, KAMEZAWA Hiroyuki wrote: > 2. I'd like to write a configfs module for handling memory hotplug even when > sysfs directroy is not created. > Because configfs support rmdir/mkdir, the user (ppc's daemon?) has to do > > When offlining section X

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread Nathan Fontenot
On 07/13/2010 07:35 PM, KAMEZAWA Hiroyuki wrote: > On Tue, 13 Jul 2010 10:51:58 -0500 > Nathan Fontenot wrote: > >>> >>> And for what purpose this interface is ? Does this split memory block into >>> 2 pieces >>> of the same size ?? sounds __very__ strange interface to me. >> >> Yes, this splits

Re: [PATCH] kbuild: Enable building defconfigs from Kconfig files

2010-07-13 Thread Grant Likely
[cc'ing rmk and linux-arm-kernel] On Mon, Jul 12, 2010 at 7:43 PM, Stephen Rothwell wrote: > After this change, doing a "make xxx_defconfig" will check first for > a file called arch//configs/Kconfig.xxx and use that to generate > the .config (effectively starting from an allnoconfig).  If that f

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 10:51:58 -0500 Nathan Fontenot wrote: > > > > And for what purpose this interface is ? Does this split memory block into > > 2 pieces > > of the same size ?? sounds __very__ strange interface to me. > > Yes, this splits the memory_block into two blocks of the same size. Th

Re: optimized script [Was: ARM defconfig files]

2010-07-13 Thread Nicolas Pitre
On Tue, 13 Jul 2010, Olof Johansson wrote: > On Tue, Jul 13, 2010 at 10:07:05AM +0200, Uwe Kleine-König wrote: > > Hello, > > > > On Tue, Jul 13, 2010 at 09:07:41AM +0200, Uwe Kleine-König wrote: > > > Hi > > > > > > On Mon, Jul 12, 2010 at 01:50:47PM -0600, Grant Likely wrote: > > > > On Mon, J

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

2010-07-13 Thread Daniel Walker
On Tue, 2010-07-13 at 17:21 -0600, Grant Likely wrote: > On Tue, Jul 13, 2010 at 5:14 PM, Daniel Walker wrote: > > On Tue, 2010-07-13 at 17:04 -0600, Grant Likely wrote: > > > >> - I haven't figured out a way for the fragment to force an option to > >> be "n", or to set a value, for example "CON

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

2010-07-13 Thread Daniel Walker
On Tue, 2010-07-13 at 17:04 -0600, Grant Likely wrote: > - I haven't figured out a way for the fragment to force an option to > be "n", or to set a value, for example "CONFIG_LOG_BUF_SHIFT=16". > This may require changing the syntax. > - It still doesn't resolve dependencies. A solver would h

Re: [PATCH 1/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-13 Thread Feng Kan
Chuck: Thanks for the information. Sorry that we missed the patch. It was not done out of specific reason. As you have commented, it is a very large patch with alot of changes. We wanted to submit the patch to make sure the fundamental structure of the driver align with the kernel. Once that is in

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

2010-07-13 Thread Nicolas Pitre
On Tue, 13 Jul 2010, Daniel Walker wrote: > On Tue, 2010-07-13 at 17:21 -0600, Grant Likely wrote: > > On Tue, Jul 13, 2010 at 5:14 PM, Daniel Walker > > wrote: > > > It just doesn't feel like Kconfig was meant to do this, it feel like > > > somewhat of an abuse .. > > > > Why? It uses the Kcon

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

2010-07-13 Thread Grant Likely
On Tue, Jul 13, 2010 at 5:14 PM, Daniel Walker wrote: > On Tue, 2010-07-13 at 17:04 -0600, Grant Likely wrote: > >> - I haven't figured out a way for the fragment to force an option to >>   be "n", or to set a value, for example "CONFIG_LOG_BUF_SHIFT=16". >>   This may require changing the syntax.

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

2010-07-13 Thread Grant Likely
Typo correction: 2010/7/13 Grant Likely : [...] > .Kconfig defines new board specific config items (prefixed with > "generateconfig_" which default to 'y' or 'm' and select the options > that the platform cares about.  It also then either the architecture s/either the/either includes the/ > defa

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

2010-07-13 Thread Grant Likely
This is a proof of concept at the moment, but if the corner cases can be sorted out, then this might be the best way to replace the defconfig functionality. This patch implements Linus' idea for using Kconfig fragments to replicate the *_defconfig functionality Essentially, this patch adds a new

Re: [PATCH 1/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-13 Thread David Brownell
> > and make the OTG functionality > > key on the generic OTG symbol, not a DW-specific one. > > > > > Use "drivers/usb/otg/otg.c and include/linux/usb/otg.h"? Maybe; CONFIG_USB_OTG specifically, though (or whatever that generic symbol is) ... ___ L

Re: [PATCH 1/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-13 Thread Chuck Meade
On 07/12/2010 07:16 PM, Fushen Chen wrote: > The DWC OTG driver module provides the initialization and cleanup > entry points for the DWC OTG USB driver. > > Signed-off-by: Fushen Chen > Signed-off-by: Mark Miesfeld > --- This reply is to the patch series, not just this 1/9 patch section. Fush

Re: [PATCH 1/9 v1.01] Add Synopsys DesignWare HS USB OTG Controller driver.

2010-07-13 Thread fushen chen
On Mon, 2010-07-12 at 16:55 -0700, David Brownell wrote: > Please remove all the changes not related to > this Synopsis IP ... Could you clarify what is not Synopsis IP related in the patch? > and make the OTG functionality > key on the generic OTG symbol, not a DW-specific one. > > Use "drive

Re: [PATCH] kbuild: Enable building defconfigs from Kconfig files

2010-07-13 Thread Michal Marek
On 07/13/2010 03:43 AM, Stephen Rothwell wrote: > After this change, doing a "make xxx_defconfig" will check first for > a file called arch//configs/Kconfig.xxx and use that to generate > the .config (effectively starting from an allnoconfig). If that file > doesn't exist, it will use arch//config

[PATCH V3] powerpc:prom Export device tree physical address via proc

2010-07-13 Thread Matthew McClintock
To build a proper flat device tree for kexec we need to know which memreserve region was used for the device tree for the currently running kernel, so we can remove it and replace it with the new memreserve for the kexec'ed kernel Signed-off-by: Matthew McClintock --- V3: Remove unneeded cast, an

[PATCH V2] powerpc:prom Export device tree physical address via proc

2010-07-13 Thread Matthew McClintock
To build a proper flat device tree for kexec we need to know which memreserve region was used for the device tree for the currently running kernel, so we can remove it and replace it with the new memreserve for the kexec'ed kernel Signed-off-by: Matthew McClintock --- Removed unneeded cast, and f

Re: [PATCH] powerpc:prom Export device tree physical address via proc

2010-07-13 Thread Timur Tabi
Matthew McClintock wrote: > + if (prop) > + prom_remove_property(node, prop); > + prop = of_find_property(node, "linux,devietree-end", NULL); Either the indentation is wrong, or you're missing some braces here. > + if (prop) > + prom_remove_property(n

[PATCH] powerpc:prom Export device tree physical address via proc

2010-07-13 Thread Matthew McClintock
To build a proper flat device tree for kexec we need to know which memreserve region was used for the device tree for the currently running kernel, so we can remove it and replace it with the new memreserve for the kexec'ed kernel Signed-off-by: Matthew McClintock --- arch/powerpc/kernel/prom.c

Re: optimized script [Was: ARM defconfig files]

2010-07-13 Thread Olof Johansson
On Tue, Jul 13, 2010 at 10:07:05AM +0200, Uwe Kleine-König wrote: > Hello, > > On Tue, Jul 13, 2010 at 09:07:41AM +0200, Uwe Kleine-König wrote: > > Hi > > > > On Mon, Jul 12, 2010 at 01:50:47PM -0600, Grant Likely wrote: > > > On Mon, Jul 12, 2010 at 1:34 PM, Linus Torvalds > > > wrote: > > > >

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread Michel Dänzer
On Die, 2010-07-13 at 19:05 +0200, jjDaNiMoTh wrote: > > So, I've now the acceleration. The main problem was radeon.agpmode, > setting it to -1 (and removing all files in xorg.conf.d related to > radeon) fixes all issue (also the freeze on glxgears). Now I have > ~1500 FPS, and I'm fine with it (

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread jjDaNiMoTh
2010/7/13 Michel Dänzer : [cut] > Are you looking at the right log file, not the one from the new X server > after the reboot? Yes, I looked to .old, when referring to Xorg.0.log. > Maybe you could post the full dmesg, Xorg.0.log and X server stderr > output (should be captured in the gdm/kdm log

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread Michel Dänzer
On Die, 2010-07-13 at 18:02 +0200, jjDaNiMoTh wrote: > 2010/7/13 Michel Dänzer : > > What does the log file contain with modeset=1? > > We have no message, after the X.org freeze. > > messages.log: > [...] > Jul 13 17:11:01 jim kernel: [drm] Num pipes: 1 > Jul 13 17:13:39 jim kernel: Using Power

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread jjDaNiMoTh
2010/7/13 Michel Dänzer : [cut] > Could be a GPU lockup again, possibly due to still using AGP 4x with > modeset=0. [cut] > What does the log file contain with modeset=1? We have no message, after the X.org freeze. messages.log: [...] Jul 13 17:11:01 jim kernel: [drm] Num pipes: 1 Jul 13 17:13:39

Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Nathan Fontenot
On 07/13/2010 09:00 AM, Brian King wrote: > On 07/12/2010 10:42 AM, Nathan Fontenot wrote: >> @@ -123,13 +130,20 @@ >> static ssize_t show_mem_removable(struct sys_device *dev, >> struct sysdev_attribute *attr, char *buf) >> { >> -unsigned long start_pfn; >> -int ret;

Re: [PATCH 4/7] Allow sysfs memory directories to be split

2010-07-13 Thread Nathan Fontenot
On 07/13/2010 01:28 AM, KAMEZAWA Hiroyuki wrote: > On Mon, 12 Jul 2010 10:45:25 -0500 > Nathan Fontenot wrote: > >> This patch introduces the new 'split' file in each memory sysfs >> directory and the associated routines needed to handle splitting >> a directory. >> >> Signed-off-by; Nathan Fonte

Re: [PATCH 3/7] Update the [register,unregister]_memory routines

2010-07-13 Thread Nathan Fontenot
On 07/13/2010 01:20 AM, KAMEZAWA Hiroyuki wrote: > On Mon, 12 Jul 2010 10:44:10 -0500 > Nathan Fontenot wrote: > >> This patch moves the register/unregister_memory routines to >> avoid a forward declaration. It also moves the sysfs file >> creation and deletion for each directory into the regist

Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Nathan Fontenot
Thanks for the review, answers below... -Nathan On 07/13/2010 01:18 AM, KAMEZAWA Hiroyuki wrote: > > plz cc linux-mm in the next time... > And please incudes updates for Documentation/memory-hotplug.txt. > will do. > > On Mon, 12 Jul 2010 10:42:06 -0500 > Nathan Fontenot wrote: > >> This pa

Re: section .data..init_task

2010-07-13 Thread Sam Ravnborg
On Tue, Jul 13, 2010 at 11:26:10AM -0400, Sean MacLennan wrote: > On Tue, 13 Jul 2010 10:54:19 +0200 > Sam Ravnborg wrote: > > > It looks like a missing AT() in the output section. > > The following patch should also fix it. > > > > Please test and let us know. > > > > Thanks, > > Sam > >

Re: section .data..init_task

2010-07-13 Thread Sean MacLennan
On Tue, 13 Jul 2010 10:54:19 +0200 Sam Ravnborg wrote: > It looks like a missing AT() in the output section. > The following patch should also fix it. > > Please test and let us know. > > Thanks, > Sam Applied the patch and it solves the problem. Thanks. Cheers, Sean

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread Michel Dänzer
On Die, 2010-07-13 at 16:51 +0200, jjDaNiMoTh wrote: > 2010/7/13 Michel Dänzer : > > Does KMS work better with radeon.agpmode=1 (or 2 or -1)? > > with radeon.agpmode=-1, we could start X server (no black screen), > with both radeon.modeset={0,1}. Note that radeon.agpmode is only effective with r

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread jjDaNiMoTh
2010/7/13 Michel Dänzer : [cut] > Which framebuffer device (if any) is it trying to initialize otherwise? > OFfb? The first paragraph above implies none, but then I'm not sure why > the video= parameters would make any difference. We tried and with 2.6.35-rc4 we could boot without video=. First goo

[PATCH] powerpc: Add vmcoreinfo symbols to allow makdumpfile to filter core files properly

2010-07-13 Thread Neil Horman
Hey all- About 2 years ago now, I sent this patch upstream to allow makedumpfile to properly filter cores on ppc64: http://www.mail-archive.com/ke...@lists.infradead.org/msg02426.html It got acks from the kexec folks so I pulled it into RHEL, but I never checked back here to make sure it ev

Re: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread Michel Dänzer
On Die, 2010-07-13 at 16:03 +0200, jjDaNiMoTh wrote: > > When trying new 2.6.35-rc4, our kernel team (ArchLinuxPPC) has tried > to setup KMS acceleration for radeon based machine. > We have removed radeonfb, and all others framebuffer driver, and added > fbcon and KMS enabled by default for radeo

2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread jjDaNiMoTh
Hello to all. Sorry if these aren't right place, please point me to the right direction if you can :) When trying new 2.6.35-rc4, our kernel team (ArchLinuxPPC) has tried to setup KMS acceleration for radeon based machine. We have removed radeonfb, and all others framebuffer driver, and added fbc

Re: [PATCH 1/7] Split the memory_block structure

2010-07-13 Thread Brian King
On 07/12/2010 10:42 AM, Nathan Fontenot wrote: > @@ -123,13 +130,20 @@ > static ssize_t show_mem_removable(struct sys_device *dev, > struct sysdev_attribute *attr, char *buf) > { > - unsigned long start_pfn; > - int ret; > - struct memory_block *mem = > -

High process latencies due to MPC5200 FEC hard- soft-irq processing

2010-07-13 Thread Wolfgang Grandegger
Hello, we realized, that multiple ping floods (ping -f) can cause very large high-priority process latencies (up to a many seconds) on a MPC5200 PowerPC system with FEC NAPI support. The latencies are measured with # cyclictest -p 80 -n The problem is that processing of the ICMP pakets in the

Re: [PATCH] powerpc: reduce the size of the defconfigs

2010-07-13 Thread Martyn Welch
Uwe Kleine-König wrote: > On Tue, Jul 13, 2010 at 05:09:45PM +1000, Stephen Rothwell wrote: > >> This uses Uwe's script (modified by Olof Johansson to speed it up >> somewhat) to reduce the size of all the powerpc defconfigs. The resulting >> > IMHO we should add the script to the source,

[

2010-07-13 Thread Sam Ravnborg
>From 851e645a7eee68380caaf026eb6d3be118876370 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Tue, 13 Jul 2010 11:39:42 +0200 Subject: [PATCH] vmlinux.lds: fix .data..init_task output section (fix popwerpc boot) The .data..init_task output section was missing a load offset causing a popwerpc

Re: section .data..init_task

2010-07-13 Thread Sam Ravnborg
On Mon, Jul 12, 2010 at 08:34:35PM -0400, Sean MacLennan wrote: > On Mon, 28 Jun 2010 00:59:00 -0400 > Sean MacLennan wrote: > > > Anybody else seeing these messages? > > > > ppc_4xxFP-ld: .tmp_vmlinux1: section .data..init_task lma 0xc0374000 > > overlaps previous sections ppc_4xxFP-ld: .tmp_vm

optimized script [Was: ARM defconfig files]

2010-07-13 Thread Uwe Kleine-König
Hello, On Tue, Jul 13, 2010 at 09:07:41AM +0200, Uwe Kleine-König wrote: > Hi > > On Mon, Jul 12, 2010 at 01:50:47PM -0600, Grant Likely wrote: > > On Mon, Jul 12, 2010 at 1:34 PM, Linus Torvalds > > wrote: > > > On Mon, Jul 12, 2010 at 12:17 PM, Nicolas Pitre wrote: > > >> I think Uwe could pr

Re: [PATCH] powerpc: reduce the size of the defconfigs

2010-07-13 Thread Uwe Kleine-König
On Tue, Jul 13, 2010 at 05:09:45PM +1000, Stephen Rothwell wrote: > This uses Uwe's script (modified by Olof Johansson to speed it up > somewhat) to reduce the size of all the powerpc defconfigs. The resulting IMHO we should add the script to the source, too. And if it's only for me to see Olof's

[PATCH] powerpc: reduce the size of the defconfigs

2010-07-13 Thread Stephen Rothwell
This uses Uwe's script (modified by Olof Johansson to speed it up somewhat) to reduce the size of all the powerpc defconfigs. The resulting files have been verified to produce the same .config files by generating them before and after this patch and comparing the results. Signed-off-by: Stephen R