Re: [PATCH] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel.

2007-07-26 Thread David Woodhouse
On Thu, 2007-07-26 at 11:27 +1000, Michael Ellerman wrote: > Nice that someone finally fixed this up. > > But I get: > > drivers/scsi/ibmvscsi/ibmvscsi.c:1651: error: 'FW_FEATURE_ISERIES' undeclared > (first use in this function) > drivers/scsi/ibmvscsi/ibmvscsi.c:1651: error: (Each undeclared i

[PATCH 2/5 v3] Add RapidIO OF-node to the MPC8641HPCN board dts file.

2007-07-26 Thread Zhang Wei
Add RapidIO OF-node to the MPC8641HPCN board dts file. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8

[PATCH 3/5 v3] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-07-26 Thread Zhang Wei
Add the platform device support with RapidIO to MPC8641HPCN platform. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/

[PATCH 5/5 v3] Add the memory management driver to RapidIO.

2007-07-26 Thread Zhang Wei
This patch adds the memory management driver to RapidIO. The RapidIO system size is changed to automatically detection. Add the memory mapping driver to RapidIO basic driver. Multi master ports are supported. Add a simple Bitmap RapidIO space allocator driver. Signed-off-by: Zhang Wei <[EMAIL PROT

[PATCH 1/4] fix celleb pci section warnings

2007-07-26 Thread Ishizaki Kou
Fix following warnings: WARNING: vmlinux.o(.text+0x44ad0): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.celleb_setup_phb' and '.celleb_fake_pci_write_config') WARNING: vmlinux.o(.text+0x44dd8): Section mismatch: reference to .init.text:.free_bootmem (between '.celleb_set

Re: About mdio_bus for 82xx based board

2007-07-26 Thread Alexandros Kostopoulos
Hello Scott, Thanks for your response. I'm trying to apply your patches to vanilla 2.6.22.1 kernel, but unfortunately some patches fail, namely: patching file arch/powerpc/boot/dts/mpc8272ads.dts Hunk #1 FAILED at 10. patching file arch/powerpc/boot/Makefile Hunk #1 FAILED at 44. patching fil

[PATCH 3/4] init markings for celleb

2007-07-26 Thread Ishizaki Kou
There are some variables and functions that we should place in init section. And this patch changes some '__devinit' to '__init', because the device is platform device and not hot-pluggable. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/arch/powerpc/platforms/celleb

[PATCH 4/4] init markings for hvc_beat

2007-07-26 Thread Ishizaki Kou
Fix warnings about section mismatch. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/drivers/char/hvc_beat.c === --- linux-powerpc-git.orig/drivers/char/hvc_beat.c +++ linux-powerpc-git/drivers/char/hvc_b

[PATCH 0/5 v3] Porting RapidIO driver from ppc to powerpc architecture and adding memory mapped RapidIO driver.

2007-07-26 Thread Zhang Wei
These patches are the version 3 patches for RapidIO with dts update and some minor fixups. These patches are used for supporting RapidIO controllers of Freescale. I ported them from ppc architecture to powerpc architecture and added some new features, such as memory mapped driver. [PATCH 1/5]

[PATCH 2/3] [SPI] Add new mode: SPI_LOOP

2007-07-26 Thread Anton Vorontsov
Loopback mode is supported by various controllers, this mode is useful for testing, especially in conjunction with spidev driver. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spidev.c |2 +- include/linux/spi/spi.h|1 + include/linux/spi/spidev.h |1 +

Re: DTC 1.0.0 Release Coming?

2007-07-26 Thread David Gibson
On Thu, Jul 26, 2007 at 08:04:30AM -0500, Jon Loeliger wrote: > So, like, the other day David Gibson mumbled: > > On Wed, Jul 25, 2007 at 11:12:00AM -0500, Jon Loeliger wrote: > > > Folks, > > > > > > I'd like to make an official DTC Version 1.0.0 release soon! > > > > It would certainly be great

Re: [RFC][PATCH] MPC832x_RDB: update dts to use spi, register mmc_spi stub

2007-07-26 Thread Anton Vorontsov
On Thu, Jul 26, 2007 at 05:36:06PM +0200, Joakim Tjernlund wrote: [...] > > [EMAIL PROTECTED] { > > device_type = "spi"; > > + device-id = <1>; > > compatible = "fsl_spi"; > > reg = <4c0 40>; > >

Re: [PATCH 1/2] [IDE] Platform IDE driver (was: MMIO IDE driver)

2007-07-26 Thread Sergei Shtylyov
Hello. Guennadi Liakhovetski wrote: >>>driver to using platform-device. I got a reply, that it's not worth it now >>>that IDE is slowly becoming obsolete, and the pata_platform serves the >>>perpose perfectly well. I found this argument reasonable, I had the same >>>doubt, just wanted to doubl

RE: [RFC][PATCH] MPC832x_RDB: update dts to use spi, registermmc_spi stub

2007-07-26 Thread Joakim Tjernlund
> -Original Message- > From: Anton Vorontsov [mailto:[EMAIL PROTECTED] > Sent: den 26 juli 2007 17:48 > To: Joakim Tjernlund > Cc: linuxppc-dev@ozlabs.org > Subject: Re: [RFC][PATCH] MPC832x_RDB: update dts to use spi, > registermmc_spi stub > > On Thu, Jul 26, 2007 at 05:36:06PM +020

Re: [PATCH] [POWERPC] iSeries: fix section mismatch warnings

2007-07-26 Thread Will Schmidt
On Thu, 2007-07-26 at 11:56 +1000, Stephen Rothwell wrote: > Hi Will, > > On Wed, 25 Jul 2007 11:55:31 -0500 Will Schmidt <[EMAIL PROTECTED]> wrote: > > > > > cmpwi 0,r24,0 /* Are we processor 0? */ > > > - beq .__start_initialization_iSeries /* Start up the first processor

help with ppc sections?

2007-07-26 Thread Chris Friesen
Hi all, I'm porting kprobes to 2.6.14, and I think I've got it mostly done. The last thing that I want to do is to mark flush_icache_range() as part of the .kprobes.text section so that we don't accidently try to probe it. On ppc64 this was done by duplicating the _GLOBAL macro and just modi

Re: [PATCH 1/2] [IDE] Platform IDE driver (was: MMIO IDE driver)

2007-07-26 Thread Guennadi Liakhovetski
On Thu, 26 Jul 2007, Sergei Shtylyov wrote: > Guennadi Liakhovetski wrote: > > > Ok, thanks for the explanation Alan. So, there's no technical argument, > > just "being nice to the users", and add a new driver, which we know we'll > > have to remove soon, thus having to persuade its users, who

Re: [PATCH 1/2] [IDE] Platform IDE driver (was: MMIO IDE driver)

2007-07-26 Thread Bartlomiej Zolnierkiewicz
On Wednesday 25 July 2007, Alan Cox wrote: > > pata_platform and ide_platform are carrying same driver names, > > to easily switch between these drivers, without need to touch > > platform code. > > > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > > Signed-off-by: Vitaly Bordug <[EMAIL PRO

Re: help with ppc sections?

2007-07-26 Thread Grant Likely
On 7/26/07, Chris Friesen <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm porting kprobes to 2.6.14, and I think I've got it mostly done. The > last thing that I want to do is to mark flush_icache_range() as part of > the .kprobes.text section so that we don't accidently try to probe it. Hey Chris

dlopen source

2007-07-26 Thread Siva Prasad
Hi, Can some one point to where I can find the source code for dlopen() function. Thanks Siva ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 1/2] [IDE] Platform IDE driver (was: MMIO IDE driver)

2007-07-26 Thread Guennadi Liakhovetski
On Wed, 25 Jul 2007, Alan Cox wrote: > > driver to using platform-device. I got a reply, that it's not worth it now > > that IDE is slowly becoming obsolete, and the pata_platform serves the > > perpose perfectly well. I found this argument reasonable, I had the same > > doubt, just wanted to d

Re: [patch 07/35] pasemi_mac: stop using the pci config space accessors for register read/writes

2007-07-26 Thread Marian Balakowicz
Olof, Olof Johansson wrote: > Move away from using the pci config access functions for simple register > access. Our device has all of the registers in the config space (hey, > from the hardware point of view it looks reasonable :-), so we need to > somehow get to it. Newer firmwares have it in

Re: [PATCH] Re: 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds

2007-07-26 Thread Benjamin Herrenschmidt
On Thu, 2007-07-26 at 16:29 -0500, Kim Phillips wrote: > > p.s. should the stable team be notified to fix 2.6.22 for > Lombard-nvram-style machines? Yes, definitely. Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.o

Re: dlopen source

2007-07-26 Thread Linas Vepstas
On Thu, Jul 26, 2007 at 12:47:57PM -0700, Siva Prasad wrote: > Hi, > > Can some one point to where I can find the source code for dlopen() > function. ? Should be in glibc, right? I don't remember f it requires binutils pieces or not. (Yes, glibc is a rats nest, so understanding how it works is

[PATCH 2/2] powerpc: MPC85xx EDAC device driver

2007-07-26 Thread Dave Jiang
Freescale MPC85xx SoC support for EDAC. Used on PPC platforms. Development and testing done on PPC Freescale MPC8548CDS. The driver provides error reporting for L2 cache error registers, the memory controller error registers, and the PCI error registers. The error reporting can be done two ways,

[PATCH 1/2] powerpc: publish 85xx soc dts entries as of_device on cds and ads platforms

2007-07-26 Thread Dave Jiang
Publish the devices listed in dts under SOC as of_device just like what mpc85xx_mds platforms do. The 85xx cds and ads platforms currently do not export the devices in dts as of_device. I need the memory controller, L2 cache-controller, and the PCI controller published as of_device so the mpc85xx

Re: DTC 1.0.0 Release Coming?

2007-07-26 Thread David Gibson
On Fri, Jul 27, 2007 at 11:33:31AM +1000, David Gibson wrote: > On Thu, Jul 26, 2007 at 10:21:33AM -0500, Jon Loeliger wrote: [snip] > > I hve also verified that at least one other independent build > > using this approach produces a correct version string for them > > as well. > > Yes, well, this

Re: [PATCH] powerpc: Pegasos keyboard detection

2007-07-26 Thread Andrew Morton
On Wed, 25 Jul 2007 17:12:45 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Tue, 2007-07-24 at 21:28 -0400, Alan Curry wrote: > > As of 2.6.22 the kernel doesn't recognize the i8042 keyboard/mouse > > controller > > on the PegasosPPC. This is because of a feature/bug in the OF devi

Re: [PATCH 1/2] [POWERPC] Add support of platforms without PHY to gianfar driver

2007-07-26 Thread Kim Phillips
On Wed, 25 Jul 2007 21:43:12 +0400 Vitaly Bordug <[EMAIL PROTECTED]> wrote: > > Gianfar driver is now able to work without real phy subnode, > that is necessary to cope with fixed-link situation, when > SoC is connected to the Ethernet inteface or embedded switch > without any PHY. In this case,

[PATCH 0/3] powerpc/eeh: for 2.6.23: a fix for bridges, and tweaks

2007-07-26 Thread Linas Vepstas
Paul, The following three patches should be low impact, and I think they could go into 2.6.23 if its not too late. -- two are formating/printing fixes/enhancements -- one fixes the way PCI cards with bridges are handled; in particular, it avoids a nll pointer deref, so is a serious bugfix.

[PATCH 3/3] powerpc/eeh: dump pci bridge status on event

2007-07-26 Thread Linas Vepstas
Gather bridge-specific data on EEH events. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> arch/powerpc/platforms/pseries/eeh.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) Index: linux-2.6.22-git2/arch/powerpc/platforms/pseries/eeh.c =

Re: [PATCH 1/2] [IDE] Platform IDE driver (was: MMIO IDE driver)

2007-07-26 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday 25 July 2007, Vitaly Bordug wrote: > > This is now very similar to pata_platform.c, they both use > same platform data structure and same resources. > > To achieve that, byte_lanes_swapping platform data variable > and platform specified iops removed from that driver. It's fine

Re: [PATCH 1/2] [IDE] Platform IDE driver (was: MMIO IDE driver)

2007-07-26 Thread Bartlomiej Zolnierkiewicz
Hi, On Thursday 26 July 2007, Guennadi Liakhovetski wrote: > On Wed, 25 Jul 2007, Alan Cox wrote: > > > > driver to using platform-device. I got a reply, that it's not worth it > > > now > > > that IDE is slowly becoming obsolete, and the pata_platform serves the > > > perpose perfectly well.

Re: [PATCH 2/2] [POWERPC] MPC8349E-mITX: use platform IDE driver for CF interface

2007-07-26 Thread Sergei Shtylyov
Hello. Vitaly Bordug wrote: >>> I acn undertand your complaint in the context of an OF driver >>>(which we don't have yet) but "mmio-ide" just means nothing to the >>>current driver, and it doesn't convery enough info on the >>>programming interface for the conceivable OF driver, it also does >

Re: [PATCH 2/2] [POWERPC] MPC8349E-mITX: use platform IDE driver for CF interface

2007-07-26 Thread Vitaly Bordug
On Wed, 25 Jul 2007 13:46:57 -0500 Scott Wood wrote: > Sergei Shtylyov wrote: > >I acn undertand your complaint in the context of an OF driver > > (which we don't have yet) but "mmio-ide" just means nothing to the > > current driver, and it doesn't convery enough info on the > > programming in

Re: [PATCH 2/2] [POWERPC] MPC8349E-mITX: use platform IDE driver for CF interface

2007-07-26 Thread Vitaly Bordug
On Wed, 25 Jul 2007 21:06:42 +0400 Sergei Shtylyov wrote: > Hello. > > Vitaly Bordug wrote: > > > This updates relevant platform code (freescale mpc8349itx target) > > to make the CompactFlash work in TrueIDE mode. > >Erm, I'm not sure it's worth submitting the platform device driver > fo

Re: [RFC][PATCH] fsl_soc: add support for fsl_spi

2007-07-26 Thread Scott Wood
On Thu, Jul 26, 2007 at 05:56:55PM +0400, Anton Vorontsov wrote: > +void (*fsl_spi_activate_cs)(u8 cs, u8 polarity) = NULL; > +EXPORT_SYMBOL(fsl_spi_activate_cs); > +void (*fsl_spi_deactivate_cs)(u8 cs, u8 polarity) = NULL; > +EXPORT_SYMBOL(fsl_spi_deactivate_cs); What are these for? It looks lik

Re: Fwd: [PATCH] bootwrapper: adds cuboot for MPC7448HPC2 platform

2007-07-26 Thread Scott Wood
On Thu, Jul 26, 2007 at 04:59:02PM +1000, David Gibson wrote: > > >+#define TARGET_HAS_ENET1 > > >+#include "ppcboot.h" > > Including ppcboot.h without first defining TARGET_* defines which give > the type of system seems... fragile at best, broken at worst. Surely > this can only work by acciden

need help with 8247 config; bus errors, fcc underruns, etc...

2007-07-26 Thread Brad Parker
Anyone have direct experience setting up an 8247? I need some help and am willing to pay for consulting. Please contact me directly if interested. Basically I have u-boot running and it will load a kernel via ethernet (fcc). But once the kernel starts the FCC won't transmit packets bigger than

Re: [PATCH] POWERPC: Fix definition of global-utilites structure for 86xx

2007-07-26 Thread Kumar Gala
On Jul 26, 2007, at 10:14 AM, Timur Tabi wrote: > Kumar Gala wrote: > >> Why don't we remove this completely, nothing uses it? > > Should I respin the patch to include updates to mpc86xx_restart() > to use it? I'm wondering if we should change to code to use a #define GUT_RSTCR offset value

Re: DTC 1.0.0 Release Coming?

2007-07-26 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > > > Only thing I'm not really happy with in the current release is the > > > versioning stuff. For starters, it always reports my builds as > > > -dirty, even when they're not. > > > > I think it won't do that once there is a tag available. > > Yo

Re: [PATCH] POWERPC: Fix definition of global-utilites structure for 86xx

2007-07-26 Thread Timur Tabi
Kumar Gala wrote: > Why don't we remove this completely, nothing uses it? Should I respin the patch to include updates to mpc86xx_restart() to use it? -- Timur Tabi Linux Kernel Developer @ Freescale ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.o

Re: [spi-devel-general] [PATCH 2/3] [SPI] Add new mode: SPI_LOOP

2007-07-26 Thread David Brownell
On Thursday 26 July 2007, Anton Vorontsov wrote: > Loopback mode is supported by various controllers, this mode > is useful for testing, especially in conjunction with spidev > driver. ISTR that Stephen Street provided a loopback mode for debug in his pxa2xx_spi code. And I know you're fight that

[PATCH 1/3] [SPI] Sync spidev.{h,c} with spi.h

2007-07-26 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spidev.c |4 ++-- include/linux/spi/spidev.h |3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 38b60ad..4c51a61 100644 --- a/drivers/spi/spidev.c

[PATCH 0/3] [SPI] loopback mode support, [POWERPC] loopback mode for spi_mpc83xx

2007-07-26 Thread Anton Vorontsov
Hi all, Here are three patches: 1. syncing spidev driver with new modes of spi subsystem; 2. spi subsystem support for loopback mode; 3. loopback mode support for spi_mpc83xx. Because patch 3 depends on 1 and 2, I'm Cc'ing both lists for all three patches. They're based on Linus' tree as of toda

[PATCH 2/4] [POWERPC][SPI] spi_mpc83xx: get rid of magic numbers

2007-07-26 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spi_mpc83xx.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index 0b99fd9..e2d8dbc 100644 --- a/drivers/spi/spi_mpc83xx.c +++ b/drivers/spi/spi_mp

[PATCH 0/4] Few spi_mpc83xx.c fixes and improvements

2007-07-26 Thread Anton Vorontsov
Hi all, These patches based on Linus' tree, as of today. -- Anton Vorontsov email: [EMAIL PROTECTED] backup email: [EMAIL PROTECTED] irc://irc.freenode.net/bd2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/li

Re: Fwd: Re: Kernel Bug when entering something after login

2007-07-26 Thread Juergen Beisert
On Thursday 26 July 2007 10:47, Juergen Beisert wrote: > FYI. Valid for current 2.6.22.1 kernel. Sorry for the noise, tglx sent it allready. Juergen -- Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de  Pengutronix - Linux Solutions for Science and Industry   Handelsregister: Amtsgericht

[PATCH 1/5 v3] Add the explanation and a sample of RapidIO OF node to the document of booting-without-of.txt file.

2007-07-26 Thread Zhang Wei
Add the explanation and a sample of RapidIO OF node to the document of booting-without-of.txt file. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 37 ++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/Doc

Re: DTC 1.0.0 Release Coming?

2007-07-26 Thread David Gibson
On Thu, Jul 26, 2007 at 01:05:50PM +1000, David Gibson wrote: > On Wed, Jul 25, 2007 at 11:12:00AM -0500, Jon Loeliger wrote: > > Folks, > > > > I'd like to make an official DTC Version 1.0.0 release soon! > > To that end, I've published a repo on jdl.com with a v1.0.0-rc1 > > tag on it. I antici

Re: Fwd: [PATCH] bootwrapper: adds cuboot for MPC7448HPC2 platform

2007-07-26 Thread David Gibson
On Thu, Jul 26, 2007 at 01:28:10AM -0500, Kumar Gala wrote: > > > Begin forwarded message: > > >From: Zang Roy-r61911 <[EMAIL PROTECTED]> > >Date: July 11, 2007 3:54:16 AM CDT > >To: Paul Mackerras <[EMAIL PROTECTED]> > >Cc: Kumar Gala <[EMAIL PROTECTED]>, linuxppc-dev list > > > >Subject: [PA

Re: DTC 1.0.0 Release Coming?

2007-07-26 Thread David Gibson
On Thu, Jul 26, 2007 at 10:21:33AM -0500, Jon Loeliger wrote: > So, like, the other day David Gibson mumbled: > > > > > Only thing I'm not really happy with in the current release is the > > > > versioning stuff. For starters, it always reports my builds as > > > > -dirty, even when they're not.

Re: [PATCH] powerpc: Pegasos keyboard detection

2007-07-26 Thread Benjamin Herrenschmidt
On Thu, 2007-07-26 at 18:48 -0700, Andrew Morton wrote: > On Wed, 25 Jul 2007 17:12:45 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> > wrote: > > > On Tue, 2007-07-24 at 21:28 -0400, Alan Curry wrote: > > > As of 2.6.22 the kernel doesn't recognize the i8042 keyboard/mouse > > > controller >

Re: [PATCH] make powerpc BUG_ON() OK with pointers and bitwise

2007-07-26 Thread Paul Mackerras
Al Viro writes: > Since powerpc insists on printing the _value_ of condition We don't _print_ the value of the condition, we give it to a conditional-trap instruction which will trap if it is non-zero. > and on casting it to long... At least let's make it a force-cast. The long cast is to make

Re: [RFC][PATCH] fsl_soc: add support for fsl_spi

2007-07-26 Thread Scott Wood
Vitaly Bordug wrote: > On Thu, 26 Jul 2007 11:45:08 -0500 > Scott Wood <[EMAIL PROTECTED]> wrote: >>Why not make the fsl spi driver an of_platform device? > > Because this particular thing is not ppc-only from what I recall. spi_mpc83xx.c isn't ppc-only? Even if it weren't, the OF stuff has been

Re: [RFC][PATCH] fsl_soc: add support for fsl_spi

2007-07-26 Thread Vitaly Bordug
On Thu, 26 Jul 2007 11:45:08 -0500 Scott Wood <[EMAIL PROTECTED]> wrote: > On Thu, Jul 26, 2007 at 05:56:55PM +0400, Anton Vorontsov wrote: > > +void (*fsl_spi_activate_cs)(u8 cs, u8 polarity) = NULL; > > +EXPORT_SYMBOL(fsl_spi_activate_cs); > > +void (*fsl_spi_deactivate_cs)(u8 cs, u8 polarity) =

Re: [PATCH] mpc832x_rdb.c: prevent using uninitialized variable

2007-07-26 Thread Scott Wood
On Thu, Jul 26, 2007 at 06:01:39PM +0400, Anton Vorontsov wrote: > If CONFIG_PCI undefined, np will be used uninitialized, thereby > find_node_by_name(np, "par_io") will fail. This is the wrong fix -- you should be passing NULL to the par_io call rather than np. Otherwise, if the par_io is earlie

[PATCH] make powerpc BUG_ON() OK with pointers and bitwise

2007-07-26 Thread Al Viro
Since powerpc insists on printing the _value_ of condition and on casting it to long... At least let's make it a force-cast. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- include/asm-powerpc/bug.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-powerpc/bug

Re: [spi-devel-general] [PATCH 1/3] [SPI] Sync spidev.{h, c} with spi.h

2007-07-26 Thread David Brownell
On Thursday 26 July 2007, Anton Vorontsov wrote: > --- a/drivers/spi/spidev.c > +++ b/drivers/spi/spidev.c > @@ -56,8 +56,8 @@ static unsigned longminors[N_SPI_MINORS / > BITS_PER_LONG]; > > > /* Bit masks for spi_device.mode management */ > -#define SPI_MODE_MASK

[PATCH] mpc832x_rdb.c: prevent using uninitialized variable

2007-07-26 Thread Anton Vorontsov
If CONFIG_PCI undefined, np will be used uninitialized, thereby find_node_by_name(np, "par_io") will fail. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/mpc832x_rdb.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/plat

[RFC][PATCH] MPC832x_RDB: update dts to use spi, register mmc_spi stub

2007-07-26 Thread Anton Vorontsov
mmc_spi already tested to work. When it will hit mainline the only change that would be needed is replacing "spidev" by "mmc_spi", and adding trivial platform data to mmc_spi driver. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_rdb.dts | 33 ++

[RFC][PATCH] fsl_soc: add support for fsl_spi

2007-07-26 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 76 + arch/powerpc/sysdev/fsl_soc.h |3 ++ 2 files changed, 79 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_so

[PATCH 4/4] [POWERPC][SPI] spi_mpc83xx: fix LSB mode shifts

2007-07-26 Thread Anton Vorontsov
spi_mpc83xx should use other shifts when running in QE+LSB mode. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spi_mpc83xx.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index 7e17c8b..45

Re: About mdio_bus for 82xx based board

2007-07-26 Thread Alexandros Kostopoulos
Well, I've downloaded the latest git from Paul's tree, and some patches still fail (and the mpc8272_ads config doesn't compile). Must I get some other revision of the tree (if yes, how's that done in git - my first time with it ) thanks alex On Thu, 26 Jul 2007 14:24:01 +0300, Alexandros

[PATCH 4/5 v3] Add RapidIO support to powerpc architecture.

2007-07-26 Thread Zhang Wei
This patch adds the RapidIO support to the powerpc architecture. Some files are moved from ppc. OF-tree and OF-device supports are added. New silicons such as MPC8548, MPC8641 with serial RapidIO controller are all supported. Memory driver hardware operations are added. Global mport variables are c

Re: [spi-devel-general] [PATCH 0/4] Few spi_mpc83xx.c fixes and improvements

2007-07-26 Thread David Brownell
On Thursday 26 July 2007, Anton Vorontsov wrote: > Hi all, > > These patches based on Linus' tree, as of today. I don't know mpc83xx ... are there any PPC folk who can see any reason not to just merge these patches? They look OK to me, but in this case that doesn't mean much. :) If I don't hea

[PATCH 1/3] powerpc/eeh: tweak printk message.

2007-07-26 Thread Linas Vepstas
Print return code to print message. Also fix whitespace. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> arch/powerpc/platforms/pseries/eeh.c |8 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6.22-git2/arch/powerpc/platforms/pseries/eeh.c ==

[PATCH 3/3] [POWERPC][SPI] spi_mpc83xx: add support for loopback mode

2007-07-26 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spi_mpc83xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index 458075a..e9582d3 100644 --- a/drivers/spi/spi_mpc83xx.c +++ b/drivers/spi/spi

Please pull powerpc.git merge branch

2007-07-26 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get some bug-fixes for powerpc, as listed below. Thanks, Paul. arch/powerpc/Kconfig.debug |2 - arch/powerpc/boot/dts/kuroboxHD.dts | 18 +--- arch/powerpc/

[PATCH 2/4] fix celleb sio section warning

2007-07-26 Thread Ishizaki Kou
Fix following warning: WARNING: vmlinux.o(.text+0x45fd4): Section mismatch: reference to .init.text:.early_serial_txx9_setup (between '.txx9_serial_init' and '.txx9_serial_config') Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> --- Index: linux-powerpc-git/arch/powerpc/platforms/celleb/scc_sio

Re: About mdio_bus for 82xx based board

2007-07-26 Thread Alexandros Kostopoulos
Oops! I've just noticed in your previous mail that I need to apply the patches to Paul's tree...Sorry 'bout that... my mistake alex On Thu, 26 Jul 2007 13:42:46 +0300, Alexandros Kostopoulos <[EMAIL PROTECTED]> wrote: > Hello Scott, > > Thanks for your response. I'm trying to apply your pat

Fwd: Re: Kernel Bug when entering something after login

2007-07-26 Thread Juergen Beisert
FYI. Valid for current 2.6.22.1 kernel. -- Forwarded Message -- Subject: Re: Kernel Bug when entering something after login Date: Wednesday 25 July 2007 21:06 From: Thomas Gleixner <[EMAIL PROTECTED]> To: Juergen Beisert <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] On Wed, 2007-07

[PATCH v2] Fix ibmvscsi client for multiplatform iSeries+pSeries kernel.

2007-07-26 Thread David Woodhouse
If you build a multiplatform kernel for iSeries and pSeries, with ibmvscsic support, the resulting client doesn't work on iSeries. This patch should fix that, using the appropriate low-level operations for the machine detected at runtime. Signed-off-by: David Woodhouse <[EMAIL PROTECTED]> --- li

Re: dlopen source

2007-07-26 Thread David Gibson
On Thu, Jul 26, 2007 at 04:59:28PM -0500, Linas Vepstas wrote: > On Thu, Jul 26, 2007 at 12:47:57PM -0700, Siva Prasad wrote: > > Hi, > > > > Can some one point to where I can find the source code for dlopen() > > function. > > ? Should be in glibc, right? I don't remember f it requires binutils

Re: [PATCH] Re: 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds

2007-07-26 Thread Kim Phillips
On Thu, 26 Jul 2007 13:42:33 +1000 Paul Mackerras <[EMAIL PROTECTED]> wrote: > Kim Phillips writes: > > > > In which circumstances are you trying to translate an address with no > > > size cell ? > > > > for the enumerated PHYs. As the original commit comment states, I was > > getting these mess

[PATCH 2/3] powerpc/eeh: Fix pci bridge handling bug

2007-07-26 Thread Linas Vepstas
The EEH code needs to ignore PCI bridges; sort-of. It was ignoring them in the wrong place, and thus failing to set up the PCI_DN(dn)->pcidev pointer. Imprudent dereferencing of this pointer would lead to a crash on cards with bridges. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> arc

Re: [PATCH 2/2] [POWERPC] MPC8349E-mITX: use platform IDE driver for CF interface

2007-07-26 Thread Sergei Shtylyov
Hello, I wrote: > Also, what mmio-ide in the compat properly means in the context >of ide_platform which is able to handle both port and memory mapped >IDE. I/O-space is only valid in the context of PCI, ISA, or similar buses, and the bus-specific reg format indicates

RE: [RFC][PATCH] MPC832x_RDB: update dts to use spi, register mmc_spi stub

2007-07-26 Thread Joakim Tjernlund
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > abs.org] On Behalf Of Anton Vorontsov > Sent: den 26 juli 2007 15:58 > To: linuxppc-dev@ozlabs.org > Subject: [RFC][PATCH] MPC832x_RDB: update dts to use spi, > register mmc_spi stub > > mmc_spi already te

[PATCH 3/4] [POWERPC][SPI] spi_mpc83xx: support for lsb mode switching

2007-07-26 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spi_mpc83xx.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi_mpc83xx.c b/drivers/spi/spi_mpc83xx.c index e2d8dbc..7e17c8b 100644 --- a/drivers/spi/spi_mpc83xx.c +++ b/drivers/sp

Re: [PATCH] powerpc: Pegasos keyboard detection

2007-07-26 Thread Alan Curry
Andrew Morton writes the following: >> > >> > Did this get merged, or otherwise fixed? Even though the code in there has >> > changed quite a bit, it looks to my untrained eye like the fix is still >> > applicable? >> >> Merged a fixed version: >> >> f5d834fc34e61f1a40435981062000e5d2b2baa8 >>

Re: [PATCH] powerpc: Pegasos keyboard detection

2007-07-26 Thread Andrew Morton
On Fri, 27 Jul 2007 13:00:21 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Thu, 2007-07-26 at 18:48 -0700, Andrew Morton wrote: > > On Wed, 25 Jul 2007 17:12:45 +1000 Benjamin Herrenschmidt <[EMAIL > > PROTECTED]> wrote: > > > > > On Tue, 2007-07-24 at 21:28 -0400, Alan Curry wro

Re: [PATCH 1/2] [POWERPC] Add support of platforms without PHY to gianfar driver

2007-07-26 Thread Kumar Gala
On Jul 25, 2007, at 4:21 PM, Jeff Garzik wrote: > I'll let paulus and linuxppc merge this one (or not)... That would most likely be me, than paulus. Since this is for a Freescale PPC SoC. - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org ht

Re: DTC 1.0.0 Release Coming?

2007-07-26 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > On Wed, Jul 25, 2007 at 11:12:00AM -0500, Jon Loeliger wrote: > > Folks, > > > > I'd like to make an official DTC Version 1.0.0 release soon! > > It would certainly be great to have a release, since dtc is becoming > necessary for more and more kern

[PATCH 1/4] [POWERPC][SPI] spi_mpc83xx.c: should turn off SPI unit while switching any mode.

2007-07-26 Thread Anton Vorontsov
Documentation clearly states, that mode should not be changed till SPMODE_ENABLE bit set. I've seen hangs w/o this patch. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/spi/spi_mpc83xx.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/spi/spi_mp

Re: About mdio_bus for 82xx based board

2007-07-26 Thread Scott Wood
Alexandros Kostopoulos wrote: > Well, I've downloaded the latest git from Paul's tree, and some patches > still fail (and the mpc8272_ads config doesn't compile). Must I get > some other revision of the tree (if yes, how's that done in git - my > first time with it ) They don't apply on top

Re: [PATCH] xmon consistency clean up

2007-07-26 Thread Ishizaki Kou
Michael Ellerman <[EMAIL PROTECTED]> wrote: > On Wed, 2007-07-25 at 16:21 +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2007-07-25 at 11:57 +0900, Ishizaki Kou wrote: > > > This patch cleans up xmon to keep consistency. > > > > > > In xmon, we should use console I/O functions that are named the

Re: [spi-devel-general] [PATCH 0/4] Few spi_mpc83xx.c fixes and improvements

2007-07-26 Thread Kumar Gala
On Jul 26, 2007, at 9:58 PM, David Brownell wrote: > On Thursday 26 July 2007, Anton Vorontsov wrote: >> Hi all, >> >> These patches based on Linus' tree, as of today. > > I don't know mpc83xx ... are there any PPC folk who can see > any reason not to just merge these patches? They look OK > to

Decermenter overflow interrupt atfer the init.d launch.

2007-07-26 Thread Nicolas Mederle
Hi, I want to know how the kernel switch the task. Because my kernel start very well, and it launch the init.d. With the log, i can see that the kernel launch the getty task. But after, there is a decrementer overflow interrupt ( vector at adress 900 ). Is it the task switch? Or is it

Re: Decermenter overflow interrupt atfer the init.d launch.

2007-07-26 Thread Kumar Gala
On Jul 27, 2007, at 1:36 AM, Nicolas Mederle wrote: > Hi, > >I want to know how the kernel switch the task. Because my > kernel > start very well, and it launch the init.d. With the log, i can see > that > the kernel launch the getty task. But after, there is a decrementer > overflow

Re: [spi-devel-general] [PATCH 1/4] [POWERPC][SPI] spi_mpc83xx.c: should turn off SPI unit while switching any mode.

2007-07-26 Thread Kumar Gala
On Jul 26, 2007, at 8:13 AM, Anton Vorontsov wrote: > Documentation clearly states, that mode should not be changed > till SPMODE_ENABLE bit set. I've seen hangs w/o this patch. Out of interest what board/part do you see the hang on? - k ___ Linuxppc