Re: [PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-09-19 Thread Kumar Gala
Please repost and I'll look at it again.. I'm trying to be more diligent about patchworks.ozlabs.org and tracking things there. - k On Sep 19, 2008, at 4:28 PM, Matthias Fuchs wrote: Hi Kumar, should I resend this my patch? Is there chance to get it applied. It really fixes a bug! Matthias

Re: [PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-09-19 Thread Matthias Fuchs
Hi Kumar, should I resend this my patch? Is there chance to get it applied. It really fixes a bug! Matthias On Thursday 07 August 2008 15:19:10 Kumar Gala wrote: > On Aug 7, 2008, at 7:48 AM, Matthias Fuchs wrote: > > This patch fixes the setting of the Book-E watchdog timer interval > > setup >

Re: [PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-08-07 Thread Matthias Fuchs
Sure, the former line: mtspr(SPRN_TCR, (mfspr(SPRN_TCR)&~WDTP(0))|WDTP(booke_wdt_period)); tries to mask the wdt interval period bits by and'ing with ~WDTP(0) which is 0x. So no bits are cleared and or'ing a new value does not change anything. The default interval is '3' which is the m

Re: [PATCH] powerpc: Fix Book-E watchdog timer interval setting

2008-08-07 Thread Kumar Gala
On Aug 7, 2008, at 7:48 AM, Matthias Fuchs wrote: This patch fixes the setting of the Book-E watchdog timer interval setup on initialization and by ioctl(). Tested on PPC440EPx sequoia evaluation board. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- drivers/watchdog/booke_wdt.c |