[PATCH] [POWERPC] Fix viodasd driver with scatterlist debug

2008-03-12 Thread Benjamin Herrenschmidt
The iSeries viodasd drivers does some very strange things with scatterlists, one of these causing a BUG_ON to trigger when scatterlist debugging is enabled due to initializing the scatterlist with memset instead of sg_init_table(). This fixes it by using sg_init_table(). The rest of the stuff it

Re: [PATCH] [POWERPC] Fix viodasd driver with scatterlist debug

2008-03-12 Thread Stephen Rothwell
Hi Ben, On Wed, 12 Mar 2008 17:23:56 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: The iSeries viodasd drivers does some very strange things with scatterlists, one of these causing a BUG_ON to trigger when scatterlist debugging is enabled due to initializing the scatterlist with

Re: [PATCH] [POWERPC] Fix viodasd driver with scatterlist debug

2008-03-12 Thread Benjamin Herrenschmidt
On Wed, 2008-03-12 at 17:44 +1100, Stephen Rothwell wrote: Hi Ben, On Wed, 12 Mar 2008 17:23:56 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: The iSeries viodasd drivers does some very strange things with scatterlists, one of these causing a BUG_ON to trigger when

Re: [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-12 Thread Guido Günther
Hi Tony, On Wed, Mar 12, 2008 at 10:48:48AM +1100, Tony Breeds wrote: pmu_sys_suspended is declared extern when: defined(CONFIG_PM_SLEEP) defined(CONFIG_PPC32) but only defined when: defined(CONFIG_SUSPEND) defined(CONFIG_PPC32) which is wrong. Lets fix that. As I wrote, this

[BUG] 2.6.25-rc5-mm1 kernel panic with Exception: 501 on powerpc

2008-03-12 Thread Kamalesh Babulal
Hi Andrew, The 2.6.25-rc5-mm1 kernel panics while bootup on powerpc returning from prom_init Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc000d5dc cpu 0x0: Vector: 300 (Data Access) at [c07636e0] pc: c000d5dc:

Re: [PATCH] ppc: Export empty_zero_page

2008-03-12 Thread Theodore Tso
On Wed, Mar 12, 2008 at 02:41:10PM +1100, Tony Breeds wrote: I suspect you meant arch/*powerpc* arch ppc, wont fix the problem ;P Um, right. I didn't know about this: Why: The arch/powerpc tree is the merged architecture for ppc32 and ppc64 platforms. Currently there are efforts

Re: [PATCH 8/8] pseries: phyp dump: config file

2008-03-12 Thread Manish Ahuja
Thanks for the review. I will try and make the recommended changes and repost it soon. Manish Paul Mackerras wrote: Manish Ahuja writes: +config PHYP_DUMP +bool Hypervisor-assisted dump (EXPERIMENTAL) +depends on PPC_PSERIES EXPERIMENTAL +default y I think this should

Re: [PATCH 3/8] pseries: phyp dump: use sysfs to release reserved mem

2008-03-12 Thread Linas Vepstas
On 11/03/2008, Paul Mackerras [EMAIL PROTECTED] wrote: -- This line needs to be exactly 3 dashes, because otherwise the tools include the diffstat into the commit message. Putting 4 or more dashes was an annoying habit Linas had, and it means I have to fix it manually (usually

Re: [BUG] 2.6.25-rc5-mm1 kernel panic with Exception: 501 on powerpc

2008-03-12 Thread Andrew Morton
On Wed, 12 Mar 2008 18:25:37 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi Andrew, The 2.6.25-rc5-mm1 kernel panics while bootup on powerpc returning from prom_init Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc000d5dc

Re: [BUG] 2.6.25-rc5-mm1 kernel panic with Exception: 501 on powerpc

2008-03-12 Thread Matthew Wilcox
On Wed, Mar 12, 2008 at 10:46:45AM -0700, Andrew Morton wrote: On Wed, 12 Mar 2008 18:25:37 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Beats me. Maybe we're still enabling interrupts too early. But the new semaphore code got fixed (didn't it?) On the 7th, according to my records. Easy

Re: PPC upstream kernel ignored DABR bug

2008-03-12 Thread Luis Machado
Hi, On the Blade DABRX had to be set additional to DABR. PS3 and Celleb already did this. Uli Weigand found this back in November. I submitted a patch for this which went into 2.6.25-rc4. Can you please try again with rc4 ? Gruß, Jens Just to make sure, i tested the binary against the

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-12 Thread Linas Vepstas
On 10/03/2008, Michael Ellerman [EMAIL PROTECTED] wrote: On Thu, 2008-02-28 at 18:24 -0600, Manish Ahuja wrote: + +/* Global, used to communicate data between early boot and late boot */ +static struct phyp_dump phyp_dump_global; +struct phyp_dump *phyp_dump_info = phyp_dump_global;

Re: [BUG] 2.6.25-rc5-mm1 kernel panic with Exception: 501 on powerpc

2008-03-12 Thread Badari Pulavarty
On Wed, 2008-03-12 at 18:25 +0530, Kamalesh Babulal wrote: Hi Andrew, The 2.6.25-rc5-mm1 kernel panics while bootup on powerpc returning from prom_init Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc000d5dc cpu 0x0: Vector:

slow Kilauea TCP throughput?

2008-03-12 Thread Donasch, Ingo @ SDS
I have a project where I would like to use the AMC405EX under Linux for high speed data acquisition. I have the Kilauea board in the lab but measured only 150Mbit/s TCP throughput (outbound) with iperf. I need twice of that and actually expecting 3x higher bandwidth from that architecture. what is

[PATCH] Linux =2.6.24 support for FEC on MPC5200 (not B!)

2008-03-12 Thread René Bürgel
Here is a patch for the lite5200 to get the FEC working again for kernel =2.6.24. It was created against Linux 2.6.24. The FEC driver is also compatible with the MPC5200, not only with the MPC5200B, so an according entry was added to the drivers matching list. Furthermore the settings for the

[PATCH] [POWERPC] 83xx: Fix wrong USB phy type in mpc837xrdb dts

2008-03-12 Thread Anton Vorontsov
Due to chip constraint MPC837x USB DR module can only use ULPI and serial PHY interfaces. The patch fixes the wrong type in dts. This patch fixes USB malfunctioning on the MPC837xE-RDB boards. Similar patch has been already applied for the MDS boards: commit

Re: [PATCH] ppc: Export empty_zero_page

2008-03-12 Thread Theodore Tso
Once again, this time with feeling - Ted From c91cfaabc17f8a53807a2f31f067a732e34a1550 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o [EMAIL PROTECTED] Date: Wed, 12 Mar 2008 11:50:39 -0400 Subject: [PATCH] [PATCH] powerpc: Export empty_zero_page

Early Debug message on MPC8568MDS

2008-03-12 Thread mike zheng
Hello, How can I enable the early debug message on 2.6.23 kernel for MPC8568MDS board? What is the first line shall be displayed on the serial port? The board uses the first port of UART, where does it defined? Thanks for your help, Mike ___

Re: [BUG] 2.6.25-rc5-mm1 kernel panic with Exception: 501 on powerpc

2008-03-12 Thread Benjamin Herrenschmidt
Beats me. Maybe we're still enabling interrupts too early. But the new semaphore code got fixed (didn't it?) Won't lockdep/irqtrace warn if that happens ? You don't yet have the lockdep patches for ppc64 (I'm still trying to find out why they break iSeries) but it should warn of such a

Re: [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-12 Thread Tony Breeds
On Wed, Mar 12, 2008 at 09:38:57AM +0100, Guido Günther wrote: Hi Tony, On Wed, Mar 12, 2008 at 10:48:48AM +1100, Tony Breeds wrote: pmu_sys_suspended is declared extern when: defined(CONFIG_PM_SLEEP) defined(CONFIG_PPC32) but only defined when: defined(CONFIG_SUSPEND)

Re: [PATCH 1/2] Driver for Freescale 8610 and 5121 DIU

2008-03-12 Thread Jiri Slaby
On 03/12/2008 10:43 PM, York Sun wrote: +static int fsl_diu_open(struct fb_info *info, int user) +{ + struct mfb_info *mfbi = info-par; + int res = 0; + + spin_lock(diu_lock); + mfbi-count++; + if (mfbi-count == 1) { + DPRINTK(open plane index %d\n,

Re: [BUG] 2.6.25-rc5-mm1 kernel panic with Exception: 501 on powerpc

2008-03-12 Thread Michael Ellerman
On Wed, 2008-03-12 at 11:51 -0600, Matthew Wilcox wrote: On Wed, Mar 12, 2008 at 10:46:45AM -0700, Andrew Morton wrote: On Wed, 12 Mar 2008 18:25:37 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Beats me. Maybe we're still enabling interrupts too early. But the new semaphore code got

[PATCH 1/3] maple: use platform name in define_machine()

2008-03-12 Thread Nathan Lynch
Prevailing practice for define_machine() in powerpc is to use the platform name when the platform has only one define_machine() statement, but maple uses maple_md. This caused me some head-scratching when writing some new code that uses machine_is(maple). Use maple instead of maple_md. There

maple: minor updates

2008-03-12 Thread Nathan Lynch
Please consider the following mostly-trivial patches for 2.6.26. arch/powerpc/configs/maple_defconfig | 133 -- arch/powerpc/platforms/maple/pci.c | 47 arch/powerpc/platforms/maple/setup.c |2 +- 3 files changed, 129 insertions(+), 53

[PATCH 2/3] maple: kill fixup_maple_ide

2008-03-12 Thread Nathan Lynch
This function has been a no-op for about 18 months; it's there in the history should anyone need to resurrect it. Signed-off-by: Nathan Lynch [EMAIL PROTECTED] --- arch/powerpc/platforms/maple/pci.c | 47 1 files changed, 0 insertions(+), 47 deletions(-)

[PATCH 3/3] maple: enable ipr driver in defconfig

2008-03-12 Thread Nathan Lynch
Some machines supported by the maple platform have an Obsidian controller which can't be used without enabling CONFIG_IPR and the options on which it depends. Signed-off-by: Nathan Lynch [EMAIL PROTECTED] --- arch/powerpc/configs/maple_defconfig | 133 -- 1 files

Please pull powerpc.git merge branch

2008-03-12 Thread Paul Mackerras
Linus, Please do: git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get some more bug-fixes for various powerpc platforms. Thanks, Paul. arch/powerpc/Makefile |2 arch/powerpc/boot/Makefile | 18 -

Re: [PATCH 1/2] Driver for Freescale 8610 and 5121 DIU

2008-03-12 Thread Stephen Rothwell
Hi York, Just a few things from a first pass. On Wed, 12 Mar 2008 16:43:42 -0500 York Sun [EMAIL PROTECTED] wrote: +++ b/drivers/video/fsl-diu-fb.c +#include asm/of_platform.h Please include linux/of_platform.h instead. +/* Align to 64-bit(8-byte), 32-byte, etc. */ +static int

Re: PPC upstream kernel ignored DABR bug

2008-03-12 Thread Roland McGrath
AFAICT the DABRX register just has two global bits that enable paying attention to the DABR register. It only needs to be set once at boot time (as the cell code does). I don't see how missing that initialization could ever have explained the behavior we see where DABR matches are intermittent.

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-12 Thread Manish Ahuja
If Mike and Paul are okay, then I will leave this bit as is and fix all other issues and comments. Thanks, Manish Linas Vepstas wrote: On 10/03/2008, Michael Ellerman [EMAIL PROTECTED] wrote: On Thu, 2008-02-28 at 18:24 -0600, Manish Ahuja wrote: + +/* Global, used to communicate

Re: [PATCH 10/11] celleb: add support for PCI Express

2008-03-12 Thread Ishizaki Kou
Arnd Bergmann [EMAIL PROTECTED] wrote: On Wednesday 05 March 2008, Ishizaki Kou wrote: This patch adds support for PCI Express port on Celleb. I/O space of this PCI Express port is not mapped in memory space. So we use the io-workaround mechanism to make accesses indirect.