Re: 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..

2009-12-17 Thread Américo Wang
On Fri, Dec 18, 2009 at 3:38 PM, Zhiyong Wu wrote > On Fri, Dec 18, 2009 at 3:12 PM, Américo Wang > wrote: >> On Fri, Dec 18, 2009 at 12:08 PM, Zhiyong Wu wrote: >>> HI, >>> >>> linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option is >>> enable. >>> >>> When rebooting this mac

Re: 2.6.32 Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds..

2009-12-17 Thread Américo Wang
On Fri, Dec 18, 2009 at 12:08 PM, Zhiyong Wu wrote: > HI, > > linux-2.6.32 is compiled on a p6 machine with RH5.4 OS and KVM option is > enable. > > When rebooting this machine, a crash takes place such as: > > Loading ramdisk... > ramdisk loaded at 0170, size: 2700 Kbytes > OF stdout device

Re: [PATCH -tip tracing/kprobes] PPC: Powerpc port of the kprobe-based event tracer

2009-12-17 Thread Mahesh Jagannath Salgaonkar
Michael Neuling wrote: In message <4b29ee5f.9020...@linux.vnet.ibm.com> you wrote: Hi Michael, Michael Neuling wrote: + * regs_get_argument_nth() - get Nth argument at function call + * @regs: pt_regs which contains registers at function entry. + * @n: argument number. + * + * reg

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Vitaly Bordug
В Thu, 17 Dec 2009 09:16:07 +0100 Wolfgang Denk пишет: > Dear Vitaly Bordug, > > > repl: bad addresses: > linuxppc-...@ozlabs.org -- junk > after lo...@domain (<) In message <20091216024730.455b9...@vitb-lp> > you wrote: > > > > From: Heiko Schocher > > > > This driver provides (read/

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Vitaly Bordug
В Thu, 17 Dec 2009 10:34:34 +0100 Wolfram Sang пишет: > On Wed, Dec 16, 2009 at 02:47:30AM +0300, Vitaly Bordug wrote: > > > > From: Heiko Schocher > > > > This driver provides (read/write) access to the > > U-Boot bootcounter via PROC FS or sysFS. > > > > in u-boot, it uses a 8 byte mem area

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Vitaly Bordug
[...] > > bootco...@0x3eb0 { > > device_type = "bootcount"; Clear. > > No device_type. > > > compatible = "uboot,bootcount"; > > reg = <0x3eb0 0x08>; > > }; > > This area should also be in the flattened tree's reserved map.

[PATCH] ps3_gelic_wireless: Fix build failure due to missing WEXT_PRIV

2009-12-17 Thread Benjamin Herrenschmidt
The option to support the old style PSK interface in the PS3 GELIC wireless drivers requires CONFIG_WEXT_PRIV to be set Signed-off-by: Benjamin Herrenschmidt --- Please send to Linus asap (or I can put it in powerpc.git) as it's breaking one of my test build configs :-) diff --git a/drivers/net

Re: [patch 1/5] powerpc: Sky CPU: redundant or incorrect tests on unsigned

2009-12-17 Thread Benjamin Herrenschmidt
On Fri, 2009-12-18 at 14:40 +1100, Benjamin Herrenschmidt wrote: > On Thu, 2009-12-17 at 16:44 -0800, a...@linux-foundation.org wrote: > > From: Roel Kluin > > > > count is unsigned and cannot be less than 0. > > Is this really a powerpc thing ? > > This driver is only build with CONFIG_HDPU_FE

Re: [patch 1/5] powerpc: Sky CPU: redundant or incorrect tests on unsigned

2009-12-17 Thread Benjamin Herrenschmidt
On Thu, 2009-12-17 at 16:44 -0800, a...@linux-foundation.org wrote: > From: Roel Kluin > > count is unsigned and cannot be less than 0. Is this really a powerpc thing ? This driver is only build with CONFIG_HDPU_FEATURES and a git grep HDPU_FEATURES returns no Kconfig that defines it :-) I'm h

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2009-12-17 Thread Dan Williams
On Thu, Dec 17, 2009 at 11:45 AM, Kumar Gala wrote: >> The specific case it is needed for Talitos/raid is a channel switch >> interrupt.  The interrupt causes the cleanup operation to be run which will >> kick off any pending dependent operations on the xor channel.  In the raid >> case we only

[patch 2/5] mm: add notifier in pageblock isolation for balloon drivers

2009-12-17 Thread akpm
From: Robert Jennings Memory balloon drivers can allocate a large amount of memory which is not movable but could be freed to accomodate memory hotplug remove. Prior to calling the memory hotplug notifier chain the memory in the pageblock is isolated. Currently, if the migrate type is not MIGRA

[patch 3/5] powerpc: make the CMM memory hotplug aware

2009-12-17 Thread akpm
From: Robert Jennings The Collaborative Memory Manager (CMM) module allocates individual pages over time that are not migratable. On a long running system this can severely impact the ability to find enough pages to support a hotplug memory remove operation. This patch adds a memory isolation n

[patch 5/5] powerpc/85xx: wrong variable returned on error

2009-12-17 Thread akpm
From: Roel Kluin The wrong variable was returned in the case of an error. Signed-off-by: Roel Kluin Cc: Kumar Gala Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton --- arch/powerpc/platforms/85xx/mpc85xx_mds.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch

[patch 4/5] iseries: convert to proc_fops

2009-12-17 Thread akpm
From: Alexey Dobriyan Signed-off-by: Alexey Dobriyan Cc: Benjamin Herrenschmidt Cc: Michael Ellerman Signed-off-by: Andrew Morton --- arch/powerpc/platforms/iseries/mf.c | 147 ++ 1 file changed, 83 insertions(+), 64 deletions(-) diff -puN arch/powerpc/platforms/is

[patch 1/5] powerpc: Sky CPU: redundant or incorrect tests on unsigned

2009-12-17 Thread akpm
From: Roel Kluin count is unsigned and cannot be less than 0. Signed-off-by: Roel Kluin Acked-by: Cyrill Gorcunov Cc: Benjamin Herrenschmidt Cc: Kumar Gala Cc: Brian Waite Signed-off-by: Andrew Morton --- drivers/misc/hdpuftrs/hdpu_cpustate.c |5 - 1 file changed, 5 deletions(-)

Re: [PATCH 3/3] mpc8xxx_gpio: add interrupt support

2009-12-17 Thread Peter Korsgaard
> "Peter" == Peter Korsgaard writes: > "Kumar" == Kumar Gala writes: Peter> Hi, Kumar> We need a binding document to go with this. Peter> Ok, but where should it go? In the existing Peter> powerpc/dts-bindings/fsl/8xxx_gpio.txt or somewhere seperate? I don't Peter> see any other i

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Felix Radensky
Hi, Kumar Kumar Gala wrote: On Dec 17, 2009, at 2:59 AM, Mahajan Vivek-B08308 wrote: Thanks a lot. If I understand you correctly, the only way I can get ath9k driver to work on this board using legacy interrupts is to wait for a hardware fix. Right ? Correct I'm confused. Wh

Re: [Patch 1/1] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2009-12-17 Thread K.Prasad
On Mon, Dec 14, 2009 at 11:26:26AM -0800, Roland McGrath wrote: > I understand the reason for using stepping. (I have advised in the past > that I thought this magical implicit step logic was too hairy to roll in > under the covers and that a low-level facility expressing the different > hardware

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2009-12-17 Thread Kumar Gala
On Dec 17, 2009, at 11:44 AM, Dan Williams wrote: > Ira W. Snyder wrote: >> Yes, I have used the device_prep_dma_interrupt() functionality quite a >> while back. However, I found it to be pretty much useless. > > The specific case it is needed for Talitos/raid is a channel switch > interrupt.

[PATCH] powerpc: gamecube/wii: fix off-by-one error in ugecon/usbgecko_udbg

2009-12-17 Thread Albert Herranz
The retry logic in ug_putc() is broken. If the TX fifo is not ready and the counter runs out it will have a value of -1 and no transfer should be attempted. Also, a counter with a value of 0 means that the TX fifo got ready in the last try and the transfer should be attempted. Reported-by: "Juha

Need advice on changing MPC5200B UART prescaler

2009-12-17 Thread Sylvain Lamontagne
Hi all, I would like to be able to set a baud rate of 460800 for modem that we are testing. With the actual prescaler of 32 and a IPB frequency of 84MHz I got a 5.1% error (437500) vs a 0.9% error (456522) if I could use the prescaler of 4. See MPC5200B user manual page 15-46 for the calculation f

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2009-12-17 Thread Dan Williams
Ira W. Snyder wrote: Yes, I have used the device_prep_dma_interrupt() functionality quite a while back. However, I found it to be pretty much useless. The specific case it is needed for Talitos/raid is a channel switch interrupt. The interrupt causes the cleanup operation to be run which wil

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2009-12-17 Thread Kumar Gala
On Dec 17, 2009, at 11:09 AM, Ira W. Snyder wrote: > On Wed, Dec 16, 2009 at 03:47:48PM -0700, Dan Williams wrote: >> Kumar Gala wrote: > Changes with respect to v1 as per comments received > o. Rebased to linux-next as of 20091216 > o. The selection is based exclusive of fsldma >

Re: [PATCH v2 2/2] Crypto: Talitos: Support for Async_tx XOR offload

2009-12-17 Thread Ira W. Snyder
On Wed, Dec 16, 2009 at 03:47:48PM -0700, Dan Williams wrote: > Kumar Gala wrote: > >>> Changes with respect to v1 as per comments received > >>> o. Rebased to linux-next as of 20091216 > >>> o. The selection is based exclusive of fsldma > >>> o. Intoduced a new Kernel Configuration variable > >>>

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Kumar Gala
On Dec 17, 2009, at 2:59 AM, Mahajan Vivek-B08308 wrote: >> >> Thanks a lot. If I understand you correctly, the only way I >> can get ath9k driver to work on this board using legacy >> interrupts is to wait for a hardware fix. Right ? > > Correct I'm confused. What's the issue with IRQ0 on

Re: [PATCH] PowerPC: const intspec pointers

2009-12-17 Thread Roman Fietze
Hello Grant, On Tuesday 15 December 2009 20:50:05 Grant Likely wrote: > Yes, I'm using the driver in a couple of projects. It works for me > for both RX and TX (although TX+DMA has been troublesome). That's what I found out. > The test driver on the other hand is pretty poor code. Don't expec

Re: [PATCH -tip tracing/kprobes] PPC: Powerpc port of the kprobe-based event tracer

2009-12-17 Thread Michael Neuling
In message <4b29ee5f.9020...@linux.vnet.ibm.com> you wrote: > Hi Michael, > > Michael Neuling wrote: > >> Index: linux-2.6-tip/arch/powerpc/include/asm/ptrace.h > >> === > >> --- linux-2.6-tip.orig/arch/powerpc/include/asm/ptrace.h >

Re: [PATCH -tip tracing/kprobes] PPC: Powerpc port of the kprobe-based event tracer

2009-12-17 Thread Michael Neuling
In message <4b29c3e3.3060...@redhat.com> you wrote: > Hi Michael, > > Michael Neuling wrote: > >> + > >> +static const struct pt_regs_offset regoffset_table[] = { > >> + REG_OFFSET_NAME(gpr[0]), > >> + REG_OFFSET_NAME(gpr[1]), > >> + REG_OFFSET_NAME(gpr[2]), > >> + REG_OFFSET_NAME(gpr[3]), > >

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Wolfram Sang
On Wed, Dec 16, 2009 at 02:47:30AM +0300, Vitaly Bordug wrote: > > From: Heiko Schocher > > This driver provides (read/write) access to the > U-Boot bootcounter via PROC FS or sysFS. > > in u-boot, it uses a 8 byte mem area (it must hold the value over a > soft reset of course), for storing a b

RE: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Mahajan Vivek-B08308
> From: Felix Radensky [mailto:fe...@embedded-sol.com] > Sent: Thursday, December 17, 2009 2:26 PM > > > Yes, I've enabled that bit, but didn't get any interrupt. Thanks for trying. > > Thanks a lot. If I understand you correctly, the only way I > can get ath9k driver to work on this board us

Re: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Felix Radensky
Mahajan Vivek-B08308 wrote: From: linuxppc-dev-bounces+vivek.mahajan=freescale@lists.ozlabs. org [mailto:linuxppc-dev-bounces+vivek.mahajan=freescale@lists .ozlabs.org] On Behalf Of Felix Radensky Sent: Thursday, December 17, 2009 12:52 PM I just noticed a MSI enable bit in driver

Re: [PATCH -tip tracing/kprobes] PPC: Powerpc port of the kprobe-based event tracer

2009-12-17 Thread Mahesh Jagannath Salgaonkar
Hi Michael, Michael Neuling wrote: Index: linux-2.6-tip/arch/powerpc/include/asm/ptrace.h === --- linux-2.6-tip.orig/arch/powerpc/include/asm/ptrace.h +++ linux-2.6-tip/arch/powerpc/include/asm/ptrace.h @@ -83,6 +83,7 @@ struct pt_r

Re: [POWERPC] add U-Boot bootcount driver.

2009-12-17 Thread Wolfgang Denk
Dear Vitaly Bordug, repl: bad addresses: linuxppc-...@ozlabs.org -- junk after lo...@domain (<) In message <20091216024730.455b9...@vitb-lp> you wrote: > > From: Heiko Schocher > > This driver provides (read/write) access to the > U-Boot bootcounter via PROC FS or sysFS. > > in u-bo

RE: Problem with mini-PCI-E slot on P2020RDB

2009-12-17 Thread Mahajan Vivek-B08308
> From: > linuxppc-dev-bounces+vivek.mahajan=freescale@lists.ozlabs. > org > [mailto:linuxppc-dev-bounces+vivek.mahajan=freescale@lists > .ozlabs.org] On Behalf Of Felix Radensky > Sent: Thursday, December 17, 2009 12:52 PM > > > > I just noticed a MSI enable bit in > > drivers/net/wirel