Re: MPC5200B XLB Configuration Issues, FEC RFIFO Events, ATA Crashes

2010-02-02 Thread Roman Fietze
Hello Albrecht, Sorry for the delay ... your mail got stuck in a Notes "spam filter". On Friday 22 January 2010 21:11:39 Albrecht Dreß wrote: > Are there any "final" conclusions from your tests? Yes. For the small product using the 2.6 kernel we turned all snooping and the kernel coherent flag

Re: [RFC:PATCH 00/03] powerpc: Expose BookE debug registers through extended ptrace interface

2010-02-02 Thread Dave Kleikamp
On Mon, 2010-01-18 at 16:34 -0600, Dave Kleikamp wrote: > On Thu, 2009-12-10 at 20:23 -0600, Kumar Gala wrote: > > Is GDB smart enough to deal w/no condition_regs? On some Book-E > > devices we have 2 IACs, 2 DACs, and 0 DVCs. Does it need to be in the > > features? > > I wasn't aware that the

[patch 2/2] kbuild: move -fno-dwarf2-cfi-asm to powerpc only

2010-02-02 Thread akpm
From: Andi Kleen Better dwarf2 unwind information is a good thing, it allows better debugging with kgdb and crash and helps systemtap. Commit 003086497f07f7f1e67c0c295e261740f822b377 ("Build with -fno-dwarf2-cfi-asm") disabled some CFI information globally to work around a module loader bug on p

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

2010-02-02 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 8/8] fsldma: major cleanups and fixes

2010-02-02 Thread Ira W. Snyder
On Tue, Feb 02, 2010 at 02:23:08PM -0700, Dan Williams wrote: > Ira W. Snyder wrote: > > In the fsldma driver, all callbacks are run from tasklet (softirq) > > context. That's under local_irq_disable(), right? Hardirq's certainly > > aren't disabled there. > > Actually, my mistake, the cleanup rou

Re: [PATCH 8/8] fsldma: major cleanups and fixes

2010-02-02 Thread Dan Williams
Ira W. Snyder wrote: In the fsldma driver, all callbacks are run from tasklet (softirq) context. That's under local_irq_disable(), right? Hardirq's certainly aren't disabled there. Actually, my mistake, the cleanup routine does spin_lock_irqsave(), but I now see that it drops the lock across t

Re: [PATCH 8/8] fsldma: major cleanups and fixes

2010-02-02 Thread Ira W. Snyder
On Tue, Feb 02, 2010 at 02:02:44PM -0700, Dan Williams wrote: > Ira W. Snyder wrote: > > Fix locking. Use two queues in the driver, one for pending transacions, and > > one for transactions which are actually running on the hardware. Call > > dma_run_dependencies() on descriptor cleanup so that the

Re: [PATCH 8/8] fsldma: major cleanups and fixes

2010-02-02 Thread Dan Williams
Ira W. Snyder wrote: Fix locking. Use two queues in the driver, one for pending transacions, and one for transactions which are actually running on the hardware. Call dma_run_dependencies() on descriptor cleanup so that the async_tx API works correctly. I notice that fsldma diverges from other

Re: [PATCH] serial/mpc52xx_uart: Drop outdated comments

2010-02-02 Thread Grant Likely
On Tue, Feb 2, 2010 at 11:58 AM, Wolfram Sang wrote: > On Fri, Jan 08, 2010 at 10:19:29PM +0100, Wolfram Sang wrote: >> Most things mentioned are either obsolete (platform-support) or wrong (device >> numbering, DCD spport) these days. The remaining rest is obvious. >> >> Signed-off-by: Wolfram Sa

Re: [PATCH] serial/mpc52xx_uart: Drop outdated comments

2010-02-02 Thread Wolfram Sang
On Fri, Jan 08, 2010 at 10:19:29PM +0100, Wolfram Sang wrote: > Most things mentioned are either obsolete (platform-support) or wrong (device > numbering, DCD spport) these days. The remaining rest is obvious. > > Signed-off-by: Wolfram Sang > Cc: Grant Likely Ping. Anyone interested in this pa

Re: [PATCHv2 2/2] Update ibm,client-architecture call field based on device tree

2010-02-02 Thread Joel Schopp
+ if(*cores != NR_CPUS) + prom_printf("client-architecture structure corrupted\n"); + *cores = (NR_CPUS / prom_smt_way()); + prom_printf("setting client-architecture cores to %x\n", *cores); I don't know if I'm painting a b

Re: [PATCH] eeh: Fixing a bug when pci structure is null

2010-02-02 Thread Wolfram Sang
On Tue, Feb 02, 2010 at 03:46:28PM -0200, Breno Leitao wrote: > During a EEH recover, the pci_dev structure can be null, mainly if an > eeh event is detected during cpi config operation. In this case, the > pci_dev will not be known (and will be null) and the kernel will crash > with the follow

[PATCH] eeh: Fixing a bug when pci structure is null

2010-02-02 Thread Breno Leitao
During a EEH recover, the pci_dev structure can be null, mainly if an eeh event is detected during cpi config operation. In this case, the pci_dev will not be known (and will be null) and the kernel will crash with the following message: Unable to handle kernel paging request for data at add

Re: fsldma: cleanup driver and fix async_tx compatibility

2010-02-02 Thread Dan Williams
Dudhat Dipen-B09055 wrote: Hi Ira, Do these patches accepted to open source kernel?? Yes, they should appear on the 'next' branch of async_tx.git by the end of the day. -- Dan ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://

Locale issue

2010-02-02 Thread Eda Ercan
Hi, I am trying to setlocale on ppc, but due to memory shortage, the locale package is not installed completely- only the related files are copied. There may be a missing file but I cannot find which is. int main() { if ( setlocale(LC_COLLATE,"tr_TR") == NULL ) printf("could not

Re: [PATCH 1/7] powerpc: Reduce footprint of irq_stat

2010-02-02 Thread Christoph Hellwig
On Tue, Feb 02, 2010 at 10:07:10AM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2010-02-01 at 22:55 +0100, Christoph Hellwig wrote: > > > > +typedef struct { > > > + unsigned int __softirq_pending; > > > +} cacheline_aligned irq_cpustat_t; > > > > No need to bother with an irq_cpustat_t typ