[PATCH] powerpc: do not call printk when CONFIG_PRINTK is not defined

2010-03-11 Thread Németh Márton
From: Márton Németh When printk() is disabled (CONFIG_PRINTK) at menu item General setup -> Configure standard kernel features (for small systems) -> Enable support for printk then there should be no printk() calls at all. Signed-off-by: Márton Németh --- Just a typo was fixed in the tit

Re: Freescale MPC5554 device tree (was: cross-compiling Linux for PowerPC e200 core?)

2010-03-11 Thread Németh Márton
Hi, thank you for the comments, I reworked the Freescale MPC5554 device tree accordingly. I'm listening for comments on this draft. Regards, Márton Németh --- From: Márton Németh Add device tree for Freescale MPC5554. Signed-off-by: Márton Németh --- diff -uprN linux-2.6.33.orig/arc

[PATCH v2 (resend #3)] hvc_console: Fix race between hvc_close and hvc_remove

2010-03-11 Thread Amit Shah
Alan pointed out a race in the code where hvc_remove is invoked. The recent virtio_console work is the first user of hvc_remove(). Alan describes it thus: The hvc_console assumes that a close and remove call can't occur at the same time. In addition tty_hangup(tty) is problematic as tty_hangup i

Re: [Patch 1/1] PPC64-HWBKPT: Implement hw-breakpoints for PPC64

2010-03-11 Thread Benjamin Herrenschmidt
> Index: linux-2.6.ppc64_test/arch/powerpc/include/asm/hw_breakpoint.h > === > --- /dev/null > +++ linux-2.6.ppc64_test/arch/powerpc/include/asm/hw_breakpoint.h > @@ -0,0 +1,54 @@ > +#ifndef _PPC64_HW_BREAKPOINT_H > +#define

[PATCH] mpc52xx_lpbfifo: flag DMA irqs as enabled after requesting them

2010-03-11 Thread Roman Fietze
Hello, This patch avoids unbalanced enable/disable messages for the DMA interrupts when running the 5200 platform SCLPC/BestComm driver in DMA mode. Signed-off-by: Roman Fietze --- arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff -

RE: Linus' kernel tree over ads5121-rev4

2010-03-11 Thread Chen Hongjun-R66092
Pls make sure that you have the following enrionment variable in uboot bootargs. diufb=15M B.R, Hongjun From: linuxppc-dev-bounces+hong-jun.chen=freescale@lists.ozlabs.org [mailto:linuxppc-dev-bounces+hong-jun.chen=freescale@lists.ozlabs.org]

Re: [PATCH 21/37] drivers/ata: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Sergei Shtylyov
Hello. Grant Likely wrote: .node is being removed Signed-off-by: Grant Likely --- drivers/ata/pata_macio.c |2 +- drivers/ata/pata_of_platform.c |2 +- drivers/ide/pmac.c | 10 +- 3 files changed, 7 insertions(+), 7 deletions(-) Should probably hav

Re: Problem with PCI bus rescan on 460EX

2010-03-11 Thread Benjamin Herrenschmidt
On Thu, 2010-03-11 at 23:41 +0200, Felix Radensky wrote: > I'm fine with creating a minimal hotplug driver. The device I'm > dealing with > partially implements Compact PCI hotplug. It generates ENUM# > interrupt, but > Hotswap Control register layout does not completely follow the > standard. > >

Re: madness, was Re: [PATCH 2/2] Macintosh: fix coding style issues in adb.c This is a patch to the adb.c file that cleans up many warnings found by the checkpatch.pl tool

2010-03-11 Thread Benjamin Herrenschmidt
On Wed, 2010-03-10 at 14:48 +1100, fth...@telegraphics.com.au wrote: > On Tue, 9 Mar 2010, Michael Beardsworth wrote: > > > - /* If a probe is in progress or we are sleeping, wait for it to > > complete */ > > + /* If a probe is in progress or we are sleeping, wait until complete */ > > If y

Re: Problem with PCI bus rescan on 460EX

2010-03-11 Thread Felix Radensky
Hi Ben, Benjamin Herrenschmidt wrote: Yes, we need to do a resource allocation pass, setup DMA, etc... and that is not done in that manual rescan case I suppose. I have to look. Part of the problem is that there is no "proper" hooks in the generic PCI code that I know of for that, but I'll have

Re: [PATCH 33/37] sound/soc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
On Thu, Mar 11, 2010 at 12:34 PM, Mark Brown wrote: > On Thu, Mar 11, 2010 at 11:06:50AM -0700, Grant Likely wrote: >> .node is being removed >> >> Signed-off-by: Grant Likely > > Acked-by: Mark Brown > > but please ensure that Liam and especially Timur also check this (both > CCed). > > For eno

[git pull] driver bug fixes and mpc5200 defconfig updates

2010-03-11 Thread Grant Likely
Hi Linus, Here are some driver bug fixes, and the requisite powerpc-mpc5200 defconfig updates. The defconfig updates would normally go through Ben's tree, but since that is the only change I have that would go through his tree I'm hoping that it is okay to have it here. Cheers, g. The following

Re: Problem with PCI bus rescan on 460EX

2010-03-11 Thread Benjamin Herrenschmidt
On Thu, 2010-03-11 at 09:45 +0200, Felix Radensky wrote: > Hi Alex, > > Thanks a lot for replying. > > Alex Chiang wrote: > > * Felix Radensky : > > > > > The problem arises when device is plugged in after boot. After doing > > > echo 1 > /sys/bus/pci/rescan > > > the device is identified, bu

Re: [PATCH 25/37] drivers/infiniband: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Roland Dreier
Seems fine... adding EHCA guys just to make sure. > .node is being removed > > Signed-off-by: Grant Likely > --- > > drivers/infiniband/hw/ehca/ehca_main.c | 11 ++- > 1 files changed, 6 insertions(+), 5 deletions(-) > > diff --git a/drivers/infiniband/hw/ehca/ehca_main.c

Re: [PATCH 33/37] sound/soc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Mark Brown
On Thu, Mar 11, 2010 at 11:06:50AM -0700, Grant Likely wrote: > .node is being removed > > Signed-off-by: Grant Likely Acked-by: Mark Brown but please ensure that Liam and especially Timur also check this (both CCed). For enormous patch serieses like this it's really nice if you can ensure th

Re: [PATCH 1/2] powerpc: Partition hibernation support

2010-03-11 Thread Nathan Fontenot
Brian King wrote: Enables support for HMC initiated partition hibernation. This is a firmware assisted hibernation, since the firmware handles writing the memory out to disk, along with other partition information, so we just mimic suspend to ram. Signed-off-by: Brian King --- arch/powerpc/Kc

Re: [PATCH 05/27] drivers/usb/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Greg KH
On Thu, Mar 11, 2010 at 11:22:15AM -0700, Grant Likely wrote: > .name, .match_table and .owner are duplicated in both of_platform_driver > and device_driver, so the of_platform_driver copies will be removed soon. > > Signed-off-by: Grant Likely Acked-by: Greg Kroah-Hartman _

Re: [PATCH 21/37] drivers/ata: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread David Miller
From: Sergei Shtylyov Date: Thu, 11 Mar 2010 21:31:14 +0300 > Should probably have been 2 patches instead of one, as drivers/ata/ > and drivers/ide/ are different subsystems... No, he should consolidate these changes _MORE_ not less. The patch set is already too large to review at it is! __

[PATCH] driver-core: Add device node pointer to struct device

2010-03-11 Thread Grant Likely
Currently, platforms using CONFIG_OF add a 'struct device_node *of_node' to dev->archdata. However, with CONFIG_OF becoming generic for all architectures, it makes sense for commonality to move it out of archdata and into struct device proper. This patch adds a struct device_node *of_node member

Re: [PATCH 21/37] drivers/ata: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Jeff Garzik
On 03/11/2010 01:31 PM, Sergei Shtylyov wrote: Hello. Grant Likely wrote: .node is being removed Signed-off-by: Grant Likely --- drivers/ata/pata_macio.c | 2 +- drivers/ata/pata_of_platform.c | 2 +- drivers/ide/pmac.c | 10 +- 3 files changed, 7 insertions(+), 7 deletions(-) Should

Re: [PATCH 12/37] drivers/usb: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Greg KH
On Thu, Mar 11, 2010 at 11:04:54AM -0700, Grant Likely wrote: > .node is being removed > > Signed-off-by: Grant Likely Acked-by: Greg Kroah-Hartman ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-

Re: [PATCH 00/27] Clean up of_platform drivers

2010-03-11 Thread David Miller
Grant you've just posted two enormous patch sets at the SAME EXACT TIME to the SAME AREAS of the kernel. One has 37 patches and this one has 27. Not only are these sets enormous, you haven't specified what in the world they are against. The 37 patch set didn't apply cleanly to Linus tree and on

Re: [PATCH 00/37] OF: move device node pointer into struct device.

2010-03-11 Thread David Miller
From: Grant Likely Date: Thu, 11 Mar 2010 11:25:46 -0700 > Oops, sorry David, I accidentally dropped the top patch. Give me a > moment and I'll send it out. Sorry, now that you've just bombed us with 27 patches to the same area, I've totally lost interest in testing this work. _

[PATCH 26/27] arch/sparc/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- arch/sparc/include/asm/parport.h |7 +-- arch/sparc/kernel/apc.c |7 +-- arch/sparc/kernel/

Re: [PATCH 00/37] OF: move device node pointer into struct device.

2010-03-11 Thread Grant Likely
On Thu, Mar 11, 2010 at 11:23 AM, David Miller wrote: > From: David Miller > Date: Thu, 11 Mar 2010 10:20:43 -0800 (PST) > >> Three or four of the patches don't apply because only your tree >> has those "/* temporary */" comments, f.e. in arch/sparc/kernel/pci.c >> >> I took care of this when app

[PATCH 27/27] of: remove obsolete members from of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner already exist in struct device_driver. Remove the duplication from struct of_platform_driver. Signed-off-by: Grant Likely --- drivers/of/platform.c |7 --- include/linux/of_platform.h |4 2 files changed, 0 insertions(+), 11 deletions(-) di

[PATCH 25/27] arch/powerpc/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- arch/powerpc/kernel/of_platform.c |3 ++- arch/powerpc/platforms/52xx/mpc52xx_gpio.c| 14 +

[PATCH 24/27] sound/of: don't use deprecated fields in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- sound/soc/fsl/mpc5200_psc_ac97.c |2 +- sound/soc/fsl/mpc5200_psc_i2s.c |2 +- sound/soc/fsl/mpc8610_hpcd.c

[PATCH 23/27] drivers/infiniband/of: don't use deprecated fields in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/infiniband/hw/ehca/ehca_main.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH 22/27] drivers/i2c/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/i2c/busses/i2c-cpm.c | 10 +- drivers/i2c/busses/i2c-ibm_iic.c |7 +-- drivers/i2c/bus

[PATCH 21/27] drivers/hwmon/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/hwmon/ultra45_env.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/h

[PATCH 19/27] drivers/pcmcia/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/pcmcia/electra_cf.c |7 +-- drivers/pcmcia/m8xx_pcmcia.c |7 +-- 2 files changed, 10 insert

[PATCH 20/27] drivers/mmc/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/mmc/host/sdhci-of-core.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/driv

Re: [PATCH 00/37] OF: move device node pointer into struct device.

2010-03-11 Thread David Miller
From: David Miller Date: Thu, 11 Mar 2010 10:20:43 -0800 (PST) > Three or four of the patches don't apply because only your tree > has those "/* temporary */" comments, f.e. in arch/sparc/kernel/pci.c > > I took care of this when applying to my tree. It also doesn't build, what the heck is this

[PATCH 18/27] drivers/parport/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/parport/parport_sunbpp.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/driv

[PATCH 17/27] drivers/sbus/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/sbus/char/bbc_i2c.c |7 +-- drivers/sbus/char/display7seg.c |7 +-- drivers/sbus/char/en

[PATCH 16/27] drivers/scsi/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/scsi/qlogicpti.c |7 +-- drivers/scsi/sun_esp.c |7 +-- 2 files changed, 10 insertions(+),

[PATCH 15/27] drivers/spi/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/spi/mpc52xx_psc_spi.c |4 +--- drivers/spi/mpc52xx_spi.c |8 +--- drivers/spi/spi_mpc8xxx.c

[PATCH 14/27] drivers/serial/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/serial/apbuart.c|8 drivers/serial/cpm_uart/cpm_uart_core.c |7 +-- dri

[PATCH 13/27] drivers/net/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/net/can/mscan/mpc5xxx_can.c |8 +--- drivers/net/can/sja1000/sja1000_of_platform.c |8

[PATCH 12/27] drivers/mtd/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/mtd/maps/physmap_of.c|7 +-- drivers/mtd/maps/sun_uflash.c|7 +-- drivers/mtd/nand/f

[PATCH 11/27] drivers/macintosh/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/macintosh/smu.c |7 +-- drivers/macintosh/therm_pm72.c |7 +-- drivers/ma

[PATCH 10/27] drivers/input/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/input/misc/sparcspkr.c | 14 ++ drivers/input/serio/i8042-sparcio.h |7 +-- drive

[PATCH 09/27] drivers/atm/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/atm/fore200e.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/atm/fo

[PATCH 08/27] drivers/crypto/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/crypto/amcc/crypto4xx_core.c |7 +-- drivers/crypto/talitos.c |7 +-- 2 files ch

[PATCH 07/27] drivers/char/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/char/hw_random/n2-drv.c|7 +-- drivers/char/hw_random/pasemi-rng.c|7 +--

[PATCH 06/27] drivers/block/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/ata/pata_of_platform.c |7 +-- drivers/ata/sata_fsl.c |7 +-- drivers/block/xsysace.

[PATCH 05/27] drivers/usb/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/usb/gadget/fsl_qe_udc.c |7 +-- drivers/usb/host/ehci-ppc-of.c|9 - drivers/usb/ho

[PATCH 04/27] drivers/video/of: don't use deprecated field in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/video/bw2.c |7 +-- drivers/video/cg14.c |7 +-- drivers/video/cg

[PATCH 03/27] drivers/watchdog/of: don't use deprecated .name and .owner in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/watchdog/cpwd.c|7 +-- drivers/watchdog/gef_wdt.c |8 +--- drivers/watchdog/mpc8

[PATCH 01/27] drivercore: Add of_match_table to the common device drivers

2010-03-11 Thread Grant Likely
OF-style matching can be available to any device, on any type of bus. This patch allows any driver to provide an OF match table when CONFIG_OF is enabled so that drivers can be bound against devices described in the device tree. Signed-off-by: Grant Likely Acked-by: Greg Kroah-Hartman --- arch

[PATCH 02/27] drivers/gpio/of: don't use deprecated fields in of_platform_driver

2010-03-11 Thread Grant Likely
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver, so the of_platform_driver copies will be removed soon. Signed-off-by: Grant Likely --- drivers/leds/leds-gpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/leds/leds

[PATCH 00/27] Clean up of_platform drivers

2010-03-11 Thread Grant Likely
struct of_platform_driver unnecessarily duplicates the .owner and .name fields from the encapsulated struct device_driver. This patch series goes through all of_platform drivers and makes it use the device_driver instance so that the duplicate field can be removed. Since every of_platform_driver

Re: [PATCH 00/37] OF: move device node pointer into struct device.

2010-03-11 Thread David Miller
From: Grant Likely Date: Thu, 11 Mar 2010 11:03:47 -0700 > Currently on OF enabled platforms, the device node pointer is stored in > both device.archdata.of_node (.prom_node on sparc), and in of_device.node > OF device tree support is being generalized to work on any platform, so > instead of add

[PATCH 2/2] arch/microblaze: Move dma_mask from of_device into pdev_archdata

2010-03-11 Thread Grant Likely
By moving dma_mask into pdev_archdata, and adding archdata to struct of_device, it makes it possible to substitute of_device with struct platform_device, which is a stepping stone to removing the of_platform bus entirely. Signed-off-by: Grant Likely --- arch/microblaze/include/asm/device.h|

[PATCH 1/2] arch/powerpc: Move dma_mask from of_device into pdev_archdata

2010-03-11 Thread Grant Likely
By moving dma_mask into pdev_archdata, and adding archdata to struct of_device, it makes it possible to substitute of_device with struct platform_device, which is a stepping stone to removing the of_platform bus entirely. Signed-off-by: Grant Likely --- arch/powerpc/include/asm/device.h|

[PATCH 0/2] Stuff to make of_device more like platform_device

2010-03-11 Thread Grant Likely
These patches make it possible to use struct platform_device as a drop in replacement for struct of_device, which is a stepping stone to removing the duplication between the platform bus and the of bus. g. --- Grant Likely (2): arch/microblaze: Move dma_mask from of_device into pdev_archda

Re: Linus' kernel tree over ads5121-rev4

2010-03-11 Thread Anatolij Gustschin
Hi, On Thu, 11 Mar 2010 13:53:45 +0100 CTAG / Moisés Domínguez wrote: > Linux is uncompressed and starts right, but when DIU driver probe function > is called (exactly when first framebuffer device is registered) linux > restarts. This behaviour repeats indefinitely. > > (same behaviour with de

[PATCH 37/37] arch/sparc: Remove .archdata.of_node and use .of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.of_node is being removed from Microblaze, SPARC and PowerPC because it duplicates the struct device .of_node pointer. This patch also removes .node from struct of_device for the same reason. Signed-off-by: Grant Likely --- arch/sparc/include/asm/device.h|9 - arch/spa

[PATCH 36/37] arch/microblaze: Remove .archdata.of_node and use .of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.of_node is being removed from Microblaze, SPARC and PowerPC because it duplicates the struct device .of_node pointer. This patch also removes .node from struct of_device for the same reason. Signed-off-by: Grant Likely --- arch/microblaze/include/asm/device.h|8 arch

[PATCH 35/37] arch/powerpc: Remove .archdata.of_node and use .of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.of_node is being removed from Microblaze, SPARC and PowerPC because it duplicates the struct device .of_node pointer. This patch also removes .node from struct of_device for the same reason. Signed-off-by: Grant Likely --- arch/powerpc/include/asm/device.h | 16 --

[PATCH 34/37] sound/sparc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- sound/sparc/cs4231.c |6 +++--- sound/sparc/dbri.c |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index 8d13d93..14cb87c 100644 --- a/sound/sparc/cs4231.c +++ b/so

[PATCH 33/37] sound/soc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- sound/soc/fsl/mpc8610_hpcd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c index ef67d1c..d7e1b9a 100644 --- a/sound/soc/fsl/mpc8610_hpcd.c +++ b/sound/

[PATCH 32/37] sound/aoa: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- sound/aoa/fabrics/layout.c |2 +- sound/aoa/soundbus/core.c |8 sound/aoa/soundbus/i2sbus/control.c |2 +- sound/aoa/soundbus/i2sbus/core.c|4 ++-- sound/aoa/soundbus/sysfs.c |4 +

[PATCH 31/37] drivers/of: use .of_node instead of .archdata.of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.node is being removed from Microblaze, SPARC and PowerPC. Signed-off-by: Grant Likely --- drivers/of/of_i2c.c |1 - drivers/of/of_mdio.c |1 - drivers/of/of_spi.c |1 - 3 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c

[PATCH 30/37] drivers/cdrom: use .of_node instead of .archdata.of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.node is being removed from Microblaze, SPARC and PowerPC. Signed-off-by: Grant Likely --- drivers/cdrom/viocd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c index cc435be..451cd70 100644 --- a/drivers/cdrom/vio

[PATCH 29/37] drivers/char: use .of_node instead of .archdata.of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.node is being removed from Microblaze, SPARC and PowerPC. Signed-off-by: Grant Likely --- drivers/char/viotape.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 042c814..f37935c 100644 --- a/drivers/char/v

[PATCH 28/37] drivers/scsi: use .of_node instead of .archdata.of_node in struct device

2010-03-11 Thread Grant Likely
.archdata.node is being removed from Microblaze, SPARC and PowerPC. Signed-off-by: Grant Likely --- drivers/scsi/ibmvscsi/ibmvfc.c |2 +- drivers/scsi/ibmvscsi/ibmvscsi.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scs

[PATCH 27/37] drivers/of: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/of/device.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/of/device.c b/drivers/of/device.c index 224ae6b..24068bb 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@

[PATCH 26/37] drivers/mtd: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/mtd/maps/physmap_of.c|6 +++--- drivers/mtd/maps/sun_uflash.c|2 +- drivers/mtd/nand/fsl_elbc_nand.c |6 +++--- drivers/mtd/nand/pasemi_nand.c |2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff -

[PATCH 25/37] drivers/infiniband: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/infiniband/hw/ehca/ehca_main.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index 129a6be..2639185 100644 --- a/d

[PATCH 24/37] drivers/char: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/char/hw_random/n2-drv.c |2 +- drivers/char/hw_random/pasemi-rng.c |2 +- drivers/char/ipmi/ipmi_si_intf.c|4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/hw_random/n2-drv.c b/

[PATCH 23/37] drivers/i2c: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/i2c/busses/i2c-mpc.c | 17 + 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 78a15af..0123a6e 100644 --- a/drivers/i2c/busses/i2c-mpc

[PATCH 22/37] drivers/leds: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/leds/leds-gpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index e5225d2..7ff758a 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio

[PATCH 21/37] drivers/ata: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/ata/pata_macio.c |2 +- drivers/ata/pata_of_platform.c |2 +- drivers/ide/pmac.c | 10 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata

[PATCH 20/37] drivers/input: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/input/serio/i8042-sparcio.h |2 +- drivers/input/serio/xilinx_ps2.c|8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h in

[PATCH 19/37] drivers/serial: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/serial/apbuart.c|2 +- drivers/serial/nwpserial.c |2 +- drivers/serial/of_serial.c |4 ++-- drivers/serial/pmac_zilog.c |2 +- drivers/serial/sunhv.c |2 +- drivers/serial/sunsab.c |6 +++---

[PATCH 18/37] drivers/pcmcia: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/pcmcia/electra_cf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c index 89cfddc..a4d821f 100644 --- a/drivers/pcmcia/electra_cf.c +++ b/drivers/pc

[PATCH 17/37] drivers/net: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/net/can/sja1000/sja1000_of_platform.c |4 ++-- drivers/net/ehea/ehea_main.c | 14 ++--- drivers/net/greth.c |3 ++- drivers/net/ibm_newemac/core.c| 13 ++

[PATCH 16/37] drivers/sbus: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/sbus/char/bbc_envctrl.c |4 ++-- drivers/sbus/char/bbc_i2c.c |4 ++-- drivers/sbus/char/display7seg.c |2 +- drivers/sbus/char/envctrl.c |2 +- drivers/sbus/char/flash.c |4 ++-- drivers/sbus/char/u

[PATCH 15/37] drivers/mmc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/mmc/host/sdhci-of-core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-of-core.c b/drivers/mmc/host/sdhci-of-core.c index 55e3313..dfe5cea 100644 --- a/drivers/mmc/host/sdhci-of-cor

[PATCH 14/37] drivers/spi: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/spi/mpc52xx_psc_spi.c | 11 ++- drivers/spi/mpc52xx_spi.c | 14 +++--- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/spi/mpc52xx_psc_spi.c b/drivers/spi/mpc52xx_psc_spi.c index 0474

[PATCH 13/37] drivers/macintosh: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/macintosh/macio_asic.c | 16 drivers/macintosh/macio_sysfs.c |6 +++--- drivers/macintosh/rack-meter.c |4 ++-- drivers/macintosh/therm_pm72.c |2 +- 4 files changed, 14 insertions(+), 14 deletions(

[PATCH 12/37] drivers/usb: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/usb/host/ehci-ppc-of.c |2 +- drivers/usb/host/isp1760-if.c |2 +- drivers/usb/host/ohci-ppc-of.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/e

[PATCH 11/37] drivers/scsi: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/scsi/qlogicpti.c | 10 +- drivers/scsi/sun_esp.c | 16 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index fa34b92..7374fbe 100644

[PATCH 10/37] drivers/video: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/video/cg6.c |2 +- drivers/video/ffb.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 0d47c60..978c15f 100644 --- a/drivers/video/cg6.c +++ b/drivers/vid

[PATCH 09/37] drivers/atm: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/atm/fore200e.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index f7d6eba..593a03a 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore

[PATCH 08/37] drivers/watchdog: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/watchdog/cpwd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c index 37ea052..89da14f 100644 --- a/drivers/watchdog/cpwd.c +++ b/drivers/watchdog/cpwd.c @@

[PATCH 07/37] drivers/serial: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- drivers/serial/mpc52xx_uart.c |8 drivers/serial/sunsu.c|6 +++--- drivers/serial/sunzilog.c |8 drivers/serial/uartlite.c |6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff

[PATCH 06/37] arch/microblaze: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- arch/microblaze/kernel/of_device.c |8 arch/microblaze/kernel/of_platform.c |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/microblaze/kernel/of_device.c b/arch/microblaze/kernel/of_device.c

[PATCH 05/37] arch/powerpc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- arch/powerpc/include/asm/macio.h |2 +- arch/powerpc/kernel/ibmebus.c |4 ++-- arch/powerpc/kernel/of_device.c |8 arch/powerpc/kernel/of_platform.c | 16

[PATCH 04/37] arch/sparc: use .dev.of_node instead of .node in struct of_device

2010-03-11 Thread Grant Likely
.node is being removed Signed-off-by: Grant Likely --- arch/sparc/include/asm/floppy_64.h |4 ++-- arch/sparc/include/asm/parport.h |2 +- arch/sparc/kernel/auxio_64.c |2 +- arch/sparc/kernel/central.c |4 ++-- arch/sparc/kernel/chmc.c | 10

[PATCH 03/37] of/sparc: use dev->of_node instead of dev->archdata.prom_node

2010-03-11 Thread Grant Likely
The prom_node pointer is being moved out of archdata to dev->of_node. This patch changes users of prom_node to use the new location. Signed-off-by: Grant Likely --- arch/sparc/include/asm/fb.h |2 +- arch/sparc/kernel/of_device_32.c |3 ++- arch/sparc/kernel/of_device_64.c |3 +

[PATCH 02/37] of: Eliminate dev_archdata_get_node()

2010-03-11 Thread Grant Likely
The device_node pointer is now stored in struct device->of_node so we no longer need the dev_archdata_get_node() accessor. Read the of_node directly instead. Signed-off-by: Grant Likely --- arch/microblaze/include/asm/device.h |6 -- arch/powerpc/include/asm/device.h|6 --

[PATCH 01/37] i2c/of: Allow device node to be passed via i2c_board_info

2010-03-11 Thread Grant Likely
The struct device_node *of_node pointer is moving out of dev->archdata and into the struct device proper. of_i2c.c needs to set the of_node pointer before the device is registered. Since the i2c subsystem doesn't allow 2 stage allocation and registration of i2c devices, the of_node pointer needs

[PATCH 00/37] OF: move device node pointer into struct device.

2010-03-11 Thread Grant Likely
Currently on OF enabled platforms, the device node pointer is stored in both device.archdata.of_node (.prom_node on sparc), and in of_device.node OF device tree support is being generalized to work on any platform, so instead of adding the of_node pointer to each platform's archdata individually, t

Linus' kernel tree over ads5121-rev4

2010-03-11 Thread CTAG / Moisés Domínguez
Hi, I am started with freescale LTIB but I decided to make a clone of Linus' kernel tree mainly to have the latest and fixed mscan driver. Linux is uncompressed and starts right, but when DIU driver probe function is called (exactly when first framebuffer device is registered) linux restart

Re: [PATCH 1/6] arch/powerpc/platforms/pseries: Use kasprintf

2010-03-11 Thread Nathan Fontenot
Julia Lawall wrote: From: Julia Lawall kasprintf combines kmalloc and sprintf, and takes care of the size calculation itself. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression a,flag; expression list args; statement S; @@ a = - \(kmall

MTD partitions missing

2010-03-11 Thread garazi juez uriagereka
Hello, I am Garazi and I am working in the Electronic Design Group at the University of the Basque Country. I'm running the Xilinx git kernel 2.6.31 from git.xilinx.com on a V5 PPC440 CORE( Xilinx ML507). We have a NOR CFI flash device. Flash chip has been particionated according to this tab

Re: PowerPC 85xx board are caused die by Commit: 864b9e6fd76489aab422bac62162f57c52e06ed8(powerpc: Use lwarx/ldarx hint in bit locks)

2010-03-11 Thread Andrew Liu
Just validated it, this fix can make fsl_p2020ds work again. Andrew On Thu, Mar 11, 2010 at 1:39 PM, Kumar Gala wrote: > > On Mar 10, 2010, at 11:20 PM, Kumar Gala wrote: > > > > > On Mar 10, 2010, at 9:20 PM, Andrew Liu wrote: > > > >> Hi Guys: > >> I have done several experiments on fsl_8548c

  1   2   >