PowerPC kernel linux-2.6.29.6 PANIC's at include/linux/cred.h for ipsec enabled kernel

2009-08-10 Thread srikanth krishnakar
Hi All, Target : PowerPC (ppc440) While testing kernel linux-2.6.29.6 with IPSEC enabled I observed frequent panic messages as shown below while bootup: VFS: Mounted root (nfs filesystem) on device 0:13. Freeing unused kernel memory: 184k init INIT: version 2.86 booting Starting udevudevd versio

Re: [PATCH v2] powerpc: Allow perf_counters to access user memory at interrupt time

2009-08-10 Thread Benjamin Herrenschmidt
On Thu, 2009-08-06 at 14:57 +1000, Paul Mackerras wrote: > This provides a mechanism to allow the perf_counters code to access > user memory in a PMU interrupt routine. Such an access can cause > various kinds of interrupt: SLB miss, MMU hash table miss, segment > table miss, or TLB miss, dependin

Re: [PATCH] mtd/maps: add mtd-ram support to physmap_of

2009-08-10 Thread Artem Bityutskiy
On 08/10/2009 07:19 PM, Wolfram Sang wrote: On Sun, Aug 09, 2009 at 08:17:23AM +0300, Artem Bityutskiy wrote: On Fri, 2009-08-07 at 23:43 -0600, Grant Likely wrote: On Fri, Jul 17, 2009 at 6:39 AM, Wolfram Sang wrote: Use physmap_of to access RAMs as mtd and add documenation for it. This appr

Re: need help getting SPI controller working on 405EX

2009-08-10 Thread Stefan Roese
On Monday 10 August 2009 18:07:15 Nathan French wrote: > > At least something similar worked for me some months ago (before we > > switched to a "real" driver for some custom peripheral). > > Did this work on a 4xx PowerPC platform? Or something else? I've been > told that there is no SPI driver

Re: 2.6.31-rc5-git2 crash [net/core/flow.c:flow_cache_new_hashrnd]

2009-08-10 Thread Sachin Sant
Benjamin Herrenschmidt wrote: BTW. Corruption looks like bi_recs... ie, broken yaboot. This was fixed recently, yaboot would eventually crap over the kernel for certain sizes of the kernel image. 0x1010 = BI_FIRST 0x1013 = BI_BOOTLOADER_ID followed by 0x7961626f6f74 which is "yaboot" :-) 0x1016

[PATCH] powerpc: use consistent types in mktree

2009-08-10 Thread Stephen Rothwell
gcc v4.4 currently produces this build warning: arch/powerpc/boot/mktree.c: In function 'main': arch/powerpc/boot/mktree.c:104: warning: dereferencing type-punned pointer will break strict-aliasing rules tmpbuf is only used as an array of unsigned ints, so declare it that way. Signed-off-by: St

Re: [PATCH] usb/gadget: Update Freescale UDC entry in MAINTAINERS

2009-08-10 Thread Joe Perches
On Tue, 2009-08-11 at 11:11 +0800, Li Yang wrote: > Change the F entry for file rename, and make it also cover fsl_qe_udc > driver. Update the name accordingly. > > Signed-off-by: Li Yang > --- > Liakhovetski, > > Is it ok that it also covers your fsl_mx3_udc.c file. It's much easier > to use

[PATCH] usb/gadget: Update Freescale UDC entry in MAINTAINERS

2009-08-10 Thread Li Yang
Change the F entry for file rename, and make it also cover fsl_qe_udc driver. Update the name accordingly. Signed-off-by: Li Yang --- Liakhovetski, Is it ok that it also covers your fsl_mx3_udc.c file. It's much easier to use the wildcard. MAINTAINERS |4 ++-- 1 files changed, 2 insertion

Re: [PATCH 0/3] cpu: idle state framework for offline CPUs.

2009-08-10 Thread Pallipadi, Venkatesh
On Mon, 2009-08-10 at 01:19 -0700, Pavel Machek wrote: > On Sun 2009-08-09 15:22:02, Rafael J. Wysocki wrote: > > On Sunday 09 August 2009, Pavel Machek wrote: > > > Hi! > > > > > > > > Also, approaches such as [1] can make use of this > > > > > extended infrastructure instead of putting the CPU t

PPC460EX with 2 Ethernet Transceivers

2009-08-10 Thread Judd Gilbert
Hi, I am currently running linux 2.6.28.4 on a PPC460EX with 2 Marvell Alaska 88E Ethernet transceivers connected to it. If I hold one of the transceivers in reset on power on I get the following messages when the linux kernel boots and eth0 and eth1 both work fine... eth0: EMAC-0 /plb/opb/

Re: 5121 cache handling.

2009-08-10 Thread Scott Wood
Kenneth Johansson wrote: Yes the memory system would obviously get a higher load but do the CPU actually see that? do it stall on the write ? Yes, there's a limited number of writes that can queue up before the CPU core will have to wait. -Scott _

Re: 5121 cache handling.

2009-08-10 Thread Kenneth Johansson
On Mon, 2009-08-10 at 15:26 -0500, Scott Wood wrote: > Kenneth Johansson wrote: > >>> should not the framebuffer be marked as cache write through. that is the > >>> W bit should be set in the tlb mapping. Why is this not done ? is that > >>> feature also not working on 5121 ?? > >> It probably woul

Re: 5121 cache handling.

2009-08-10 Thread Scott Wood
Kenneth Johansson wrote: But the code allocate the 52KB buffer with vmalloc that cant be right as cache is stored with physical address the 52KB data need to be 52KB continuous in physical address and vmalloc do not guarantee that. Yeah, that looks like a bug. should not the framebuffer be ma

Re: 5121 cache handling.

2009-08-10 Thread Kenneth Johansson
On Fri, 2009-08-07 at 14:56 -0500, Scott Wood wrote: > On Fri, Aug 07, 2009 at 02:53:52PM +0200, Kenneth Johansson wrote: > > on 5121 there is a e300 core that unfortunately is connected to the rest > > of the SOC with a bus that do not support coherency. > > > > solution for many driver has been

Linux MAINTAINERS section FREESCALE HIGHSPEED USB DEVICE DRIVER

2009-08-10 Thread Joe Perches
Hi. This entry, copied below, is no longer correct. The "F:" entry got renamed by commit 54e4026b64a970303349b952866641a7804ef594 New file: drivers/usb/gadget/fsl_udc_core.c Are you still maintaining this file? You did not sign-off on the rename. What should be done here? cheers, Joe FREESC

Re: [PATCH] mtd/maps: add mtd-ram support to physmap_of

2009-08-10 Thread Artem Bityutskiy
On Mon, 2009-08-10 at 18:19 +0200, Wolfram Sang wrote: > On Sun, Aug 09, 2009 at 08:17:23AM +0300, Artem Bityutskiy wrote: > > On Fri, 2009-08-07 at 23:43 -0600, Grant Likely wrote: > > > On Fri, Jul 17, 2009 at 6:39 AM, Wolfram Sang > > > wrote: > > > > Use physmap_of to access RAMs as mtd and ad

Re: [PATCH] mtd/maps: add mtd-ram support to physmap_of

2009-08-10 Thread Wolfram Sang
On Sun, Aug 09, 2009 at 08:17:23AM +0300, Artem Bityutskiy wrote: > On Fri, 2009-08-07 at 23:43 -0600, Grant Likely wrote: > > On Fri, Jul 17, 2009 at 6:39 AM, Wolfram Sang wrote: > > > Use physmap_of to access RAMs as mtd and add documenation for it. This > > > approach > > > is a lot less intrus

Re: need help getting SPI controller working on 405EX

2009-08-10 Thread Nathan French
Lorenz, thanks for the reply. > For getting spidev devices you have to add entries for an spidev device > to your newly created spi-"bus". So what you are currently missing are > the spidev child-nodes in the device tree. > As I'm currently cut off from some device to test, no guaranty that it

[PATCH 2/2] Support R_PPC64_REL32 relocation type

2009-08-10 Thread M. Mohan Kumar
[PATCH 2/2] Support R_PPC64_REL32 relocation type gcc-4.4 compiler creates R_PPC64_REL32 relocation type in the ppc64 purgatory code. Add support to handle R_PPC64_REL32 relocation type. Signed-off-by: M. Mohan Kumar --- kexec/arch/ppc64/kexec-elf-rel-ppc64.c |4 1 files changed, 4 ins

[PATCH 1/2] Make dtstruct variable to be 8 byte aligned

2009-08-10 Thread M. Mohan Kumar
[PATCH 1/2] Make dtstruct variable to be 8 byte aligned kexec is creating a version 3 device tree to be backwards compatible. This version of the struct has 8-byte alignment for properties whose value is 8 or more bytes. As the code directly checks the pointer when deciding to add the alignment wo

Re: [PATCH 03/14] powerpc: use printk_once

2009-08-10 Thread Gary Thomas
Michael Ellerman wrote: > On Mon, 2009-08-10 at 10:00 +0200, Wolfram Sang wrote: >> On Sun, Aug 09, 2009 at 09:53:58PM +0200, Marcin Slusarz wrote: >>> Signed-off-by: Marcin Slusarz >>> Cc: Benjamin Herrenschmidt >>> Cc: Paul Mackerras >>> Cc: linuxppc-...@ozlabs.org >>> --- >>> arch/powerpc/ke

Re: [PATCH 03/14] powerpc: use printk_once

2009-08-10 Thread Michael Ellerman
On Mon, 2009-08-10 at 10:00 +0200, Wolfram Sang wrote: > On Sun, Aug 09, 2009 at 09:53:58PM +0200, Marcin Slusarz wrote: > > Signed-off-by: Marcin Slusarz > > Cc: Benjamin Herrenschmidt > > Cc: Paul Mackerras > > Cc: linuxppc-...@ozlabs.org > > --- > > arch/powerpc/kernel/iommu.c |6 +-

Re: [PATCH 0/3] cpu: idle state framework for offline CPUs.

2009-08-10 Thread Pavel Machek
On Sun 2009-08-09 15:22:02, Rafael J. Wysocki wrote: > On Sunday 09 August 2009, Pavel Machek wrote: > > Hi! > > > > > > Also, approaches such as [1] can make use of this > > > > extended infrastructure instead of putting the CPU to an arbitrary > > > > C-state > > > > when it is offlined, thereb

Re: [PATCH] Do not inline putprops function

2009-08-10 Thread Milton Miller
On Thu Aug 6 at about 02:49:38 EST in 2009, M. Mohan Kumar wrote: > > When I align the dtstruct variable to 8 bytes, I am able to invoke kdump. > > When the line > static unsigned dtstruct[TREEWORDS], *dt; > changed to > static unsigned dtstruct[TREEWORDS] __attribute__ ((aligned (8)

Re: [PATCH 03/14] powerpc: use printk_once

2009-08-10 Thread Wolfram Sang
On Sun, Aug 09, 2009 at 09:53:58PM +0200, Marcin Slusarz wrote: > Signed-off-by: Marcin Slusarz > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: linuxppc-...@ozlabs.org > --- > arch/powerpc/kernel/iommu.c |6 +- > arch/powerpc/kernel/irq.c|5 ++--- > arch/powerp

Re: sequoia: The final kernel image would overwrite the device tree

2009-08-10 Thread Geert Uytterhoeven
On Sat, 8 Aug 2009, Wolfgang Denk wrote: > In message <1249678991.10143.1.ca...@pasglop> you wrote: > > My experience, however, with a Canyonlands board, is that uBoot has > > a bug that makes it always allocate the device-tree below 8M and clash > > with the kernel when it gets too big. > > > > I

Re: [PATCH v2 0/6] Device table matching for SPI subsystem

2009-08-10 Thread Artem Bityutskiy
On Fri, 2009-07-31 at 04:39 +0400, Anton Vorontsov wrote: > Andrew, > > This new patch set overwrites following patches: > > hwmon-lm70-convert-to-device-table-matching.patch > hwmon-adxx-convert-to-device-table-matching.patch > spi-merge-probe-and-probe_id-callbacks.patch > spi-prefix-mo