Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-28 Thread Liu Dave-R63238
>> You are assuming the PCI memory space is prefetchable( no side effect) >> for DMA. >> Is it possible that DMA is from non-prefetchable memory space? > This should be a safe assumption for this driver. Remember, this > driver just does offload memcpy, from one region to another. So the > PCI m

read data from FIFO memories to SDRAM with DMA on MPC8247

2009-04-28 Thread Sauce.Cheng
hi all: now there was one question like this following: there are two chips which are dual-port FIFO memories on my target board. I attempt two read data with the way of DMA from FIFO to SDRAM In my point, i need a driver of DMA and a driver of FIFO but i have no idea at all that what should i do

Re: drivers/video/logo/logo_linux_mono.c build error

2009-04-28 Thread Geert Uytterhoeven
On Tue, 28 Apr 2009, Stephen Rothwell wrote: > On Mon, 27 Apr 2009 14:50:31 -0700 Andrew Morton > wrote: > > powerpc allmodconfig, current mainline: > > > > drivers/video/logo/logo_linux_mono.c:11: error: logo_linux_mono_data causes > > a section type conflict > > > > switching it from __initc

Re: Please revert edada399 and 9203fc9c

2009-04-28 Thread Sam Ravnborg
On Tue, Apr 28, 2009 at 02:56:33PM +1000, Paul Mackerras wrote: > Linus, > > Please revert commits edada399 ("powerpc: Use TEXT_TEXT macro in > linker script.") and 9203fc9c ("powerpc: Use __REF macro instead of > old .text.init.refok."), which depends on edada399. > > Commit edada399 breaks the

Re: [PATCH] net: Fix ucc_geth.c handling of phy 'interface' property.

2009-04-28 Thread David Miller
From: Grant Likely Date: Mon, 27 Apr 2009 11:50:20 -0600 > On Mon, Apr 27, 2009 at 11:36 AM, Scott Wood wrote: >> On Mon, Apr 27, 2009 at 09:36:13AM -0600, Grant Likely wrote: >>> From: Grant Likely >>> >>> Previous rework to ucc_geth.c to add of_mdio support (net: Rework >>> ucc_geth driver to

[PATCH] powerpc/fsl_rio: use LAW address from device tree

2009-04-28 Thread Li Yang
Instead of fixed address in old code. Signed-off-by: Li Yang --- arch/powerpc/sysdev/fsl_rio.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index abdb124..fa0720f 100644 --- a/arch/powerpc/sysdev

[PATCH] powerpc: add memory map support to Freescale RapioIO block

2009-04-28 Thread Li Yang
The RIO memory map functions are used to support direct IO memory access to RapidIO space. The patch adds its support for Freescale RapidIO block driver. Signed-off-by: Zhang Wei Signed-off-by: Li Yang --- arch/powerpc/sysdev/fsl_rio.c | 217 - 1 files

Re: [PATCH] rio: warn_unused_result warnings fix

2009-04-28 Thread Michael Ellerman
On Tue, 2009-04-28 at 18:15 +0800, Li Yang wrote: > warning: ignoring return value of 'device_add', declared with attribute > warn_unused_result > warning: ignoring return value of 'sysfs_create_bin_file', declared with > attribute warn_unused_result > > Signed-off-by: Li Yang > --- > drivers/

Re: [PATCH] rio: warn_unused_result warnings fix

2009-04-28 Thread Li Yang
On Tue, Apr 28, 2009 at 6:51 PM, Michael Ellerman wrote: > On Tue, 2009-04-28 at 18:15 +0800, Li Yang wrote: >> warning: ignoring return value of 'device_add', declared with attribute >> warn_unused_result >> warning: ignoring return value of 'sysfs_create_bin_file', declared with >> attribute w

Re: "leds: Add openfirmware platform device support" breaks sparc

2009-04-28 Thread David Miller
From: Grant Likely Date: Mon, 27 Apr 2009 21:59:39 -0600 > of: make of_(un)register_platform_driver common code. > > Some drivers using of_register_platform_driver() wrapper break on sparc > because the wrapper isn't in the header file. This patch moves it from > Microblaze and

[PATCH] rapidio: add common mapping APIs for RapidIO memory access

2009-04-28 Thread Li Yang
Add the mapping functions used to support direct IO memory access of rapidIO. Signed-off-by: Zhang Wei Signed-off-by: Li Yang --- drivers/rapidio/rio.c | 95 +++ include/linux/rio.h | 25 include/linux/rio_drv.h | 24 +

Re: [PATCH 2/2] powerpc/86xx: Add new LAW & MCM device tree nodes for all 86xx systems

2009-04-28 Thread Martyn Welch
Kumar Gala wrote: Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/gef_ppc9a.dts| 13 + arch/powerpc/boot/dts/gef_sbc310.dts | 13 + arch/powerpc/boot/dts/gef_sbc610.dts | 13 + arch/powerpc/boot/dts/mpc8610_hpcd.dts | 13 ++

Re: [PATCH] rio: warn_unused_result warnings fix

2009-04-28 Thread David Miller
From: Li Yang Date: Tue, 28 Apr 2009 19:08:13 +0800 > IMHO, when device_add() fails the system is quite broken. So the > value is very limited for it to fail cleanly, which need some effort > to implement. I can add it if you insist. I disagree. For the cases where device_add() fails (duplica

Re: [PATCH] rapidio: add common mapping APIs for RapidIO memory access

2009-04-28 Thread David Miller
Please number your patches. :-/ There is no way for anyone to be able to tell in what order your changes should be applied. Since you're going to wait for feedback anyways, you can fix this up when you make your next submission of these changes. ___ Li

[PATCH] rio: warn_unused_result warnings fix

2009-04-28 Thread Li Yang
warning: ignoring return value of 'device_add', declared with attribute warn_unused_result warning: ignoring return value of 'sysfs_create_bin_file', declared with attribute warn_unused_result Signed-off-by: Li Yang --- drivers/rapidio/rio-scan.c |5 - drivers/rapidio/rio-sysfs.c |

Re: [PATCH 2/2] powerpc/85xx: Add new LAW & MCM device tree nodes for all85xx systems

2009-04-28 Thread Kumar Gala
On Apr 28, 2009, at 1:41 AM, Liu Dave-R63238 wrote: Subject: [PATCH 2/2] powerpc/85xx: Add new LAW & MCM device tree nodes for all85xx systems One nit/typo, the tittle of the two patches should be "ECM" oops, thanks for catching that ;) - k ___ L

Re: [PATCH 0/5] rapidio: adding memory mapping IO support and misc fixes

2009-04-28 Thread Kumar Gala
On Apr 28, 2009, at 5:16 AM, Li Yang wrote: The patch series add MMIO support to Linux rapidio and fix a few nits. The patches cross rapidio, netdev, powerpc sub-systems. It will be good for them to go through one tree. Probably Andrew? As the previous rapidio patches are mostly merged by yo

[PATCH] rionet: add memory access to simulated Ethernet over rapidio

2009-04-28 Thread Li Yang
Through the newly added IO memory access of Rapidio, sender can write directly to recipient's rx buffer, either by cpu or DMA engine. Signed-off-by: Zhang Wei Signed-off-by: Li Yang --- drivers/net/Kconfig | 10 ++ drivers/net/rionet.c | 365 +

Re: [PATCH v2] fs_enet: Remove dead code

2009-04-28 Thread David Miller
From: Kumar Gala Date: Wed, 22 Apr 2009 16:35:48 -0500 > CONFIG_DUET doesn't exist anymore, remove all the code that exists to > support it. > > Signed-off-by: Kumar Gala I took the liberty of simplifying fs_init() even further when applying this. It had become: int r = foo();

Re: [PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-28 Thread Kumar Gala
On Apr 28, 2009, at 12:03 AM, Michael Neuling wrote: From: Milton Miller This adds the PowerPC 2.06 tlbie mnemonics and keeps backwards compatibilty for CPUs before 2.06. Only useful for bare metal systems. Signed-off-by: Milton Miller Signed-off-by: Michael Neuling --- arch/powerpc/incl

[PATCH 1/6] powerpc: Move #ifdef'ed body of do_IRQ() into a separate function

2009-04-28 Thread Michael Ellerman
Rather than a giant ifdef in the body of do_IRQ(), including a dangling else, move the irq stack logic into a separate routine and do the ifdef there. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/irq.c | 96 ++--- 1 files changed, 56 insertion

Re: [PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-28 Thread Michael Neuling
Kumar, > > From: Milton Miller > > > > This adds the PowerPC 2.06 tlbie mnemonics and keeps backwards > > compatibilty for CPUs before 2.06. > > > > Only useful for bare metal systems. > > > > Signed-off-by: Milton Miller > > Signed-off-by: Michael Neuling > > --- > > > > arch/powerpc/include/a

[PATCH 0/2] powerpc: tlbie implementation for PowerPC ISA 2.06

2009-04-28 Thread Michael Neuling
These patches implement the PowerPC ISA 2.06 tlbie mnemonics Signed-off-by: Michael Neuling --- This version attempts to address issues raised by Kumar. - Add missing mmu.h - Follow the bouncing ball in ppc-opcode.h for #define PPC_TLBIE ___ Linuxppc-

[PATCH 1/2] powerpc: Enable MMU feature sections for inline asm

2009-04-28 Thread Michael Neuling
From: Milton Miller powerpc: Enable MMU feature sections for inline asm This adds the ability to do MMU feature sections for inline asm. Signed-off-by: Milton Miller Signed-off-by: Michael Neuling --- arch/powerpc/include/asm/feature-fixups.h | 25 - 1 file changed

[PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-28 Thread Michael Neuling
From: Milton Miller This adds the PowerPC 2.06 tlbie mnemonics and keeps backwards compatibilty for CPUs before 2.06. Only useful for bare metal systems. Signed-off-by: Milton Miller Signed-off-by: Michael Neuling --- arch/powerpc/include/asm/mmu.h|5 + arch/powerpc/includ

[PATCH 0/5] rapidio: adding memory mapping IO support and misc fixes

2009-04-28 Thread Li Yang
The patch series add MMIO support to Linux rapidio and fix a few nits. The patches cross rapidio, netdev, powerpc sub-systems. It will be good for them to go through one tree. Probably Andrew? As the previous rapidio patches are mostly merged by you. - Leo _

[PATCH 1/2] powerpc: updating the linkstation_defconfig

2009-04-28 Thread Rogério Brito
Simple update of the linkstation_defconfig file for the 2.6.30-rc3 tree. Signed-off-by: Rogério Brito --- As asked, Kumar, here is a vanilla update. --- a/arch/powerpc/configs/linkstation_defconfig2009-04-26 11:55:06.0 -0300 +++ b/arch/powerpc/configs/linkstation_defconfig

Re: [ewg] Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

2009-04-28 Thread Alexander Schmidt
Hi Roland, did you have a chance to take a look at the patchset and will you apply it, or are there any outstanding issues we need to address? Regards, Alex On Wed, 22 Apr 2009 16:02:28 +0200 Stefan Roscher wrote: > In case of large queue pairs there is the possibillity of allocation failures

[PATCH] powerpc: Fix up elf_read_implies_exec() usage

2009-04-28 Thread Kumar Gala
On ppc64 we implemented elf_read_implies_exec() for 32-bit binaries because old toolchains had bugs with regards to marking PHDRs as executable that needed to be. For some reason we didn't do this on ppc32 builds. This hadn't been an issue until recent changes to I$/D$ handling that impacted the

Re: [PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-28 Thread Kumar Gala
On Apr 28, 2009, at 7:45 AM, Michael Neuling wrote: Index: linux-2.6-ozlabs/arch/powerpc/include/asm/mmu.h === --- linux-2.6-ozlabs.orig/arch/powerpc/include/asm/mmu.h +++ linux-2.6-ozlabs/arch/powerpc/include/asm/mmu.h @@ -58,6 +5

Re: [PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Kumar Gala
On Apr 27, 2009, at 9:27 PM, Rogério Brito wrote: Hi, Kumar. On Apr 27 2009, Kumar Gala wrote: On Apr 24, 2009, at 5:33 PM, Rogério Brito wrote: 04. disable CONFIG_BLK_DEV_RAM. do we not allow booting a ramdisk? Well, do we need a block device in ram to use initramfs? (...) I'm prett

Re: [PATCH] powerpc: Fix up elf_read_implies_exec() usage

2009-04-28 Thread Kumar Gala
On Apr 28, 2009, at 8:08 AM, Kumar Gala wrote: On ppc64 we implemented elf_read_implies_exec() for 32-bit binaries because old toolchains had bugs with regards to marking PHDRs as executable that needed to be. For some reason we didn't do this on ppc32 builds. This hadn't been an issue until

[PATCH v2] powerpc: Fix up elf_read_implies_exec() usage

2009-04-28 Thread Kumar Gala
We believe if a toolchain supports PT_GNU_STACK that it sets the proper PHDR permissions. Therefor elf_read_implies_exec() should only be true if we don't see PT_GNU_STACK set. Signed-off-by: Kumar Gala --- * Rebased patch on paulus/merge tree which picked up an older patch to fixed elf_read_i

[PATCH 2/2] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Rogério Brito
This patch addresses the following issues: 01. makes CFQ the default scheduler, to be in line with the rest of the kernel. 02. since linkstations are meant to store files, enable large blk devices. 03. disable CONFIG_MIGRATION in in such low memory devices. 04. disable CONFIG_BLK_DEV_RAM.

Re: [PATCH] net: Fix ucc_geth.c handling of phy 'interface' property.

2009-04-28 Thread Grant Likely
On Tue, Apr 28, 2009 at 3:12 AM, David Miller wrote: > From: Grant Likely > Date: Mon, 27 Apr 2009 11:50:20 -0600 > >> On Mon, Apr 27, 2009 at 11:36 AM, Scott Wood wrote: >>> On Mon, Apr 27, 2009 at 09:36:13AM -0600, Grant Likely wrote: From: Grant Likely Previous rework to ucc_g

Re: [PATCH] fsldma: use PCI Read Multiple command

2009-04-28 Thread Timur Tabi
David Hawkins wrote: >> How about FIFO RAM case? > > If the FIFO has a fixed address, then according to > the user guide, the DMA controller won't generate > a burst transaction to it. > > We can try confirming this if you'd like. Like I said earlier, this driver does not support copying data to

Re: removing get_immrbase()??

2009-04-28 Thread Timur Tabi
David Gibson wrote: > On Wed, Apr 22, 2009 at 11:41:31PM -0500, Kumar Gala wrote: >> Lets say I had an error driver for our MCM (core to soc coherency >> module). It was getting the base address by using get_immrbase(). >> Today I proposed a proper device node for the MCM block as it doesn't

[PATCH] of: make of_(un)register_platform_driver common code.

2009-04-28 Thread Grant Likely
From: Grant Likely Some drivers using of_register_platform_driver() wrapper break on sparc because the wrapper isn't in the header file. This patch moves it from Microblaze and PowerPC implementations and makes it common code. Signed-off-by: Grant Likely Acked-by: David S. Miller --- arch/m

Re: [ewg] Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

2009-04-28 Thread Alexander Schmidt
On Tue, 28 Apr 2009 07:01:32 -0700 Roland Dreier wrote: > > did you have a chance to take a look at the patchset and will you apply > it, or > > are there any outstanding issues we need to address? > > I guess it's OK, but definitely 2.6.31 material. I guess I'll stick it > linux-next soon.

Re: [ewg] Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

2009-04-28 Thread Roland Dreier
> did you have a chance to take a look at the patchset and will you apply it, > or > are there any outstanding issues we need to address? I guess it's OK, but definitely 2.6.31 material. I guess I'll stick it linux-next soon. - R. ___ Linuxppc-dev

[PATCH] gianfar: Use memset instead of cacheable_memzero

2009-04-28 Thread Kumar Gala
cacheable_memzero() is completely overkill for the clearing out the FCB block which is only 8-bytes. The compiler should easily optimize this with memset. Additionally, cacheable_memzero() only exists on ppc32 and thus breaks builds of gianfar on ppc64. Signed-off-by: Kumar Gala --- drivers/ne

Re: [PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Rogério Brito
On Apr 28 2009, Kumar Gala wrote: > I'm pretty sure we need this for old initrd style ramdisks so I'd prefer > we leave it enabled. Oh, for oldstyle it is needed. You're right. It is better to keep it in the defconfig. Just drop the hunk from the patch that I sent you. >> Thanks. The MTD & PHYMA

Re: [PATCH] gianfar: Use memset instead of cacheable_memzero

2009-04-28 Thread David Miller
From: Kumar Gala Date: Tue, 28 Apr 2009 09:14:01 -0500 > cacheable_memzero() is completely overkill for the clearing out the FCB > block which is only 8-bytes. The compiler should easily optimize this > with memset. Additionally, cacheable_memzero() only exists on ppc32 and > thus breaks builds

Re: [PATCH 11/14] powerpc: Use macros for .data.page_aligned section.

2009-04-28 Thread Stephen Rothwell
Hi Tim, Firstly, patches for a particular architecture should really be cc'd to the list associated with that architecture. In this case, linuxppc-dev@ozlabs.org (cc'd). On Mon, 27 Apr 2009 16:33:05 -0400 Tim Abbott wrote: > > +++ b/arch/powerpc/kernel/vmlinux.lds.S > @@ -222,6 +222,7 @@ SECTIO

Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

2009-04-28 Thread Dave Hansen
On Tue, 2009-04-21 at 17:16 +0200, Stefan Roscher wrote: > From: Anton Blanchard > > To improve performance of driver ressource allocation, > replace the vmalloc() call with kmalloc(). Just curious, but how big are these allocations? Why was vmalloc() even ever used if we know they'll be small?

Re: [PATCH 11/14] powerpc: Use macros for .data.page_aligned section.

2009-04-28 Thread Stephen Rothwell
On Wed, 29 Apr 2009 01:07:53 +1000 Stephen Rothwell wrote: > > This moves the page_aligned section from a common part of the > vmlinux.lds to a 32 bit only part. Was that intentional? Just saw your later patches, so ignore this. -- Cheers, Stephen Rothwells...@canb.auug.or

Re: [PATCH 11/14] powerpc: Use macros for .data.page_aligned section.

2009-04-28 Thread Tim Abbott
On Wed, 29 Apr 2009, Stephen Rothwell wrote: > This moves the page_aligned section from a common part of the > vmlinux.lds to a 32 bit only part. Was that intentional? No. See my reply to this patch from last night and the revised pair of patches in reply t

Re: Please revert edada399 and 9203fc9c

2009-04-28 Thread Tim Abbott
> Please revert commits edada399 ("powerpc: Use TEXT_TEXT macro in > linker script.") and 9203fc9c ("powerpc: Use __REF macro instead of > old .text.init.refok."), which depends on edada399. Paul, Sorry for breaking the build. I will be sure to CC you and linuxppc-dev@ozlabs.org on future power

[PATCH] powerpc/virtex: Add uImage to the default images list

2009-04-28 Thread Grant Likely
From: Grant Likely It is common to use U-Boot on Xilinx Virtex platforms. This patch ensures that CONFIG_DEFAULT_UIMAGE is selected for virtex Signed-off-by: Grant Likely --- arch/powerpc/platforms/40x/Kconfig |1 + arch/powerpc/platforms/44x/Kconfig |1 + 2 files changed, 2 insertio

Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

2009-04-28 Thread Stefan Roscher
On Tuesday 28 April 2009 05:12:51 pm Dave Hansen wrote: > On Tue, 2009-04-21 at 17:16 +0200, Stefan Roscher wrote: > > From: Anton Blanchard > > > > To improve performance of driver ressource allocation, > > replace the vmalloc() call with kmalloc(). > > Just curious, but how big are these alloc

Re: [PATCH] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Kumar Gala
On Apr 28, 2009, at 9:48 AM, Rogério Brito wrote: On Apr 28 2009, Kumar Gala wrote: I'm pretty sure we need this for old initrd style ramdisks so I'd prefer we leave it enabled. Oh, for oldstyle it is needed. You're right. It is better to keep it in the defconfig. Just drop the hunk fro

Re: [PATCH] 83xx: add support for the kmeter1 board.

2009-04-28 Thread Scott Wood
On Tue, Apr 28, 2009 at 06:42:43AM +0200, Heiko Schocher wrote: > Scott Wood wrote: > > On Mon, Apr 27, 2009 at 07:38:38AM +0200, Heiko Schocher wrote: > >> 1) add in the soc node an "errata" node and in this "errata" node > >>we can add all CPU specific errata as an example the qe_enet10 > >>

[PATCH 2/2] powerpc: minimizing the configuration of linkstation_defconfig

2009-04-28 Thread Rogério Brito
This patch addresses the following issues: 01. makes CFQ the default scheduler, to be in line with the rest of the kernel. 02. since linkstations are meant to store files, enable large blk devices. 03. disable CONFIG_MIGRATION in in such low memory devices. 04. disable CONFIG_SCSI_LOWLEVEL

Re: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc

2009-04-28 Thread Roland Dreier
thanks, applied. > From: Anton Blanchard > Signed-off-by: Stefan Roscher please use '@' signs so these are real email addresses. - R. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 3/3] IB/ehca: Increment version number

2009-04-28 Thread Roland Dreier
thanks, applied 2 & 3. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH] powerpc: Update MPC5xxx and Xilinx Virtex maintainer entries

2009-04-28 Thread Grant Likely
From: Grant Likely - Add git tree URLs - Drop Sylvain from the 5xxx maintainers list. He hasn't been active for a while now. Signed-off-by: Grant Likely --- MAINTAINERS |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index ef03abe..4a8

[PATCH v2 10/15] powerpc: Remove unused __page_aligned macro.

2009-04-28 Thread Tim Abbott
Signed-off-by: Tim Abbott Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@ozlabs.org --- arch/powerpc/include/asm/page_64.h |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/include/asm/page_64.h b/arch/powerpc/include/asm/page_64.h ind

[PATCH v2 12/15] powerpc: Use macros for .data.page_aligned section.

2009-04-28 Thread Tim Abbott
.data.page_aligned should not need a separate output section, so as part of this cleanup I moved into the .data output section in the linker scripts in order to eliminate unnecessary references to the section name. Note that this change moves the page-aligned data inside _edata. Since it _is_ data

[PATCH v2 11/15] powerpc: share .data output section definition between 32 and 64 bits.

2009-04-28 Thread Tim Abbott
Since upcoming changes will add several more common pieces of code between the 32-bit and 64-bit powerpc architectures, it seems best to unify these two blocks. Signed-off-by: Tim Abbott Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@ozlabs.org --- arch/powerpc/kernel/vmlinux.l

Re: How to use Localbus on 5200B w/ 2.6.29.1

2009-04-28 Thread Albrecht Dreß
Hi Grant: Am 27.04.09 19:36 schrieb(en) Grant Likely: For completeness use: compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus"; Then it will work. I doesn't. I had to add "fsl,lpb", without no localbus nodes show up. The file arch/powerpc/platforms/52xx/mpc52xx_common.c lists

Re: [PATCH] of: make of_(un)register_platform_driver common code.

2009-04-28 Thread Andrew Morton
On Tue, 28 Apr 2009 07:58:26 -0600 Grant Likely wrote: > Some drivers using of_register_platform_driver() wrapper break on sparc > because the wrapper isn't in the header file. This patch moves it from > Microblaze and PowerPC implementations and makes it common code. Thanks. I'll plan to merg

Re: How to use Localbus on 5200B w/ 2.6.29.1

2009-04-28 Thread Grant Likely
On Tue, Apr 28, 2009 at 11:55 AM, Albrecht Dreß wrote: > Hi Grant: > > Am 27.04.09 19:36 schrieb(en) Grant Likely: >> >> For completeness use: compatible = >> "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus";  Then it will work. > > I doesn't.  I had to add "fsl,lpb", without no localbus nodes sh

Re: Please revert edada399 and 9203fc9c

2009-04-28 Thread Benjamin Herrenschmidt
On Tue, 2009-04-28 at 10:35 +0200, Sam Ravnborg wrote: > This is partly my fault :-( > I acked them as I did not see the issue with conditional branches. > Could I ask you to add a comment to the lds file about this. I'm back :-) Not a huge deal per-se, it's just that the patches were merged in

Re: [PATCH v2 12/15] powerpc: Use macros for .data.page_aligned section.

2009-04-28 Thread Paul Mackerras
Tim Abbott writes: > diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c > index ad06d5c..841910a 100644 > --- a/arch/powerpc/kernel/vdso.c > +++ b/arch/powerpc/kernel/vdso.c > @@ -74,7 +74,7 @@ static int vdso_ready; > static union { > struct vdso_datadata; >

Re: [PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-28 Thread Michael Neuling
> > Index: linux-2.6-ozlabs/arch/powerpc/include/asm/mmu.h > > === > > --- linux-2.6-ozlabs.orig/arch/powerpc/include/asm/mmu.h > > +++ linux-2.6-ozlabs/arch/powerpc/include/asm/mmu.h > > @@ -58,6 +58,11 @@ > > */ > > #define MMU_FTR_

Re: Please revert edada399 and 9203fc9c

2009-04-28 Thread Linus Torvalds
On Tue, 28 Apr 2009, Paul Mackerras wrote: > > And they are clearly not fixes for regressions or serious bugs, so why > are these patches going in after -rc3 anyway? Yeah, my bad. They looked so obviously trivial, but obviously weren't. I'm not taking any more of them. Linus _

[PATCH 0/2] powerpc: tlbie implementation for PowerPC ISA 2.06

2009-04-28 Thread Michael Neuling
These patches implement the PowerPC ISA 2.06 tlbie mnemonics Signed-off-by: Michael Neuling --- Moves MMU_FTR_TLBIE_206 down one bit as the item before has now been removed. Thanks to Kumar for noticing. ___ Linuxppc-dev mailing list Linuxppc-dev@ozl

[PATCH 1/2] powerpc: Enable MMU feature sections for inline asm

2009-04-28 Thread Michael Neuling
From: Milton Miller powerpc: Enable MMU feature sections for inline asm This adds the ability to do MMU feature sections for inline asm. Signed-off-by: Milton Miller Signed-off-by: Michael Neuling --- arch/powerpc/include/asm/feature-fixups.h | 25 - 1 file changed

[PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics

2009-04-28 Thread Michael Neuling
From: Milton Miller This adds the PowerPC 2.06 tlbie mnemonics and keeps backwards compatibilty for CPUs before 2.06. Only useful for bare metal systems. Signed-off-by: Milton Miller Signed-off-by: Michael Neuling --- arch/powerpc/include/asm/mmu.h|5 + arch/powerpc/includ

Re: [PATCH] [MTD] ofpart: Partitions at same address cannot have the same name v3

2009-04-28 Thread Segher Boessenkool
Sometimes, an special partition is included in the device tree including all the partitions. Like in: partit...@ff00 { reg = < 0x00 0x80 >; label = "Root File System"; }; partit...@ff80 { reg = < 0x80 0x1a >; label = "Bitstream"; }; ... f...@f

Re: [PATCH 1/2] powerpc: Enable MMU feature sections for inline asm

2009-04-28 Thread Michael Ellerman
On Wed, 2009-04-29 at 10:26 +1000, Michael Neuling wrote: > From: Milton Miller > > powerpc: Enable MMU feature sections for inline asm > > This adds the ability to do MMU feature sections for inline asm. > > Signed-off-by: Milton Miller > Signed-off-by: Michael Neuling > --- > > arch/power

Please pull merge branch

2009-04-28 Thread Grant Likely
Hi Paul/Ben, Here is a bug fix, a minor tweak and a tidy to merge for 2.6.30. Please pull 'merge' branch of git://git.secretlab.ca/git/linux-2.6 Thanks, g. The following changes since commit 56a50adda49b2020156616c4eb15353e0f9ad7de: Linus Torvalds (1): Merge branch 'drm-intel-next' of

Re: [PATCH 5/5] proc: export more page flags in /proc/kpageflags

2009-04-28 Thread Nathan Lynch
Wu Fengguang writes: > On Wed, Apr 29, 2009 at 05:32:44AM +0800, Andrew Morton wrote: >> On Tue, 28 Apr 2009 09:09:12 +0800 >> Wu Fengguang wrote: >> >> > +/* >> > + * Kernel flags are exported faithfully to Linus and his fellow hackers. >> > + * Otherwise some details are masked to avoid confu

Re: [PATCH 5/5] proc: export more page flags in /proc/kpageflags

2009-04-28 Thread Andrew Morton
On Tue, 28 Apr 2009 23:41:52 -0500 Nathan Lynch wrote: > > CONFIG_DEBUG_KERNEL being enabled in distro kernels effectively means > > > > #ifdef CONFIG_DEBUG_KERNEL == #if 1 > > > > as the following patch demos. Now it becomes obviously silly. > > Sure, #if 1 is usually silly. But if th

Re: drivers/video/logo/logo_linux_mono.c build error

2009-04-28 Thread Tony Breeds
On Mon, Apr 27, 2009 at 02:50:31PM -0700, Andrew Morton wrote: > > powerpc allmodconfig, current mainline: > > drivers/video/logo/logo_linux_mono.c:11: error: logo_linux_mono_data causes a > section type conflict > > switching it from __initconst to __initdata "fixes" it. > > I'm (illegally) u

[PATCH v2] 83xx: add support for the kmeter1 board.

2009-04-28 Thread Heiko Schocher
The following series implements basic board support for the kmeter1 board from keymile, based on a MPC8360. This series provides the following functionality: - The board can boot with a serial console on UART1 - Ethernet: UCC1 in RGMII mode UCC2 in RGMII mode UCC4 in RMII mode UCC