[PATCH] powerpc: fix userspace build of ptrace.h

2010-05-09 Thread Sam Ravnborg
From ff056c080d2b0b93bac07ad71125fee701919f5e Mon Sep 17 00:00:00 2001 From: Sam Ravnborg s...@ravnborg.org Date: Sun, 9 May 2010 08:52:31 +0200 Subject: [PATCH] powerpc: fix userspace build of ptrace.h Build of ptrace.h failed for assembly because it pulls in stdint.h. Use exportable types

Re: [PATCH] powerpc: fix userspace build of ptrace.h

2010-05-09 Thread Benjamin Herrenschmidt
On Sun, 2010-05-09 at 08:59 +0200, Sam Ravnborg wrote: From ff056c080d2b0b93bac07ad71125fee701919f5e Mon Sep 17 00:00:00 2001 From: Sam Ravnborg s...@ravnborg.org Date: Sun, 9 May 2010 08:52:31 +0200 Subject: [PATCH] powerpc: fix userspace build of ptrace.h Build of ptrace.h failed for

Re: Fix [e]glibc build process

2010-05-09 Thread Andrey Volkov
Dave Kleikamp wrote: On Sat, 2010-05-08 at 23:56 +0400, Andrey Volkov wrote: This patch fix [e]glibc build process destruction (more precisely _assembler_ is die when try to compile getcontext.S since stdint.h coldn't be assembled) intruduced by patch: commit:

Re: [PATCH] serial: mpc52xx_uart: fix null pointer dereference

2010-05-09 Thread Grant Likely
On Wed, May 5, 2010 at 12:18 AM, Anatolij Gustschin ag...@denx.de wrote: Commit 6acc6833510db8f72b5ef343296d97480555fda9 introduced NULL pointer dereference and kernel crash on ppc32 machines while booting. Fix this bug now. Reported-by: Leonardo Chiquitto leonardo.li...@gmail.com

Re: serial driver for MPC5554?

2010-05-09 Thread Grant Likely
2010/4/16 Németh Márton nm...@freemail.hu: Hi, is there somebody working on the MPC5554 [1] serial port driver? No I could only find linux/drivers/serial/mpc52xx_uart.c but I'm not sure whether this could work together with the eSCI on-chip hardware module which can be found in MPC5554

Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-05-09 Thread Christian Kujau
On Sun, 9 May 2010 at 23:17, Rafael J. Wysocki wrote: Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15589 Subject : 2.6.34-rc1: Badness at fs/proc/generic.c:316 Submitter : Christian Kujau li...@nerdbynature.de Date : 2010-03-13 23:53 (58 days old)

Re: [RFC PATCH v2 1/2] powerpc: cleanup APIs for cpu/thread/core mappings

2010-05-09 Thread Paul Mackerras
On Fri, May 07, 2010 at 05:18:42PM +0530, Vaidyanathan Srinivasan wrote: These APIs take logical cpu number as input Change cpu_first_thread_in_core() to cpu_leftmost_thread_sibling() Change cpu_last_thread_in_core() to cpu_rightmost_thread_sibling() These APIs convert core number (index)

Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316

2010-05-09 Thread Michael Ellerman
On Sun, 2010-05-09 at 15:27 -0700, Christian Kujau wrote: On Sun, 9 May 2010 at 23:17, Rafael J. Wysocki wrote: Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15589 Subject : 2.6.34-rc1: Badness at fs/proc/generic.c:316 Submitter : Christian Kujau

Re: [PATCH 2/2] powerpc: Add power management support to VIO bus

2010-05-09 Thread Michael Ellerman
On Fri, 2010-05-07 at 13:58 -0500, Brian King wrote: Adds support for suspend/resume for VIO devices. This is needed for support for HMC initiated hibernation. Signed-off-by: Brian King brk...@linux.vnet.ibm.com --- arch/powerpc/kernel/vio.c | 24 1 file

[PATCH] powerpc: remove unused 'protect4gb' boot parameter

2010-05-09 Thread FUJITA Tomonori
'protect4gb' boot parameter was introduced to avoid allocating dma space acrossing 4GB boundary in 2007 (the commit 569975591c5530fdc9c7a3c45122e5e46f075a74). In 2008, the IOMMU was fixed to use the boundary_mask parameter per device properly. So 'protect4gb' workaround was removed (the

Re: [PATCH] kexec-tools, ppc64: Fix segfault on parsing of large device trees.

2010-05-09 Thread Michael Neuling
In message 4be78e06.6080...@ozlabs.org you wrote: ppc64's fs2dt used to use a fixed-size array into which the device tree was parsed. There was no bounds checking, so with a large device tree other heap data ended up getting stomped -- SIGSEGV time. This patch adds a function,

Re: [RFC PATCH v2 1/2] powerpc: cleanup APIs for cpu/thread/core mappings

2010-05-09 Thread Vaidyanathan Srinivasan
* Paul Mackerras pau...@samba.org [2010-05-10 09:05:22]: On Fri, May 07, 2010 at 05:18:42PM +0530, Vaidyanathan Srinivasan wrote: These APIs take logical cpu number as input Change cpu_first_thread_in_core() to cpu_leftmost_thread_sibling() Change cpu_last_thread_in_core() to