scsi/ipr failed to initialize =linux-3.0.9, =linux-3.1.1

2011-11-27 Thread acrux
scsi subsystem with ipr driver fails to initialize with every kernel =3.0.9 and =3.1.1 Checked on YDL_Powerstation, IBM 9114-275, IBM 9123-710, [...] OF stdout device is: /ht/isa@8/serial@3f8 Preparing to boot Linux version 3.0.10 (root@radio) (gcc version 4.5.3 (CRUX PP1 command line:

sam460ex, sm501 incorrect device id with kernel =linux-2.6.39

2011-11-27 Thread acrux
Acube Sam460ex has SM502 as onboard video. I got this with any kernel newer than 2.6.38.x thus the framebuffer is lost too: root@sam4x0:~# diff dmesg-2.6.38.8 dmesg-2.6.39.4 1,2c1,3 Using PowerPC 44x Platform machine description Linux version 2.6.38.8-Sam460ex (root@sam4x0) (gcc version 4.5.3

Re: [PATCH-RFC 02/10] lib: add GENERIC_PCI_IOMAP

2011-11-27 Thread Michael S. Tsirkin
On Fri, Nov 25, 2011 at 11:54:55AM +1100, Stephen Rothwell wrote: Hi Michael, On Thu, 24 Nov 2011 22:17:02 +0200 Michael S. Tsirkin m...@redhat.com wrote: diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 9120887..c8a67345 100644 --- a/include/asm-generic/io.h

Re: Enabling MBX in MPC5121 - OGLES kernel modules

2011-11-27 Thread Robert Schwebel
Einar, On Fri, Nov 25, 2011 at 08:20:30AM +, Einar Már Björgvinsson wrote: Wanted to repeat my previous email about enabling MBX in MPC5121. Anybody out there who can assist me? This list is about open source software. The core you are using is from Imagination Technologies, they do not

Re: [PATCH] perf events, powerpc: Add POWER7 stalled-cycles-frontend/backend events

2011-11-27 Thread Benjamin Herrenschmidt
On Fri, 2011-09-09 at 16:26 +1000, Michael Neuling wrote: I agree, I think they match what Ingo is trying to achieve. Can you add these descriptions to the patch and resubmit please? If you can find similar events for power4/5/5+/6 that would be great too submit too. FWIW, the patch

Re: [RFC PATCH v2 1/4] cpuidle: (powerpc) Add cpu_idle_wait() to allow switching of idle routines

2011-11-27 Thread Benjamin Herrenschmidt
On Thu, 2011-11-17 at 16:58 +0530, Deepthi Dharwar wrote: This patch provides cpu_idle_wait() routine for the powerpc platform which is required by the cpuidle subsystem. This routine is requied to change the idle handler on SMP systems. The equivalent routine for x86 is in

Re: [RFC PATCH v2 2/4] cpuidle: (POWER) cpuidle driver for pSeries

2011-11-27 Thread Benjamin Herrenschmidt
On Thu, 2011-11-17 at 16:58 +0530, Deepthi Dharwar wrote: This patch implements a backhand cpuidle driver for pSeries based on pseries_dedicated_idle_loop and pseries_shared_idle_loop routines. The driver is built only if CONFIG_CPU_IDLE is set. This cpuidle driver uses global registration of

Re: [RFC PATCH v2 3/4] cpuidle: (POWER) Enable cpuidle and directly call cpuidle_idle_call() for pSeries

2011-11-27 Thread Benjamin Herrenschmidt
On Thu, 2011-11-17 at 16:58 +0530, Deepthi Dharwar wrote: This patch enables cpuidle for pSeries and cpuidle_idle_call() is directly called from the idle loop. As a result pseries_idle cpuidle driver registered with cpuidle subsystem comes into action. This patch also removes the routines

Re: [RFC PATCH v2 4/4] cpuidle: (POWER) Handle power_save=off

2011-11-27 Thread Benjamin Herrenschmidt
On Thu, 2011-11-17 at 16:59 +0530, Deepthi Dharwar wrote: This patch makes pseries_idle_driver not to be registered when power_save=off kernel boot option is specified. The boot_option_idle_override variable used here is similar to its usage on x86. Quick Q. With your changes, the CPU will

Re: [PATCH] powerpc/40x: Add APM8018X SOC support

2011-11-27 Thread Benjamin Herrenschmidt
On Fri, 2011-11-25 at 17:49 +0530, Tanmay Inamdar wrote: +#if defined(CONFIG_APM8018X) +/* CPR */ +#define DCRN_CPR0_CONFIG_ADDR0xa +#define DCRN_CPR1_CONFIG_DATA0xb +/* AHB */ +#define

MPIC cleanup series

2011-11-27 Thread Benjamin Herrenschmidt
Hi Kyle ! I can't reply to the patches themselves easily unfortunately as I accidentally deleted them from my mailer :-) Overall I really look your series. It doesn't quite apply cleanly anymore so I'll as you for a new shoot after you address the comments below, at which point, if you're fast

Re: [PATCH v9 11/13] powerpc: select HAVE_SECCOMP_FILTER and provide seccomp_execve

2011-11-27 Thread Benjamin Herrenschmidt
On Tue, 2011-08-30 at 15:28 +1000, Benjamin Herrenschmidt wrote: On Thu, 2011-06-23 at 19:36 -0500, Will Drewry wrote: Facilitate the use of CONFIG_SECCOMP_FILTER by wrapping compatibility system call numbering for execve and selecting HAVE_SECCOMP_FILTER. v9: rebase on to

Re: [PATCH 01/16] pmac_zilog: fix unexpected irq

2011-11-27 Thread Benjamin Herrenschmidt
Removing ifdefs makes the changes more invasive and the suspend/resume code then has to be addressed, which I've avoided. The suspend/resume code path can't be tested on m68k macs and the common code paths I can't easily test on a powermac. This patch should not be needed because the

Re: [PATCH v9 11/13] powerpc: select HAVE_SECCOMP_FILTER and provide seccomp_execve

2011-11-27 Thread Will Drewry
On Sun, Nov 27, 2011 at 6:14 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2011-08-30 at 15:28 +1000, Benjamin Herrenschmidt wrote: On Thu, 2011-06-23 at 19:36 -0500, Will Drewry wrote: Facilitate the use of CONFIG_SECCOMP_FILTER by wrapping compatibility system call

Re: [PATCH 1/2] [hw-breakpoint] Use generic hw-breakpoint interfaces for new PPC ptrace flags

2011-11-27 Thread David Gibson
[snip] On Wed, Oct 12, 2011 at 11:09:48PM +0530, K.Prasad wrote: + if (bp) { + attr = bp-attr; + attr.bp_addr = (unsigned long)bp_info-addr ~HW_BREAKPOINT_ALIGN; + arch_bp_generic_fields(dabr + (DABR_DATA_WRITE |

Re: [RFC PATCH v5 2/9] fadump: Reserve the memory for firmware assisted dump.

2011-11-27 Thread Mahesh J. Salgaonkar
On 11/25/2011 04:32 AM, Paul Mackerras wrote: On Tue, Nov 15, 2011 at 08:43:43PM +0530, Mahesh J Salgaonkar wrote: From: Mahesh Salgaonkar mah...@linux.vnet.ibm.com Reserve the memory during early boot to preserve CPU state data, HPTE region and RMR region data in case of kernel crash. At the