Re: [Cbe-oss-dev] powerpc/cell/oprofile: fix mutex locking for spu-oprofile

2008-08-24 Thread Paul Mackerras
Arnd Bergmann writes: > The patch does not fix a regression, the spu-oprofile code basically never > worked. With the current code in Linux, samples in the profile buffer > can get corrupted because reader and writer to that buffer use different > locks for accessing it. It took us several iterati

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Benjamin Herrenschmidt
On Sun, 2008-08-24 at 16:46 +0200, Andreas Schwab wrote: > Michael Buesch <[EMAIL PROTECTED]> writes: > > > The following workaround seems to fix the crashes on powerpc. > > However, this patch is clearly not what we want for other architectures, > > as they might need -fno-omit-frame-pointer to f

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Benjamin Herrenschmidt
> Thanks for your random guess. > The following workaround seems to fix the crashes on powerpc. > However, this patch is clearly not what we want for other architectures, > as they might need -fno-omit-frame-pointer to function properly. Well, and -pg requires it, even on powerpc, so that won't w

Re: Why does one "stw" fail with address translation disabled in PPC405EP?

2008-08-24 Thread Wolfgang Denk
Dear Zhou Rui, In message <[EMAIL PROTECTED]> you wrote: > > > >I am running a kernel module which will execute a user space > > >application. The entry point of the application is 0x10a0. At the > > > > That should be the first clue that you are doing it wrong. Don't do > > stuff like t

ppc4xx_pci: disable PCI (PnP) via fdt

2008-08-24 Thread Matthias Fuchs
Hi, is it possible to disable PCI PnP via the device tree on a 4xx system? I am working with a 440EPx board that can be system CPU (with PCI hostbridge) or a PCI adapter board. In the latter setup I want to disable PCI PnP, preferred by manipulating the fdt by U-Boot. The PCI mode is detected b

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Michael Buesch
On Sunday 24 August 2008 16:46:38 Andreas Schwab wrote: > Michael Buesch <[EMAIL PROTECTED]> writes: > > > The following workaround seems to fix the crashes on powerpc. > > However, this patch is clearly not what we want for other architectures, > > as they might need -fno-omit-frame-pointer to fu

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Andreas Schwab
Michael Buesch <[EMAIL PROTECTED]> writes: > The following workaround seems to fix the crashes on powerpc. > However, this patch is clearly not what we want for other architectures, > as they might need -fno-omit-frame-pointer to function properly. This has a better chance to be accepted. :-) di

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Michael Buesch
On Sunday 24 August 2008, Benjamin Herrenschmidt wrote: > Random guess: > > CONFIG_FRAME_POINTER=y > CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y > > Note sure what those together do, check if you have any file compiled > with -fno-omit-frame-pointer and if you do, try to change things so > that you d

Re: checkpatch nits ...

2008-08-24 Thread David Howells
Kevin Diggs <[EMAIL PROTECTED]> wrote: > The entire block is: > > __asm__ __volatile__ ( > "addi %0,%3,-1\n" > "andc %1,%3,%0\n" > "cntlzw %1,%1\n" > "subfic %1,%1,31\n" > "cntlzw %0,%2\n": > "=r"(cntlz), "=

Re: libfreevec benchmarks

2008-08-24 Thread Konstantinos Margaritis
Στις Friday 22 August 2008 20:44:07 ο/η Ryan S. Arnold έγραψε: > Do you have FSF (Free Software Foundation) copyright assignment yet? Copyright assignment is not the issue, if there was interest in the first place, that would never had deterred me. > How've you implemented the optimizations? Sc

Re: Random crashes with 2.6.27-rc3 on PPC

2008-08-24 Thread Michael Buesch
On Sunday 24 August 2008 00:52:49 Benjamin Herrenschmidt wrote: > On Sat, 2008-08-23 at 16:10 +0200, Michael Buesch wrote: > > I am seeing random kernel and userland application > > crashes on a Powerbook running a 2.6.27-rc3 based kernel > > (wireless-testing.git). > > > > The crashes did recent