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

[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: .d

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 effor

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

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 (us

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: 0xc000

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. E

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

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_du

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: V

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 28b958859206b7010d03129611c2e44489

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_pa

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 ___ Linuxppc-d

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 spur

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

Re: PPC upstream kernel ignored DABR bug

2008-03-12 Thread Jens Osterkamp
> Just to make sure, i tested the binary against the 2.6.25-rc4 kernel. It > still fails. So this is really an open bug for PPC. On a Cell- or 970-based machine ? Gruß, Jens IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herbert Kircher

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

2008-03-12 Thread Matthew Wilcox
On Thu, Mar 13, 2008 at 09:26:09AM +1100, Michael Ellerman wrote: > down() looks OK, but there's still a spin_lock_irq() in __down_common(), > although I don't know if it makes sense for us to be in __down() at that > stage. The spin_lock_irq in __down_common is correct. We're going to schedule()

Driver for Freescale Display Interface Unit (A LCD controller)

2008-03-12 Thread York Sun
The following patches are for Freescale DIU. The first patch is a DIU driver. The second patch is the platform code to support the driver. It is a frame buffer driver for DIU. Descriptions can be found in the patches. It is a new feature targeting 2.6.26 kernel. _

[PATCH 2/2] Add DIU platform code for MPC8610HPCD

2008-03-12 Thread York Sun
Add platform code to support Freescale DIU. The platform code includes framebuffer memory allocation, pixel format, monitor port, etc. Signed-off-by: York Sun <[EMAIL PROTECTED]> --- This patch is targeting 2.6.26. arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 266 +++-

Re: [PATCH] Always define pmu_sys_suspended

2008-03-12 Thread Paul Mackerras
Guido Günther writes: > diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c > index ebec663..296edcb 100644 > --- a/drivers/macintosh/via-pmu.c > +++ b/drivers/macintosh/via-pmu.c > @@ -2437,8 +2437,8 @@ void pmu_blink(int n) > } > #endif /* DEBUG_SLEEP */ > > -#if defined(C

[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". The

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 deleti

[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 file

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

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 Please include instead. > +/* Align to 64-bit(8-byte), 32-byte, etc. */ > +static int allocate_buf(struct diu_addr *buf, u32

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. I

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 com

[PATCH] [POWERPC] really export empty_zero_page

2008-03-12 Thread Stephen Rothwell
It was being protected by CONFIG_PPC32. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ppc_ksyms.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) I have applied this to today's linux-next tree. diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc

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