kbuild, modpost: fix non-allocatable section warnings

2009-05-04 Thread Sam Ravnborg
It turned out there were at least three sources of the non-allocatable section warning. 1) SUSE specific .comment section 2) endianness issues in elf header 3) additional debug sections I have updated kbuild-fixes.git with patches for all of the above. But as we have seen three independent

[PATCH 1/3] kbuild, modpost: fix unexpected non-allocatable section when cross compiling

2009-05-04 Thread Sam Ravnborg
From 7d875a02864a35532543897195dfea2235815df8 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg ande...@mit.edu Date: Sun, 3 May 2009 22:02:55 +0200 Subject: [PATCH 1/3] kbuild, modpost: fix unexpected non-allocatable section when cross compiling The missing TO_NATIVE(sechdrs[i].sh_flags) was

[PATCH 2/3] kbuild, modpost: fix unexpected non-allocatable warning with SUSE gcc

2009-05-04 Thread Sam Ravnborg
From 028ecebdd83cc4a7f8c7e96e28a5537d2ac98dae Mon Sep 17 00:00:00 2001 From: Sam Ravnborg s...@ravnborg.org Date: Sun, 3 May 2009 22:17:37 +0200 Subject: [PATCH 2/3] kbuild, modpost: fix unexpected non-allocatable warning with SUSE gcc Jean reported that he saw one warning for each module like

[PATCH 3/3] kbuild, modpost: fix unexpected non-allocatable warning with mips

2009-05-04 Thread Sam Ravnborg
From 4391ed6aa9a38cdfb48addd7a9b24a2ff099b1a7 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg s...@ravnborg.org Date: Mon, 4 May 2009 13:05:26 +0200 Subject: [PATCH 3/3] kbuild, modpost: fix unexpected non-allocatable warning with mips mips emit the following debug sections: .mdebug* and .pdr They

Re: Using archaic I2C with OF

2009-05-04 Thread Gary Thomas
Wolfram Sang wrote: Post this on the i2c list. Jean has made an effort to convert all drivers. He must have missed that one. What Jean did was converting all drivers who used the legacy i2c-binding to use the new binding which is a lot better suited to the driver model. The above

Re: KGDBOC testing on linux-2.6.30-rc4

2009-05-04 Thread Bruce Ashfield
On Mon, May 4, 2009 at 9:13 AM, srikanth krishnakar skrishna...@gmail.com wrote: Hi all, I need help in kgdboc  testing on PowerPC target. Have you tried contacting the maintainer ? (I noticed that Jason wasn't cc'd), just in case it isn't simply a use case problem and might be related to

Re: Need a patch tested on a windtunnel powermac

2009-05-04 Thread Jean Delvare
Hi Josh, On Mon, 4 May 2009 10:52:32 -0400, Josh Boyer wrote: On Thu, Apr 30, 2009 at 03:17:08PM -0400, Josh Boyer wrote: On Wed, Apr 29, 2009 at 08:24:48PM -0400, Josh Boyer wrote: On Thu, Apr 30, 2009 at 09:30:59AM +1000, Paul Mackerras wrote: Does anyone here still have a windtunnel

Re: Need a patch tested on a windtunnel powermac

2009-05-04 Thread Josh Boyer
On Mon, May 04, 2009 at 05:40:01PM +0200, Jean Delvare wrote: Hi Josh, Ok, installed 2.6.30-rc4 plus Jean's patch and it appears to do something correctly: [jwbo...@localhost macintosh]$ sudo modprobe therm_windtunnel [jwbo...@localhost macintosh]$ dmesg snip DS1775 digital thermometer

Re: Need a patch tested on a windtunnel powermac

2009-05-04 Thread Jean Delvare
On Mon, 4 May 2009 11:42:08 -0400, Josh Boyer wrote: On Mon, May 04, 2009 at 05:40:01PM +0200, Jean Delvare wrote: For completeness, as I see you built the driver as a module, could you try unloading and reloading it? Sure: [jwbo...@localhost macintosh]$ sudo rmmod therm_windtunnel

Re: Need a patch tested on a windtunnel powermac

2009-05-04 Thread Josh Boyer
On Thu, Apr 30, 2009 at 03:17:08PM -0400, Josh Boyer wrote: On Wed, Apr 29, 2009 at 08:24:48PM -0400, Josh Boyer wrote: On Thu, Apr 30, 2009 at 09:30:59AM +1000, Paul Mackerras wrote: Does anyone here still have a windtunnel powermac (PowerMac3,6) machine running Linux? We need someone to test

Re: FSL Driver load issues with OF

2009-05-04 Thread Benjamin Zores
Scott Wood wrote: On Wed, Apr 29, 2009 at 11:45:20AM +0200, Benjamin Zores wrote: Since the progressive migration of some PPC drivers to use of_platform bus (typically migrating OF parsing from fsl_soc.c to the device probe/init functions), I'm experiencing driver load issues. Actually,

Re: help with MPC8272ADS board

2009-05-04 Thread Scott Wood
On Sun, May 03, 2009 at 10:16:29AM +0300, Landau, Bracha wrote: I'm trying to get the MPC8272ADS evaluation board up and running with the latest versions of u-boot and Denx linux (2.6.24). 2.6.24 is nowhere near the latest version of Linux. If you specifically want to use a Denx kernel, you're

[PATCH] offb: use framebuffer_alloc() to allocate fb_info struct

2009-05-04 Thread Krzysztof Helt
From: Krzysztof Helt krzysztof...@wp.pl Use the framebuffer_alloc() function to allocate the fb_info structure so the structure is correctly initialized after allocation. Signed-off-by: Krzysztof Helt krzysztof...@wp.pl --- diff -urp linux-orig/drivers/video/offb.c

Re: [PATCH 2.6.30-rc5] ehea: fix invalid pointer access

2009-05-04 Thread David Miller
From: Hannes Hering hannes.her...@linux.vnet.ibm.com Date: Mon, 4 May 2009 18:02:30 +0200 This patch fixes an invalid pointer access in case the receive queue holds no pointer to the next skb when the queue is empty. Signed-off-by: Hannes Hering heri...@de.ibm.com Signed-off-by: Jan-Bernd

[Patch] powerpc/cell: make ptcal more reliable

2009-05-04 Thread stenzel
This is for QS21. The following patch allocates pages only from the specified node, moves the ptcal area into the middle of the allocated page to avoid potential prefetch problems and prints the address of the ptcal area to facilitate diagnostics. Signed-off-by: Gerhard Stenzel

Setting Kernel Allocated Memory Uncached on the PPC460

2009-05-04 Thread Judd Gilbert
Hello Everyone, This is my first post to this list, so hopefully I read all the instructions correctly and am posting to the correct list. I have a driver which maps some kernel allocated memory to user space which works, and now I am trying to set that memory non-cacheable, on a power PC

[PATCH] sound: remove driver_data direct access of struct device

2009-05-04 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@suse.de In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so

Re: [PATCH] sound: remove driver_data direct access of struct device

2009-05-04 Thread Mark Brown
On Mon, May 04, 2009 at 01:19:36PM -0700, Greg Kroah-Hartman wrote: From: Greg Kroah-Hartman gre...@suse.de In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata()

Re: [PATCH] sound: remove driver_data direct access of struct device

2009-05-04 Thread Greg KH
On Mon, May 04, 2009 at 09:34:10PM +0100, Mark Brown wrote: On Mon, May 04, 2009 at 01:19:36PM -0700, Greg Kroah-Hartman wrote: From: Greg Kroah-Hartman gre...@suse.de In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device.

Re: [PATCH 9/9] spi_mpc8xxx: s/83xx/8xxx/g

2009-05-04 Thread Andrew Morton
On Fri, 1 May 2009 03:48:33 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: Since we renamed the file, we might want to rename the file internals too. Though we don't bother with changing platform driver name and platform module alias. The stuff is legacy and hopefully we'll remove

Re: [PATCH 0/9] Some work for spi_mpc83xx driver, spi-mmc support for MPC8610HPCD

2009-05-04 Thread Andrew Morton
On Fri, 1 May 2009 03:47:39 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: Here are few patches that are needed to support spi-mmc slot on MPC8610HPCD PowerPC boards: [1/9] spi_mpc83xx: Handles other Freescale processors [2/9] spi_mpc83xx: Quieten down the Requested speed is too low

Re: Need a patch tested on a windtunnel powermac

2009-05-04 Thread Giuliano Pochini
On Thu, 30 Apr 2009 09:30:59 +1000 Paul Mackerras pau...@samba.org wrote: Does anyone here still have a windtunnel powermac (PowerMac3,6) machine running Linux? We need someone to test Jean Delvare's patch to the therm_windtunnel driver. The patch is at:

Re: [PATCH 00/13] OF device tree handling of PHY drivers

2009-05-04 Thread Scott Wood
On Mon, Apr 27, 2009 at 11:17:08AM -0600, Grant Likely wrote: Kumar, David has pulled my phylib changes into his -next tree. However, some of the driver changes have been compile tested only due to lack of hardware. Who can I ask to test the changes to the following files?

MSR_SPE - being turned off...

2009-05-04 Thread Morrison, Tom
I have both a MPC8548 SBC and MPC8572 system that are running different flavors of the same Linux - 2.6.23. I explicitly am turning it on very early on. Later, I have an application that is compiled with SPE instructions (e.g.: evstdd) , and there is where the problems happen. If I

Re: [PATCH 9/9] spi_mpc8xxx: s/83xx/8xxx/g

2009-05-04 Thread Anton Vorontsov
On Mon, May 04, 2009 at 01:53:27PM -0700, Andrew Morton wrote: On Fri, 1 May 2009 03:48:33 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: Since we renamed the file, we might want to rename the file internals too. Though we don't bother with changing platform driver name and

Re: [PATCH 0/9] Some work for spi_mpc83xx driver, spi-mmc support for MPC8610HPCD

2009-05-04 Thread Anton Vorontsov
On Mon, May 04, 2009 at 01:55:04PM -0700, Andrew Morton wrote: On Fri, 1 May 2009 03:47:39 +0400 Anton Vorontsov avoront...@ru.mvista.com wrote: Here are few patches that are needed to support spi-mmc slot on MPC8610HPCD PowerPC boards: [1/9] spi_mpc83xx: Handles other Freescale

Re: [Patch] powerpc/cell: make ptcal more reliable

2009-05-04 Thread Jeremy Kerr
Hi Gerhard, This is for QS21. The following patch allocates pages only from the specified node, moves the ptcal area into the middle of the allocated page to avoid potential prefetch problems and prints the address of the ptcal area to facilitate diagnostics. You're seeing prefetches that

Re: [PATCH 00/13] OF device tree handling of PHY drivers

2009-05-04 Thread Grant Likely
On Mon, May 4, 2009 at 5:14 PM, Scott Wood scottw...@freescale.com wrote: On Mon, Apr 27, 2009 at 11:17:08AM -0600, Grant Likely wrote: Kumar, David has pulled my phylib changes into his -next tree.  However, some of the driver changes have been compile tested only due to lack of hardware.  

[git pull] Please pull powerpc.git merge branch

2009-05-04 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few things still for .30 for you to merge ! Cheers, Ben. The following changes since commit 091438dd5668396328a3419abcbc6591159eb8d1: Linus Torvalds (1): Linux 2.6.30-rc4 are available in the git repository at:

PPC8247 booting error

2009-05-04 Thread Sauce.Cheng
i want to mapping FIFO memory to bank 3 by configure br3 and or3 the boot info as following. in my code, i have mapped FIFO to 0xD000, then i red the value from this address. the prompts as following there is some wrong with BRx and ORx set? or something others? please give me some