[PATCH v2 1/2] Fix kexec on powerpc32

2010-05-12 Thread Maxim Uvarov
Hello everybody, Changes from previous version: - removed bogus hyphen from the patch; - move ifdefs to crt.S instead of Makefile Please find here patch for user land kexec-tools application. Following patch makes kexec-tools work for both kexec and kdump. I tested

[PATCH v2 2/2] powerpc new toolchains fix (crt.S)

2010-05-12 Thread Maxim Uvarov
Hello everybody, Changes from previous version: - removed bogus hyphen from the patch; - move ifdefs to crt.S instead of Makefile Please find here patch for user land kexec-tools application. Following patch makes kexec-tools work for both kexec and kdump. I tested

Re: [PATCH 1/2] Fix kexec on powerpc32

2010-05-12 Thread Christian Kujau
On Tue, 11 May 2010 at 21:47, Maxim Uvarov wrote: > This patch is required in case if you are using new toolchains. After kexec-tools compiled, I actually tried it: # kexec -l /boot/2.6/zImage --command-line="root=/dev/hda6 ro" # echo $? 0 # kexec -e Starting new kernel Bye! but then the sys

Re: [PATCH] hwmon: (tmp421) Add nfactor support.

2010-05-12 Thread Jean Delvare
Hi Jeff, On Tue, 11 May 2010 15:34:29 -0400, Jeff Angielski wrote: > On 05/11/2010 03:03 PM, Andre Prendel wrote: > > I'de prefer implementing the sysfs access methods in a consistent way (see > > other functions). That means adding the nfactor register to the tmp421_data > > structure and using

[git pull] Please pull powerpc.git merge branch

2010-05-12 Thread Benjamin Herrenschmidt
Hi Linus ! Please pull this perf event fix from Paulus. Without it, using perf event can potentially oops the machine at any time. Thanks ! Cheers, Ben. The following changes since commit cea0d767c29669bf89f86e4aee46ef462d2ebae8: Linus Torvalds (1): Merge branch 'hwmon-for-linus' of

Re: [PATCH] Fix UART clocks on 440SPe

2010-05-12 Thread Stefan Roese
On Wednesday 12 May 2010 04:22:50 Benjamin Herrenschmidt wrote: > The code to fixup the serial ports on 440SPe uses the incorrect > addresses for these. This fixes it. > > Signed-off-by: Benjamin Herrenschmidt Acked-by: Stefan Roese Cheers, Stefan __

Re: [RFC][PATCH 0/12] KVM, x86, ppc, asm-generic: moving dirty bitmaps to user space

2010-05-12 Thread Takuya Yoshikawa
[To ppc people] Hi, Benjamin, Paul, Alex, Please see the patches 6,7/12. I first say sorry for that I've not tested these yet. In that sense, these may not be in the quality for precise reviews. But I will be happy if you would give me any comments. Alex, could you help me? Though I have a pl

Re: [RFC][PATCH 7/12 not tested yet] PPC: introduce __set_bit() like function for bitmaps in user space

2010-05-12 Thread Takuya Yoshikawa
+static inline int set_bit_user_non_atomic(int nr, void __user *addr) +{ + u8 __user *p; + u8 val; + + p = (u8 __user *)((unsigned long)addr + nr / BITS_PER_BYTE); Does C do the + or the / first? Either way, I'd like to see brackets here :) OK, I'll change like that! I li

Re: [git pull] Please pull powerpc.git merge branch

2010-05-12 Thread Kumar Gala
On May 12, 2010, at 2:46 AM, Benjamin Herrenschmidt wrote: > Hi Linus ! > > Please pull this perf event fix from Paulus. Without it, using perf event > can potentially oops the machine at any time. > > Thanks ! > > Cheers, > Ben. > > The following changes since commit cea0d767c29669bf89f86e4a

Re: [PATCH] Fix UART clocks on 440SPe

2010-05-12 Thread Josh Boyer
On Wed, May 12, 2010 at 12:22:50PM +1000, Benjamin Herrenschmidt wrote: >The code to fixup the serial ports on 440SPe uses the incorrect >addresses for these. This fixes it. > >Signed-off-by: Benjamin Herrenschmidt >--- > >I'm surprised nobody noticed, serial is pretty busted for me without >that

Re: [git pull] Please pull powerpc.git merge branch

2010-05-12 Thread Benjamin Herrenschmidt
On Wed, 2010-05-12 at 05:24 -0500, Kumar Gala wrote: > Did where you going to also send linus: > > http://patchwork.ozlabs.org/patch/51496/ Forgot about that one... I'll add it to the pile tomorrow. Cheers, Ben. ___ Linuxppc-dev mailing list Linuxpp

Re: Please pull 'next' branch of 4xx (again)

2010-05-12 Thread Josh Boyer
On Fri, May 07, 2010 at 03:54:53PM -0400, Josh Boyer wrote: >Hi Ben, > >Two more quick patches from me for -next. Stefrano's is the Katmai usage of >the reset type change that just went in. The 460SX PCI-e patch has been >sitting >for a while and seems to have been skipped over. I've updated my

Re: [PATCH 1/2] Fix kexec on powerpc32

2010-05-12 Thread Maxim Uvarov
2010/5/12 Christian Kujau > On Tue, 11 May 2010 at 21:47, Maxim Uvarov wrote: > > This patch is required in case if you are using new toolchains. > > After kexec-tools compiled, I actually tried it: > > # kexec -l /boot/2.6/zImage --command-line="root=/dev/hda6 ro" > # echo $? > 0 > # kexec -e >

Re: [PATCH 1/2] Fix kexec on powerpc32

2010-05-12 Thread Simon Horman
On Wed, May 12, 2010 at 10:31:26AM +0400, Maxim Uvarov wrote: > 2010/5/12 Christian Kujau > > > Maxim Uvarov wrote on 2010-05-11 10:47 : > > > This patch is required in case if you are using new toolchains. > > > > I'm on Debian/stable (binutils 2.18, gcc 4.3.2), so I applied your patches > > to

[PATCH] Update smt_enabled=X handling for cores with more than two threads

2010-05-12 Thread Nathan Fontenot
This patch updates the handling of the smt-enabled=X boot option to handle settings on systems with more than two threads per core. This change involves moving all of the handling of the boot option to the check_smt_enabled() routine and the calling of this routine in setup_system() until after t

Re: Config Items appearing twice in same Kconfig file?

2010-05-12 Thread Christoph Egger
Just noticed it might have been worth adding the output so everyone out there doesn't ned to grep through his tree for reference: % grep ^config **/Kconfig* | sort | uniq -dc 2 arch/alpha/Kconfig.debug:config ALPHA_LEGACY_START_ADDRESS 2 arch/alpha/Kconf

Config Items appearing twice in same Kconfig file?

2010-05-12 Thread Christoph Egger
Hi all! First of all sorry for the huge CC, I couldn't come up with a way to create a smaller list while reaching all the relevant people. We, the vamos project[1] at the Friedrich Alexander University are analything the linux configuration model trying to detect errors. During a run with o

[PATCH] powerpc: fix register_power_pmu() section mismatch warning

2010-05-12 Thread Albert Herranz
Add missing __cpuinit annotations to fix a bunch of warnings like the one shown below when building a kernel for the PowerPC architecture with CONFIG_DEBUG_SECTION_MISMATCH=y. WARNING: arch/powerpc/kernel/built-in.o(.text+0x11c72): Section mismatch in reference from the function register_power_pm

Re: [PATCH] powerpc: fix register_power_pmu() section mismatch warning

2010-05-12 Thread Paul Mackerras
On Wed, May 12, 2010 at 08:04:46PM +0200, Albert Herranz wrote: > Add missing __cpuinit annotations to fix a bunch of warnings like the one > shown below when building a kernel for the PowerPC architecture with > CONFIG_DEBUG_SECTION_MISMATCH=y. > > WARNING: arch/powerpc/kernel/built-in.o(.text+0

Re: Config Items appearing twice in same Kconfig file?

2010-05-12 Thread Michael Ellerman
On Wed, 2010-05-12 at 16:40 +0200, Christoph Egger wrote: > Just noticed it might have been worth adding the output so everyone > out there doesn't ned to grep through his tree for reference: > > % grep ^config **/Kconfig* | sort | uniq -dc That didn't actually wor

Re: [PATCH] [POWEPC] crashdump: do not fail on null pointer dereferencing

2010-05-12 Thread Michael Ellerman
On Tue, 2010-05-11 at 18:02 +0200, Vitaly Wool wrote: > Hi, > > > diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c > > index 6f4613d..341d8af 100644 > > --- a/arch/powerpc/kernel/crash.c > > +++ b/arch/powerpc/kernel/crash.c > > @@ -375,6 +375,9 @@ void default_machine_crash_

[git pull] Please pull powerpc.git merge branch

2010-05-12 Thread Benjamin Herrenschmidt
Hi Linus ! I've added to my merge branch Kumar's swiotlb fix. Here's the updated pull request. Thanks ! Cheers, Ben. The following changes since commit cea0d767c29669bf89f86e4aee46ef462d2ebae8: Linus Torvalds (1): Merge branch 'hwmon-for-linus' of git://git.kernel.org/.../jdelvare/st

"event-scan failed" logflood

2010-05-12 Thread pacman
I upgraded the kernel on my Pegasos from 2.6.32 to 2.6.33 and now it sends the message "event-scan failed" to the kernel log about 60 times per second as long as it's running. The message comes from arch/powerpc/kernel/rtasd.c but I don't know what's going on in there so I can't say much more abou

Re: "event-scan failed" logflood

2010-05-12 Thread Michael Ellerman
On Wed, 2010-05-12 at 23:13 -0500, pac...@kosh.dhis.org wrote: > I upgraded the kernel on my Pegasos from 2.6.32 to 2.6.33 and now it sends > the message "event-scan failed" to the kernel log about 60 times per second > as long as it's running. > > The message comes from arch/powerpc/kernel/rtasd.