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

2010-07-13 Thread KAMEZAWA Hiroyuki
plz cc linux-mm in the next time... And please incudes updates for Documentation/memory-hotplug.txt. On Mon, 12 Jul 2010 10:42:06 -0500 Nathan Fontenot nf...@austin.ibm.com wrote: This patch splits the memory_block struct into a memory_block struct to cover each sysfs directory and a new

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

2010-07-13 Thread KAMEZAWA Hiroyuki
On Mon, 12 Jul 2010 10:44:10 -0500 Nathan Fontenot nf...@austin.ibm.com 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 register/ unregister routines to avoid

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

2010-07-13 Thread KAMEZAWA Hiroyuki
On Mon, 12 Jul 2010 10:45:25 -0500 Nathan Fontenot nf...@austin.ibm.com 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 Fontenot nf...@austin.ibm.com --- pleae check

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

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 torva...@linux-foundation.org wrote: On Mon, Jul 12, 2010 at 12:17 PM, Nicolas Pitre

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 smaclen...@pikatech.com wrote: Anybody else seeing these messages? ppc_4xxFP-ld: .tmp_vmlinux1: section .data..init_task lma 0xc0374000 overlaps previous sections

[

2010-07-13 Thread Sam Ravnborg
From 851e645a7eee68380caaf026eb6d3be118876370 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg s...@ravnborg.org 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

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, too.

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

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

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 radeon

[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

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

2010-07-13 Thread jjDaNiMoTh
2010/7/13 Michel Dänzer mic...@daenzer.net: [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

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 mic...@daenzer.net: 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

Re: section .data..init_task

2010-07-13 Thread Sean MacLennan
On Tue, 13 Jul 2010 10:54:19 +0200 Sam Ravnborg s...@ravnborg.org 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: 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 s...@ravnborg.org 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: [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 nf...@austin.ibm.com wrote:

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 nf...@austin.ibm.com 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

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 nf...@austin.ibm.com 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;

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: 2.6.35-rc4 ppc crash when loading radeon modeset=1

2010-07-13 Thread jjDaNiMoTh
2010/7/13 Michel Dänzer mic...@daenzer.net: [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

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 mic...@daenzer.net: 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:

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

2010-07-13 Thread jjDaNiMoTh
2010/7/13 Michel Dänzer mic...@daenzer.net: [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

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: 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 torva...@linux-foundation.org

[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 m...@freescale.com ---

[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 m...@freescale.com --- Removed

[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 m...@freescale.com --- V3:

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

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

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 fc...@apm.com Signed-off-by: Mark Miesfeld mmiesf...@apm.com --- This reply is to the patch series, not just this

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) ... ___

[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: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig

2010-07-13 Thread Grant Likely
Typo correction: 2010/7/13 Grant Likely grant.lik...@secretlab.ca: [...] board.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

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 dwal...@codeaurora.org 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

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 dwal...@codeaurora.org wrote: It just doesn't feel like Kconfig was meant to do this, it feel like somewhat of an abuse .. Why? It uses

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

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 help

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 dwal...@codeaurora.org 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

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, Jul 12, 2010 at 1:34

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 nf...@austin.ibm.com 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

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 s...@canb.auug.org.au wrote: After this change, doing a make xxx_defconfig will check first for a file called arch/arch/configs/Kconfig.xxx and use that to generate the .config (effectively starting from an

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 nf...@austin.ibm.com 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

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 KAMEZAWA Hiroyuki
On Tue, 13 Jul 2010 22:18:03 -0500 Nathan Fontenot nf...@austin.ibm.com wrote: On 07/13/2010 07:35 PM, KAMEZAWA Hiroyuki wrote: On Tue, 13 Jul 2010 10:51:58 -0500 Nathan Fontenot nf...@austin.ibm.com wrote: And for what purpose this interface is ? Does this split memory block into

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

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 grant.lik...@secretlab.ca 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

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

[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).

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 torva...@linux-foundation.org wrote: On Tue, Jul 13, 2010 at 7:26 PM, Grant Likely grant.lik...@secretlab.ca wrote: I chose to use -D /dev/null (defconfig from an empty file) instead of -n (allnoconfig) so that default values in Kconfig would