Re: [Linux-fbdev-devel] [PATCH] fbdev: Add PLB support and cleanup DCR in xilinxfb driver.

2009-05-17 Thread Krzysztof Helt
Hi Grant and John, On Fri, 15 May 2009 12:19:17 -0600 Grant Likely grant.lik...@secretlab.ca wrote: Antonino, Antonino is gone for quite a long time. I have reviewed your patch. I have two comments only. Both are of small caliber. If you prefer, I'm willing to merge it via my powerpc tree.

Re: [Linux-fbdev-devel] [PATCH] fbdev: Add PLB support and cleanup DCR in xilinxfb driver.

2009-05-17 Thread Geert Uytterhoeven
On Sun, May 17, 2009 at 10:06, Krzysztof Helt krzysztof...@poczta.fm wrote: On Fri, 15 May 2009 12:19:17 -0600 Grant Likely grant.lik...@secretlab.ca wrote: diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 40a3a2a..7a868bd 100644 --- a/drivers/video/xilinxfb.c +++

Accessing MS SQL Server from embedded PPC Linux

2009-05-17 Thread Chris Plasun
Hi, While part of my subject line might be redundant, how would I go about accessing MS SQL Server from my Freescale MPC8313 machine? Do I need to use a Linux ODBC driver? Thank you for any help. Chris Plasun ___ Linuxppc-dev mailing list

Accessing NTFS Shares from Freescale MPC8313

2009-05-17 Thread Chris Plasun
Hi, (I haven't found any answers in the archives) How would I access a NTFS shared directory from a Freescale MPC8313? Will Samba run on a Freescale MPC8313? Thanks, Chris Plasun ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

[PATCH 3/3] sound: use dev_set_drvdata

2009-05-17 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk Eliminate direct accesses to the driver_data field. cf 82ab13b26f15f49be45f15ccc96bfa0b81dfd015 The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // smpl @@ struct device *dev; expression E; type T; @@ -

[PATCH] [PowerPC] Support For Initrd Loaded Into Highmem

2009-05-17 Thread Konstantin Baydarov
Hello. Recently I faced following issue: On PPC targets with uBoot monitor with RAM size more than 768 Mb, boot with initrd(rootfs image that is loaded separately from uImage) fails. Kernel crashes very early. It turned out that: PPC uBoot always loads initrd image at the highest RAM

Re: [PATCH] [PowerPC] Support For Initrd Loaded Into Highmem

2009-05-17 Thread Wolfgang Denk
Dear Konstantin Baydarov, In message 4a103edf.7050...@ru.mvista.com you wrote: It turned out that: PPC uBoot always loads initrd image at the highest RAM address. So if board has Please read the documentation, for example the U-Boot README - pay speicial attention to the section

Re: [PATCH 3/3] sound: use dev_set_drvdata

2009-05-17 Thread Takashi Iwai
At Sun, 17 May 2009 11:29:21 +0200 (CEST), Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Eliminate direct accesses to the driver_data field. cf 82ab13b26f15f49be45f15ccc96bfa0b81dfd015 The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/)

Re: [v0 PATCH 1/4] EDAC: MPIC Hypertransport IRQ support

2009-05-17 Thread Benjamin Herrenschmidt
On Fri, 2009-05-15 at 16:43 +0800, Harry Ciao wrote: Support EDAC INT mode for Hypertransport devices, where southbridge NMI Request messages posted through Hypertransport Channel will be transferred to a MPIC interrupt instance that latches MPIC INT0 pin. Also, Hypertransport Hostbridge

Re: [PATCH] [PowerPC] Support For Initrd Loaded Into Highmem

2009-05-17 Thread Benjamin Herrenschmidt
How Solved: Code was added that checks if initrd is in the highmem and relocates initrd into lowmem if required. I don't think this is needed. Just don't load the ramdisk to highmem in the first place. Well, it does make some sense to avoid the kernel eating itself if passed things

[PATCH] powerpc: Make the NR_CPUS max 8192

2009-05-17 Thread Michael Neuling
We can compile and boot with NR_CPUS=8192, so make this the max. 1024 was an arbitrary decision anyway. Signed-off-by: Michael Neuling mi...@neuling.org -- No, I've not actually booted on a 8192 way machine, although if wishing made it so arch/powerpc/platforms/Kconfig.cputype |4 ++--

Re: [PATCH] powerpc: Make the NR_CPUS max 8192

2009-05-17 Thread Michael Ellerman
On Mon, 2009-05-18 at 11:13 +1000, Michael Neuling wrote: We can compile and boot with NR_CPUS=8192, so make this the max. 1024 was an arbitrary decision anyway. Is 8192 still arbitrary? Or does something break above that? cheers signature.asc Description: This is a digitally signed message

Re: [PATCH] Allow selecting mv643xx_eth on Pegasos again

2009-05-17 Thread Benjamin Herrenschmidt
On Fri, 2009-05-15 at 20:18 +0200, Gabriel Paubert wrote: Since PPC_MUTIPLATFORM was removed, it was impossible to select the driver for mv643xx_eth on the Pegasos. Fix by allowing to select the driver on CHRP platforms; Pegasos is a CHRP platform and the driver will not work wihtout

Re: [PATCH] ppc64: xmon: Add dl command to dump contents of __log_buf

2009-05-17 Thread Benjamin Herrenschmidt
On Fri, 2009-05-15 at 14:43 +0530, Vinay Sridhar wrote: Hello All, Quite a while back Michael Ellerman had posted a patch to add support to xmon to print the contents of the console log pointed to by __log_buf. Here's the link to that patch -

Re: [Linux-fbdev-devel] [PATCH] fbdev: Add PLB support and cleanup DCR in xilinxfb driver.

2009-05-17 Thread Benjamin Herrenschmidt
On Sun, 2009-05-17 at 12:26 +0200, Krzysztof Helt wrote: If so please ignore my comment. Acked-by: Krzysztof Helt krzysztof...@wp.pl Andrew, will you merge this or should I stick it into the powerpc.git tree ? Cheers, Ben. ___ Linuxppc-dev

Re: [PATCH] powerpc: Make the NR_CPUS max 8192

2009-05-17 Thread Michael Neuling
We can compile and boot with NR_CPUS=3D8192, so make this the max. 1024 was an arbitrary decision anyway. Is 8192 still arbitrary? Or does something break above that? Yeah, the compile breaks after that with 4K pages. In drivers/base/node.c we have: /* 2008/04/07: buf currently

Re: [PATCH 1/3] powerpc, Makefile: Make it possible to safely select CONFIG_FRAME_POINTER

2009-05-17 Thread Benjamin Herrenschmidt
On Tue, 2009-05-05 at 19:11 -0400, Steven Rostedt wrote: OK, so what's the status with this patch series? I don't want to pull it in unless I have an ack from Sam, and now there's issues with having -fno-omit-frame-pointer. Should we add a patch instead that simply removes that? If we

Re: [PATCH] mv643xx_eth: fix PPC DMA breakage

2009-05-17 Thread David Miller
From: Lennert Buytenhek buyt...@wantstofly.org Date: Sat, 16 May 2009 01:53:30 +0200 On Fri, May 15, 2009 at 08:39:24PM +0200, Gabriel Paubert wrote: After 2.6.29, PPC no more admits passing NULL to the dev parameter of the DMA API. The result is a BUG followed by solid lock-up when the

Re: [PATCH 5/8] powerpc: use new macro for .data.cacheline_aligned section.

2009-05-17 Thread Benjamin Herrenschmidt
On Thu, 2009-04-30 at 19:56 -0400, Tim Abbott wrote: .data.cacheline_aligned should not need a separate output section; this change moves it into the .data section. Since there isn't an ALIGN() directive before the .data.cacheline_aligned scetion in the current linker script, I'd like an

[PATCH] powerpc: Explicit alignment for .data.cacheline_aligned

2009-05-17 Thread Benjamin Herrenschmidt
I don't think anything guarantees that the objects in data.page_aligned are a multiple of PAGE_SIZE, thus the section may end on any boundary. So the following section, .data.cacheline_aligned needs an explicit alignment. Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org ---

Re: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit

2009-05-17 Thread Benjamin Herrenschmidt
On Thu, 2009-05-14 at 17:42 -0500, Becky Bruce wrote: This patch includes the basic infrastructure to use swiotlb bounce buffering on 32-bit powerpc. It is not yet enabled on any platforms. Probably the most interesting bit is the addition of addr_needs_map to dma_ops - we need this as a

[PATCH] bug fix in arch/powerpc/mm/tlb_nohash_low.S

2009-05-17 Thread Torez Smith
File arch/powerpc/mm/tlb_nohash_low.S defines various processor specific low level TLB invalidation. Most all family of validations are grouped via pre-processor defines with the intent we error out if we reach the end and our platform is not represented. Given this, the last few lines of the

Re: [PATCH] bug fix in arch/powerpc/mm/tlb_nohash_low.S

2009-05-17 Thread Benjamin Herrenschmidt
On Sun, 2009-05-17 at 23:49 -0500, Torez Smith wrote: File arch/powerpc/mm/tlb_nohash_low.S defines various processor specific low level TLB invalidation. Most all family of validations are grouped via pre-processor defines with the intent we error out if we reach the end and our platform

[PATCH] powerpc: Explicit alignment for .data.cacheline_aligned

2009-05-17 Thread Benjamin Herrenschmidt
I don't think anything guarantees that the objects in data.page_aligned are a multiple of PAGE_SIZE, thus the section may end on any boundary. So the following section, .data.cacheline_aligned needs an explicit alignment. Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org --- And

Re: [PATCH] bug fix in arch/powerpc/mm/tlb_nohash_low.S

2009-05-17 Thread Stephen Rothwell
Hi Ben, On Mon, 18 May 2009 15:12:03 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Thanks, but it's been fixed already :-) See commit b62c31ae401c6df25c61b206681a6e904ef97169. Should this be submitted for 2.6.29 stable? -- Cheers, Stephen Rothwell

Re: [PATCH] bug fix in arch/powerpc/mm/tlb_nohash_low.S

2009-05-17 Thread Benjamin Herrenschmidt
On Mon, 2009-05-18 at 15:47 +1000, Stephen Rothwell wrote: Hi Ben, On Mon, 18 May 2009 15:12:03 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Thanks, but it's been fixed already :-) See commit b62c31ae401c6df25c61b206681a6e904ef97169. Should this be submitted for