Re: writel hangs system

2009-02-12 Thread Tobias Knutsson
There seems to be some magic force linked to this mailing list. Whenever I post a question, the matter seems to resolve itself. :) In order to stay as consistent as possible with the old 2.4 kernel, I used the same mapping that they had: 0x5000 - 0x60 for memory 0x6000 - 0x610

Re: [PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-12 Thread Benjamin Herrenschmidt
On Fri, 2009-02-13 at 13:49 +1100, Benjamin Herrenschmidt wrote: > > diff --git a/arch/powerpc/include/asm/pgtable-ppc32.h > > b/arch/powerpc/include/asm/pgtable-ppc32.h > > index 75dded6..8298afc 100644 > > --- a/arch/powerpc/include/asm/pgtable-ppc32.h > > +++ b/arch/powerpc/include/asm/pgtable

Re: [PATCH] powerpc: Add support for using doorbells for SMP IPI

2009-02-12 Thread Benjamin Herrenschmidt
> crit doorbell for xmon IPI sounds interesting. However, I don't > following about use of external CRITs for IPIs. Just a finger not following the brain :-) I meant for NMI's Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org http

Re: [PATCH 3/7][RFC] powerpc64, tracing: add function graph tracer with dynamic tracing

2009-02-12 Thread Steven Rostedt
On Fri, 13 Feb 2009, Benjamin Herrenschmidt wrote: > > > @@ -55,8 +56,9 @@ static unsigned char *ftrace_call_replace(unsigned > > long ip, unsigned long addr) > > */ > > addr = GET_ADDR(addr); > > > > - /* Set to "bl addr" */ > > - op = 0x4801 | (ftrace_calc_offset(ip, addr) &

Re: [PATCH] powerpc: Add support for using doorbells for SMP IPI

2009-02-12 Thread Kumar Gala
On Feb 12, 2009, at 8:46 PM, Benjamin Herrenschmidt wrote: On Thu, 2009-02-12 at 17:54 -0600, Kumar Gala wrote: The e500mc supports the new msgsnd/doorbell mechanisms that were added in the Power ISA 2.05 architecture. We use the normal level doorbell for doing SMP IPIs at this point.

[PATCH] powerpc: fix VSX alignment handler for regs 32-63

2009-02-12 Thread Michael Neuling
Fix the VSX alignment handler for VSX registers > 32. 32-63 are stored in the VMX part of the thread_struct not the FPR part. Signed-off-by: Michael Neuling --- arch/powerpc/kernel/align.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: linux-2.6-ozlabs/arch/powerpc/kerne

Re: [PATCH 3/7][RFC] powerpc64, tracing: add function graph tracer with dynamic tracing

2009-02-12 Thread Steven Rostedt
On Fri, 13 Feb 2009, Benjamin Herrenschmidt wrote: > > > @@ -55,8 +56,9 @@ static unsigned char *ftrace_call_replace(unsigned > > long ip, unsigned long addr) > > */ > > addr = GET_ADDR(addr); > > > > - /* Set to "bl addr" */ > > - op = 0x4801 | (ftrace_calc_offset(ip, addr) &

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Benjamin Herrenschmidt
For some reason I didn't get 7/7 ... Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/7][RFC] powerpc64: port of the function graph tracer

2009-02-12 Thread Steven Rostedt
On Fri, 13 Feb 2009, Benjamin Herrenschmidt wrote: > > On Wed, 2009-02-11 at 20:10 -0500, Steven Rostedt wrote: > > > > +# timers used by tracing > > +CFLAGS_REMOVE_time.o = -pg -mno-sched-epilog > > endif > > That means no tracing of the timer interrupts etc... maybe we should > just move the

Re: [PATCH 3/7][RFC] powerpc64, tracing: add function graph tracer with dynamic tracing

2009-02-12 Thread Benjamin Herrenschmidt
> @@ -55,8 +56,9 @@ static unsigned char *ftrace_call_replace(unsigned > long ip, unsigned long addr) >*/ > addr = GET_ADDR(addr); > > - /* Set to "bl addr" */ > - op = 0x4801 | (ftrace_calc_offset(ip, addr) & 0x03fc); > + /* if (link) set op to 'bl' else 'b' */

Re: [PATCH 2/7][RFC] powerpc64: port of the function graph tracer

2009-02-12 Thread Benjamin Herrenschmidt
> On Wed, 2009-02-11 at 20:10 -0500, Steven Rostedt wrote: > > +# timers used by tracing > +CFLAGS_REMOVE_time.o = -pg -mno-sched-epilog > endif That means no tracing of the timer interrupts etc... maybe we should just move the specific function that we don't want traced out to a separate file ?

Re: [PATCH 002/002] de2104x: support for systems lacking cache coherence

2009-02-12 Thread Benjamin Herrenschmidt
On Thu, 2009-02-12 at 13:22 +0200, Risto Suominen wrote: > Here is a patch that helped me to get my de2104x NIC working on my > PowerMac 5500. As an interesting side effect, it also made my mesh > module crash. Can you tell me more about the mesh crash ? Do you have a log ? Ben. ___

Re: [PATCH 002/002] de2104x: support for systems lacking cache coherence

2009-02-12 Thread Benjamin Herrenschmidt
On Thu, 2009-02-12 at 13:22 +0200, Risto Suominen wrote: > Here is a patch that helped me to get my de2104x NIC working on my > PowerMac 5500. As an interesting side effect, it also made my mesh > module crash. > > Background can be found here: > http://www.spinics.net/lists/netdev/msg88488.html

Re: [PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-12 Thread Benjamin Herrenschmidt
On Thu, 2009-02-12 at 23:18 +0100, Philippe Gerum wrote: > Fix _PAGE_CHG_MASK so that pte_modify() does not affect the _PAGE_SPECIAL bit. > > Signed-off-by: Philippe Gerum Good catch ! Thanks ! Ben. > -- > > arch/powerpc/include/asm/pgtable-4k.h|2 +- > arch/powerpc/include/asm/pgtab

Re: [PATCH] powerpc: Add support for using doorbells for SMP IPI

2009-02-12 Thread Benjamin Herrenschmidt
On Thu, 2009-02-12 at 17:54 -0600, Kumar Gala wrote: > The e500mc supports the new msgsnd/doorbell mechanisms that were added in > the Power ISA 2.05 architecture. We use the normal level doorbell for > doing SMP IPIs at this point. > Cool stuff. Haven't reviewed in details yet tho :-) But I was

RE: [PATCH] powerpc/83xx: Revive Marvell PHY option onMPC8313E-RDB rev. C boards

2009-02-12 Thread Li Yang-R58472
> -Original Message- > From: Anton Vorontsov [mailto:avoront...@ru.mvista.com] > Sent: Friday, February 13, 2009 9:18 AM > To: Kumar Gala > Cc: linuxppc-dev list; Li Yang-R58472 > Subject: Re: [PATCH] powerpc/83xx: Revive Marvell PHY option > onMPC8313E-RDB rev. C boards > > On Thu, Feb

Re: [PATCH] powerpc/83xx: Revive Marvell PHY option on MPC8313E-RDB rev. C boards

2009-02-12 Thread Anton Vorontsov
On Thu, Feb 12, 2009 at 05:51:57PM -0600, Kumar Gala wrote: > On Feb 11, 2009, at 11:40 PM, Li Yang-R58472 wrote: Li, thanks for heads-up! One thing though: documentation says that Marvell PHY >>> address is 0x3, while old device tree and this patch: >>> http://www.bit

[PATCH] powerpc: Add support for using doorbells for SMP IPI

2009-02-12 Thread Kumar Gala
The e500mc supports the new msgsnd/doorbell mechanisms that were added in the Power ISA 2.05 architecture. We use the normal level doorbell for doing SMP IPIs at this point. Signed-off-by: Kumar Gala --- arch/powerpc/include/asm/cputable.h |4 ++- arch/powerpc/include/asm/dbell.h | 4

Re: [PATCH] powerpc/83xx: Revive Marvell PHY option on MPC8313E-RDB rev. C boards

2009-02-12 Thread Kumar Gala
On Feb 11, 2009, at 11:40 PM, Li Yang-R58472 wrote: -Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Thursday, February 12, 2009 1:25 PM To: Li Yang-R58472 Cc: linuxppc-dev list; Anton Vorontsov Subject: Re: [PATCH] powerpc/83xx: Revive Marvell PHY option on

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Steven Rostedt
On Thu, 12 Feb 2009, Geoff Levand wrote: > On 02/12/2009 03:41 PM, Steven Rostedt wrote: > > On Thu, 12 Feb 2009, Geoff Levand wrote: > > > >> On 02/11/2009 05:10 PM, Steven Rostedt wrote: > >> > This is the port to PowerPC of the function graph tracer that was written > >> > by Frederic Weisbec

[PATCH] powerpc: Fix _PAGE_CHG_MASK

2009-02-12 Thread Philippe Gerum
Fix _PAGE_CHG_MASK so that pte_modify() does not affect the _PAGE_SPECIAL bit. Signed-off-by: Philippe Gerum -- arch/powerpc/include/asm/pgtable-4k.h|2 +- arch/powerpc/include/asm/pgtable-64k.h |2 +- arch/powerpc/include/asm/pgtable-ppc32.h |4 ++-- 3 files changed, 4 inse

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Geoff Levand
On 02/12/2009 03:41 PM, Steven Rostedt wrote: > On Thu, 12 Feb 2009, Geoff Levand wrote: > >> On 02/11/2009 05:10 PM, Steven Rostedt wrote: >> > This is the port to PowerPC of the function graph tracer that was written >> > by Frederic Weisbecker for the x86 architecture. It is broken up >> > int

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Josh Boyer
On Thu, Feb 12, 2009 at 06:41:26PM -0500, Steven Rostedt wrote: > >On Thu, 12 Feb 2009, Geoff Levand wrote: > >> On 02/11/2009 05:10 PM, Steven Rostedt wrote: >> > This is the port to PowerPC of the function graph tracer that was written >> > by Frederic Weisbecker for the x86 architecture. It is

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Steven Rostedt
On Thu, 12 Feb 2009, Geoff Levand wrote: > On 02/11/2009 05:10 PM, Steven Rostedt wrote: > > This is the port to PowerPC of the function graph tracer that was written > > by Frederic Weisbecker for the x86 architecture. It is broken up > > into a series of logical steps. > > I added these to my

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Josh Boyer
On Thu, Feb 12, 2009 at 03:58:15PM -0600, Kumar Gala wrote: > > On Feb 12, 2009, at 2:34 PM, Josh Boyer wrote: > >> On Thu, Feb 12, 2009 at 01:21:24PM -0600, Kumar Gala wrote: >>> >>> On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: >>> The Power ISA 2.06 added power of two page sizes to the emb

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Geoff Levand
On 02/11/2009 05:10 PM, Steven Rostedt wrote: > This is the port to PowerPC of the function graph tracer that was written > by Frederic Weisbecker for the x86 architecture. It is broken up > into a series of logical steps. I added these to my ps3-linux.git tree. Very casual testing shows they se

[PATCH] powerpc: rework dma-noncoherent to use generic vmalloc layer (3rd rev)

2009-02-12 Thread Ilya Yanok
This patch rewrites consistent dma allocations support to use vmalloc layer to allocate virtual memory space from vmalloc pool and get rid of CONFIG_CONSISTENT_{START,SIZE}. I still use VM_IOREMAP flag for these allocations (I'll try to post patch adding separate VM_COHERENT_DMA flag to lkml later)

[PATCH] powerpc/fsl-booke: Fix compile warning

2009-02-12 Thread Kumar Gala
arch/powerpc/mm/fsl_booke_mmu.c: In function 'adjust_total_lowmem': arch/powerpc/mm/fsl_booke_mmu.c:221: warning: format '%ld' expects type 'long int', but argument 3 has type 'phys_addr_t' Signed-off-by: Kumar Gala --- arch/powerpc/mm/fsl_booke_mmu.c |4 ++-- 1 files changed, 2 insertions(

Re: request_irq return errno 38

2009-02-12 Thread David Gibson
On Thu, Feb 12, 2009 at 10:39:36AM -0600, Timur Tabi wrote: > On Thu, Feb 12, 2009 at 4:51 AM, Vijay Nikam wrote: > > > Also how I can read the device tree binary file ? ? ? > > It would be a lot simpler if you just read the documentation (see > booting-without-of.txt) and looked at other device

[PATCH v2 2/2] powerpc/book-3e: Introduce concept of Book-3e MMU

2009-02-12 Thread Kumar Gala
The Power ISA 2.06 spec introduces a standard MMU programming model that is based on the Freescale Book-E MMU programing model. The Freescale version is pretty backwards compatiable with the ISA 2.06 definition so we are starting to refactor some of the Freescale code so it can be easily shared.

[PATCH 2/2] powerpc/book-3e: Introduce concept of Book-3e MMU

2009-02-12 Thread Kumar Gala
The Power ISA 2.06 spec introduces a standard MMU programming model that is based on the Freescale Book-E MMU programing model. The Freescale version is pretty backwards compatiable with the ISA 2.06 definition so we are starting to refactor some of the Freescale code so it can be easily shared.

[PATCH v2 1/2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Kumar Gala
The Power ISA 2.06 added power of two page sizes to the embedded MMU architecture. Its done it such a way to be code compatiable with the existing HW. Made the minor code changes to support both power of two and power of four page sizes. Also added some new MAS bits and macros that are defined a

[patch] powerpc: fix numa reserve bootmem page selection

2009-02-12 Thread Geoff Levand
From: Dave Hansen Fix the powerpc NUMA reserve bootmem page selection logic. commit 8f64e1f2d1e09267ac926e15090fd505c1c0cbcb (powerpc: Reserve in bootmem lmb reserved regions that cross NUMA nodes) changed the logic for how the powerpc LMB reserved regions were converted to bootmen reserved regi

[patch] powerpc/ps3: Move ps3_mm_add_memory to device_initcall

2009-02-12 Thread Geoff Levand
Change the PS3 hotplug memory routine ps3_mm_add_memory() from a core_initcall to a device_initcall. core_initcall routines run before the powerpc topology_init() startup routine, which is a subsys_initcall, resulting in failure of ps3_mm_add_memory() when CONFIG_NUMA=y. When ps3_mm_add_memory()

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Scott Wood
On Thu, Feb 12, 2009 at 03:26:58PM +0100, Jean-Michel Hautbois wrote: > I think that the problem is in the reg part, but I can't understand why. > Isn't it the RAM mpping of my MTD that is the first address ? No, it's the offset into the chipselect. -Scott

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Benjamin Herrenschmidt
> I can call it mmu-book3e.h if you think that might enough different to > convey the ISA 2.06 fact that the FSL style MMU is now part of the 3e > architecture. That's better. book3e is what I've been using internally... Cheers, Ben. ___ Linuxppc-

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Kumar Gala
On Feb 12, 2009, at 2:34 PM, Josh Boyer wrote: On Thu, Feb 12, 2009 at 01:21:24PM -0600, Kumar Gala wrote: On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: The Power ISA 2.06 added power of two page sizes to the embedded MMU architecture. Its done it such a way to be code compatiable with

Re: writel hangs system

2009-02-12 Thread Grant Likely
On Tue, Feb 10, 2009 at 6:07 AM, Tobias Knutsson wrote: > Hello, > > I'm in the process of porting a PCI-driver for a dsp-board from 2.4 to > 2.6. The probing of the driver goes well, IRQs are setup, resources > are claimed and remapped without any problems. Reading from I/O > regions also works w

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-12 Thread Ilya Yanok
Hi Ben, Benjamin Herrenschmidt wrote: >> btw, ioremap doesn't provide useful 'caller'). >> > > I fixed that :-) (see patches I posted to the list, though that's > waiting for a patch to go upstream first that adds a > __get_vm_area_caller() that I need for ppc64). > Yep, I saw them. Btw,

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Benjamin Herrenschmidt
On Thu, 2009-02-12 at 13:21 -0600, Kumar Gala wrote: > On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: > > > The Power ISA 2.06 added power of two page sizes to the embedded MMU > > architecture. Its done it such a way to be code compatiable with the > > existing HW. Made the minor code changes t

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-12 Thread Benjamin Herrenschmidt
> btw, ioremap doesn't provide useful 'caller'). I fixed that :-) (see patches I posted to the list, though that's waiting for a patch to go upstream first that adds a __get_vm_area_caller() that I need for ppc64). Cheers, Ben. ___ Linuxppc-dev mailin

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Josh Boyer
On Thu, Feb 12, 2009 at 01:21:24PM -0600, Kumar Gala wrote: > > On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: > >> The Power ISA 2.06 added power of two page sizes to the embedded MMU >> architecture. Its done it such a way to be code compatiable with the >> existing HW. Made the minor code chan

[PATCH] powerpc: rework dma-noncoherent to use generic vmalloc layer (2nd rev)

2009-02-12 Thread Ilya Yanok
This patch rewrites consistent dma allocations support to use vmalloc layer to allocate virtual memory space from vmalloc pool and get rid of CONFIG_CONSISTENT_{START,SIZE}. I still use VM_IOREMAP flag for these allocations (I'll try to post patch adding separate VM_COHERENT_DMA flag to lkml later)

RE: AMCC ppc440spe 2.6.23.10 kernel boot help

2009-02-12 Thread Shubhada Pugaonkar
Hi Wolfgang I could get 2.6.28 version up and running after using device tree blob. Also our customer is using Luan and our IT dept ordered Katmai. So looks like the problem is solved for now (basically my company needs to look into alternative setups) Thanks a lot for your prompt help. Shubhad

Re: [PATCH v2] powerpc/fsl-booke: Add new ISA 2.06 page sizes and MAS defines

2009-02-12 Thread Kumar Gala
On Feb 10, 2009, at 6:26 PM, Kumar Gala wrote: The Power ISA 2.06 added power of two page sizes to the embedded MMU architecture. Its done it such a way to be code compatiable with the existing HW. Made the minor code changes to support both power of two and power of four page sizes. Also ad

Re: [PATCH] powerpc: rework dma-noncoherent to use generic vmap/vunmap functions

2009-02-12 Thread Ilya Yanok
Hi Ben, excuse me for so long time to reply. Benjamin Herrenschmidt wrote: >> This patch rewrites consistent dma allocations support to use vmalloc >> layer to allocate virtual memory space from vmalloc pool and get rid >> of CONFIG_CONSISTENT_{START,SIZE}. >> > > So as commented before, ple

Re: [PATCH] PS3 ps3av_set_video_mode() make id signed

2009-02-12 Thread Geoff Levand
Roel Kluin wrote: > Make id signed so a negative id will get noticed. Error out if > ps3av_auto_videomode() fails. > > Signed-off-by: Roel Kluin > --- > arch/powerpc/include/asm/ps3av.h |2 +- > drivers/ps3/ps3av.c | 16 > 2 files changed, 13 insertions(+), 5

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Steven Rostedt
On Thu, 12 Feb 2009, Frederic Weisbecker wrote: > > > Yes of course, I knew most of it was architecture independant but I delayed > this TODO for future ports, and you've done it. > > Thanks. > > Just a micro detail: the ftrace_push/pop_return_trace are parts of > the core of the entry/return

Re: request_irq return errno 38

2009-02-12 Thread Timur Tabi
On Thu, Feb 12, 2009 at 4:51 AM, Vijay Nikam wrote: > Also how I can read the device tree binary file ? ? ? It would be a lot simpler if you just read the documentation (see booting-without-of.txt) and looked at other device drivers to see what they do. -- Timur Tabi Linux kernel developer at

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Frederic Weisbecker
On Thu, Feb 12, 2009 at 11:31:44AM -0500, Steven Rostedt wrote: > > On Thu, 12 Feb 2009, Frederic Weisbecker wrote: > > > On Wed, Feb 11, 2009 at 08:10:51PM -0500, Steven Rostedt wrote: > > > > > > The following set of patches are RFC and not for inclusion > > > (unless everyone is fine with the

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Steven Rostedt
On Wed, 11 Feb 2009, Steven Rostedt wrote: > > The following set of patches are RFC and not for inclusion > (unless everyone is fine with them as is). > > This is the port to PowerPC of the function graph tracer that was written > by Frederic Weisbecker for the x86 architecture. It is broken u

Re: [PATCH 0/7][RFC] function graph tracer port to PowerPC

2009-02-12 Thread Steven Rostedt
On Thu, 12 Feb 2009, Frederic Weisbecker wrote: > On Wed, Feb 11, 2009 at 08:10:51PM -0500, Steven Rostedt wrote: > > > > The following set of patches are RFC and not for inclusion > > (unless everyone is fine with them as is). > > > > This is the port to PowerPC of the function graph tracer th

Re: [PATCH] Only disable/enable LSI interrupts in EEH

2009-02-12 Thread Mike Mason
Michael Ellerman wrote: On Tue, 2009-02-10 at 13:12 -0800, Mike Mason wrote: I'm resubmitting this patch with a couple changes suggested by Michael Ellerman. 1) the new functions should be static, and 2) some people may object to including unrelated formating changes. =

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 Pieter > Jean-Michel Hautbois wrote: > > 2009/2/12 David Gibson > > > > > > On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: > > > 2009/2/12 Pieter > > > > > > > > > Jean-Michel

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 David Gibson > On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: > > 2009/2/12 Pieter > > > > > Jean-Michel Hautbois wrote: > > > > Warning (reg_format): "reg" property in > > > > /local...@f0010100/fl...@0,0/partit...@ff80 has invalid length > (8 > > > > JM > >

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Pieter
Jean-Michel Hautbois wrote: > 2009/2/12 David Gibson > > > On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: > > 2009/2/12 Pieter > > > > > > Jean-Michel Hautbois wrote: > > > > Warning

Re: SPI-Difference between MX1 and MX31

2009-02-12 Thread Wolfram Sang
Ooops, wrong list. Sorry! -- Pengutronix e.K. | Wolfram Sang| Industrial Linux Solutions | http://www.pengutronix.de/ | signature.asc Description: Digital signature ___ Linuxppc-dev mailing l

Re: PowerPC 7447A Paging table Search

2009-02-12 Thread Kumar Gala
On Feb 12, 2009, at 3:59 AM, sumedh tirodkar wrote: How will i confirm if PowerPC 7447A processor has or does not have a dedicated hardware for page table search algorithm? If it does not have, then which interrupt handler is written for page address translation mechanism? It has one and linu

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread David Gibson
On Thu, Feb 12, 2009 at 12:10:58PM +0100, Jean-Michel Hautbois wrote: > 2009/2/12 Pieter > > > Jean-Michel Hautbois wrote: > > > Warning (reg_format): "reg" property in > > > /local...@f0010100/fl...@0,0/partit...@ff80 has invalid length (8 > > > JM > > You are missing some definitions, The #

SPI-Difference between MX1 and MX31

2009-02-12 Thread Wolfram Sang
Hello, while working on a generic SPI-driver for the i.MX-platform I stumbled over the following: The MX1 can flush its FIFOs using the enable bit. Documentation says: "SPI Module Enable - Enables/Disables the serial peripheral interface. SPIEN must be asserted before an exchange is initiated. W

[PATCH 002/002] de2104x: support for systems lacking cache coherence

2009-02-12 Thread Risto Suominen
Here is a patch that helped me to get my de2104x NIC working on my PowerMac 5500. As an interesting side effect, it also made my mesh module crash. Background can be found here: http://www.spinics.net/lists/netdev/msg88488.html Risto Allow setting NOT_COHERENT_CACHE explicitly. Signed-off-by: R

Re: next Feb 10: mm/slqb build break

2009-02-12 Thread Sachin P. Sant
Nick Piggin wrote: Actually, that's not the root cause here. You seem to have CONFIG_SMP disabled but CONFIG_NUMA enabled. That's not possible on x86 which makes me think it's a ppc kconfig bug. Hmm? If it is really a valid config, then we should be able to make slqb build with it... I am

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
2009/2/12 Pieter > Jean-Michel Hautbois wrote: > > Warning (reg_format): "reg" property in > > /local...@f0010100/fl...@0,0/partit...@ff80 has invalid length (8 > > JM > You are missing some definitions, The #address-cells and #size-cells = <1>; > tis is a snippet of teh dts i defined for my

Re: [MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Pieter
Jean-Michel Hautbois wrote: > Hi everybody ! > I am currently trying to add the support of partitions for the Flash > chip on my MPC8272ADS board (the chips are Sharp LH28F016SCT-L90). > > I have added this part: > > fl...@0,0 { > compatible = "jedec-flash"; >

Re: request_irq return errno 38

2009-02-12 Thread Vijay Nikam
Thanks for your replies ... I checked the irq.c and irq.h and found the prototype of irq_of_parse_and_map() and found from the comment that it is a wrapper function contains a chain of irq_map_one() and irq_create_mapping() ... It means that I can use irq_create_mapping() to know the virq also th

[MPC8272ADS]Problem adding flash partitions inside the device tree

2009-02-12 Thread Jean-Michel Hautbois
Hi everybody ! I am currently trying to add the support of partitions for the Flash chip on my MPC8272ADS board (the chips are Sharp LH28F016SCT-L90). I have added this part: fl...@0,0 { compatible = "jedec-flash"; reg = <0x0 0x0 0x200>;

PowerPC 7447A Paging table Search

2009-02-12 Thread sumedh tirodkar
How will i confirm if PowerPC 7447A processor has or does not have a dedicated hardware for page table search algorithm? If it does not have, then which interrupt handler is written for page address translation mechanism? -Sumedh ___ Linuxppc-dev mailin

Re: AMCC ppc440spe 2.6.23.10 kernel boot help

2009-02-12 Thread Wolfgang Denk
Dear Shubhada, In message <8a71b368a89016469f72cd08050ad33402d57...@maui.asicdesigners.com> you wrote: > > I am kind of helpless regarding the kernel version, as our customer is > using it and I need to replicate their environment. I just tried 2.6.28 > with katmai_defconfig file and still face