Re: [PATCH] [POWERPC] 82xx and embedded6xx: Use machine_*_initcall() hooks in platform code

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Signed-off-by: Grant Likely <[EMAIL PROTECTED]> > --- > > arch/powerpc/platforms/82xx/mpc8272_ads.c|5 + > arch/powerpc/platforms/82xx/pq2fads.c|5 + > arch/powerpc/platforms/embedded

Re: [PATCH] powerpc: reduce code duplication in legacy_serial, add UART parent types

2008-01-25 Thread Kumar Gala
> From: Paul Gortmaker <[EMAIL PROTECTED]> > Date: Thu, 24 Jan 2008 11:59:12 -0500 > Subject: [PATCH] powerpc: reduce code duplication in legacy_serial, add UART > parent types > > The legacy_serial was treating each UART parent in a separate code block. > Rather than continue this trend for the n

Re: [PATCH 0/10] Support for SBC834x/8548/8560 Wind River Boards

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Paul Gortmaker wrote: > > This series contains the patches for the Wind River SBC834x, SBC8548 and > SBC8560, grouped together for merge convenience. > > Changes since previous: > > sbc834x: > - machine_device_initcall as per Kumar's recent commit 6392f184 > - remo

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Peter Zijlstra
On Fri, 2008-01-25 at 18:25 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2008-01-25 at 18:03 +1100, Benjamin Herrenschmidt wrote: > > On Fri, 2008-01-25 at 17:54 +1100, Benjamin Herrenschmidt wrote: > > > > > > Here, I do the test of running 4 times the repro-case provided by Michel > > > with

Re: [PATCHv3 0/7] [POWERPC] 8xx cleanups

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Jochen Friedrich wrote: > Hi, > > this is a series against paulus for-2.6.25 tree to clean up various 8xx > related stuff. > The series can be pulled from git://git.bocc.de/dbox2.git cleanup. > Old patches 2+4 have been merged into Patch 2. Patch 4 has been modified to > move

Re: [PATCHv3 6/7] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-25 Thread Kumar Gala
On Jan 24, 2008, at 9:19 AM, Jochen Friedrich wrote: > Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. > Also > rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the > includes accordingly. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- > arch/p

what's in my tree for 2.6.25

2008-01-25 Thread Kumar Gala
Here's what I've currently got in my tree. I plan on looking at the following: * Anton V's device_type/compat cleanup * Kim's 83xx board ports * UCC TDM So if there are some other patches for 2.6.25 linger let me know. There are a few on my radar. - k Documentation/powerpc/booting-without-of.

Re: [PATCHv3 6/7] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-25 Thread Jochen Friedrich
Hi Kumar, >> drivers/net/fec.c |8 >> drivers/net/fec.h |2 +- > > asm-m68knommu/commproc.h ?? these are only built on coldfire. Yes. Here I just removed dead code (commented out using #ifdef on coldfire). Apparently the dri

[PATCH 1/3] Add set_dma_ops() to match get_dma_ops().

2008-01-25 Thread Michael Ellerman
Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]> --- include/asm-powerpc/dma-mapping.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/asm-powerpc/dma-mapping.h b/include/asm-powerpc/dma-mapping.h index 5eea6db..bbefb69 100644 --- a/include/asm-powerpc/dma

[PATCH 3/3] Cell IOMMU static mapping support

2008-01-25 Thread Michael Ellerman
Citing "release early release often", I'm posting this now as a mega-patch to get people looking at it. I'll try to split it up and make it look a little prettier before submitting it. The intent of this patch is to setup (on certain machines) a "static" IOMMU mapping of all of memory, to reduce t

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Michel Dänzer
On Thu, 2008-01-24 at 19:46 +1100, Benjamin Herrenschmidt wrote: > Could the fact that our sched_clock() returns utter crap if called > before time_init() explain the problem ? I don't think so. I've confirmed that it gets called exactly once before time_init(), but it just returns 0 then, which I

[PATCH 2/3] Allocate the hash table under 1G on cell

2008-01-25 Thread Michael Ellerman
In order to support our IOMMU performance trick, we need the hash table to be inside the DMA window. This is usually 2G, but let's make sure the hash table is under 1G as that will satisfy the IOMMU requirements and also means the hash table will be on node 0. Signed-off-by: Michael Ellerman <[EMA

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Michel Dänzer
On Fri, 2008-01-25 at 17:54 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2008-01-23 at 13:42 +0100, Peter Zijlstra wrote: > > Another question, do you have: > > CONFIG_FAIR_GROUP_SCHED=y > > > > if so, does flipping that off have any effect? > > Yes. > > Here, I do the test of running 4 tim

[patch 08/11] ps3fb: Reorganize modedb handling

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: Reorganize modedb handling: - Reorder the video modes in ps3fb_modedb, for easier indexing using PS3AV_MODE_* numbers, - Introduce ps3fb_native_vmode(), to convert from native (PS3AV_MODE_*) mode numbers to struct fb_videomode *, -

[PATCH 1/2] IB/ehca: Update sma_attr also in case of disruptive config change

2008-01-25 Thread Joachim Fenkes
Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_irq.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infiniband/hw/ehca/ehca_irq.c index 863b34f..b5ca94c 100644 --- a/drivers/infiniban

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

2008-01-25 Thread Scott Wood
Anton Vorontsov wrote: > Freescale soc register space: "fsl,soc" > generic soc device: "soc" (or maybe "linux,soc" better?) > > I know, Scott Wood is pushing "-immr" thing forward... but > I don't like that name because SOC isn't only device with the > Internal Memory Mapped Registers. If yo

Re: [PATCH 7/9] powerpc: add MPC837x RDB platform support

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > primarily based on mpc837x mds code. > > Signed-off-by: Joe D'Abbraccio <[EMAIL PROTECTED]> > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/83xx/Kconfig |8 ++- > arch/powerpc/platforms/83xx/Makefile |1

Re: [PATCH 9/9] powerpc: add the mpc837x rdb defconfig

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > Signed-off-by: Joe D'Abbraccio <[EMAIL PROTECTED]> > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > arch/powerpc/configs/mpc837x_rdb_defconfig | 887 > > 1 files changed, 887 insertions(+), 0 deletions(-) > create

Re: [PATCH 1/9] powerpc: fold the mpc8313 platform into the mpc831x platform

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > prepare for adding support for the mpc8315 rdb, > since they are identical wrt platform code. > > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > Kumar, this set of patches is base support for two new boards - the > mpc8315e rdb and the mpc837xe r

Re: [PATCH 3/5] [POWERPC][SPI] use brg-frequency for SPI in QE

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Anton Vorontsov wrote: > In case of QE we can use brg-frequency (which is qeclk/2). > Thus no need to divide sysclk in the spi_mpc83xx. > > This patch also adds code to use get_brgfreq() on QE chips. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > Acked-by: David Brow

Re: [PATCH 3/9] powerpc: Add the MPC8315E RDB dts

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > Add the dts for the MPC8315E Reference Development Board (RDB). > > The board is a mini-ITX reference board with 128M DDR2, 8M flash, > 32M NAND, USB, PCI, gigabit ethernet, SATA, and serial. > > Signed-off-by: Jerry Huang <[EMAIL PROTECTED]> > Signed-off

Re: [PATCH 6/9] add the mpc8315 rdb defconfig

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > arch/powerpc/configs/mpc8315_rdb_defconfig | 1417 > > 1 files changed, 1417 insertions(+), 0 deletions(-) > create mode 100644 arch/powerpc/configs/mpc8315_rdb_defcon

Re: [RFC][PATCH] remove section mappinng

2008-01-25 Thread Paul Mackerras
Badari Pulavarty writes: > Here is the code I cooked up, it seems to be working fine. > But I have concerns where I need your help. > > In order to invalidate htab entries, we need to find the "slot". > But I can only find the hpte group. Is it okay to invalidate the > first entry in the group ?

[PATCH] POWERPC: Convert StorCenter DTS file to /dts-v1/ format.

2008-01-25 Thread Jon Loeliger
Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/storcenter.dts | 73 + 1 files changed, 38 insertions(+), 35 deletions(-) diff --git a/arch/powerpc/boot/dts/storcenter.dts b/arch/powerpc/boot/dts/storcenter.dts index 6aa1d69..2204874 1

[PATCH] POWERPC: Convert all 86xx DTS files to /dts-v1/ format.

2008-01-25 Thread Jon Loeliger
Also fixed a few minor indent problems as well. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8610_hpcd.dts | 227 +++--- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 333 2 files changed, 281 insertions(+), 279 delet

Re: [PATCH 3/3] Cell IOMMU static mapping support

2008-01-25 Thread Olof Johansson
On Fri, Jan 25, 2008 at 09:45:07PM +1100, Michael Ellerman wrote: > Citing "release early release often", I'm posting this now as a mega-patch > to get people looking at it. I'll try to split it up and make it look a > little prettier before submitting it. > > The intent of this patch is to setup

Re: Reminder: removal of arch/ppc

2008-01-25 Thread Josh Boyer
On Fri, 25 Jan 2008 20:07:57 -0700 "Grant Likely" <[EMAIL PROTECTED]> wrote: > On 1/25/08, Kumar Gala <[EMAIL PROTECTED]> wrote: > > Just a reminder that the plan is to remove arch/ppc this summer (June > > 2008). > > I strongly recommend that we delay removal by about a month... > somewhere arou

Re: [PATCH] 5200 dts: add default address and size cells to soc node.

2008-01-25 Thread Grant Likely
On 1/25/08, Paul Gortmaker <[EMAIL PROTECTED]> wrote: > The various 5200 dts files don't have values specified for the soc > node, which in turn results in a warning from the processing of > every child node (roughly 40 warnings per file). This explicitly > sets the default values and gets rid of

[PATCH] qe/muram dts: Explicitly set address-cells and size cells for muram

2008-01-25 Thread Paul Gortmaker
Currently there are several dts that don't specify address or size cells for the muram. This causes dtc to use default values, one of which is an address-cells of two, and this breaks the parsing of the muram ranges, which is assuming an address-cells of one. For example: Warning (reg_format): "r

Re: Reminder: removal of arch/ppc

2008-01-25 Thread Grant Likely
On 1/25/08, Kumar Gala <[EMAIL PROTECTED]> wrote: > Just a reminder that the plan is to remove arch/ppc this summer (June > 2008). I strongly recommend that we delay removal by about a month... somewhere around July 23-26... so we can have a great big "ding, dong, arch/ppc is dead" party at OLS.

Re: Reminder: removal of arch/ppc

2008-01-25 Thread Josh Boyer
On Fri, 25 Jan 2008 17:30:32 -0800 Roland Dreier <[EMAIL PROTECTED]> wrote: > > > YUCCA > > > > Yucca was what again? 440spe? > > Yes, it was the first 440SPe eval board; since replaced by Katmai. > > I have a Yucca and can at least test thing; if no one else gets to it, > I may try to por

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Benjamin Herrenschmidt
On Sat, 2008-01-26 at 09:37 +0530, Srivatsa Vaddagiri wrote: > > Ben, > I presume you had CONFIG_FAIR_USER_SCHED turned on too? Yes. It seems to be automatically turned on whenever FAIR_GROUP is turned on. Considering how bad the behaviour is for a standard desktop configuration, I'd be

Re: [PATCH 063/196] kset: convert /sys/devices to use kset_create

2008-01-25 Thread Olof Johansson
On Thu, Jan 24, 2008 at 11:10:01PM -0800, Greg Kroah-Hartman wrote: > Dynamically create the kset instead of declaring it statically. We also > rename devices_subsys to devices_kset to catch all users of the > variable. Guess what, you broke powerpc again! [EMAIL PROTECTED]:~/work/linux/k.org $

Please pull for-2.6.25 branch of pasemi.git

2008-01-25 Thread Olof Johansson
Hi Paul, Please pull from 'for-2.6.25' branch of master.kernel.org:/pub/scm/linux/kernel/git/olof/pasemi.git for-2.6.25 to receive the following updates: arch/powerpc/kernel/smp.c | 49 +- 1 file changed, 36 insertions(+), 13 deletions(-) Olof J

Re: Reminder: removal of arch/ppc

2008-01-25 Thread Roland Dreier
> Hm. Katmai is already in-tree. Theoretically I should be able to get > the HW docs and do a new DTS and have it mostly "just work". Perhaps > I'll give that a shot and have you give it a quick spin. Yep, should be pretty easy. A while back I built a Katmai kernel in arch/ppc based on the

Re: [PATCH] create modalias file in sysfs for bus vio

2008-01-25 Thread Olaf Hering
On Wed, Jan 23, Stephen Rothwell wrote: > It would be nice if we could factor out the "vio:T%sS%s" string as it is > also used in vio_hotplug(). What exactly do you have in mind? Creating a tempstring seems to make things more complicated. ___ Linuxppc-

[PATCH]warp.c

2008-01-25 Thread Sean MacLennan
While merging, I found a small bug that I forgot to send. I add an offset to a value twice. It is much easier to diff if it doesn't show the entire file as new. Cheers, Sean MacLennan Signed-off-by: Sean MacLennan <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/platforms/44x/warp.c b/arch

Re: [PATCH 063/196] kset: convert /sys/devices to use kset_create

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 09:40:55PM -0600, Olof Johansson wrote: > On Thu, Jan 24, 2008 at 11:10:01PM -0800, Greg Kroah-Hartman wrote: > > Dynamically create the kset instead of declaring it statically. We also > > rename devices_subsys to devices_kset to catch all users of the > > variable. > > G

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Benjamin Herrenschmidt
> > Not that it seems that Michel reported far worse behaviour than what I > > saw, including pretty hickup'ish X behaviour even without the fair group > > scheduler compared to 2.6.23. It might be because he's running X niced > > to -1 (I leave X at 0 and let the scheduler deal with it in general

[PATCH] FIXED_MII_100_FDX

2008-01-25 Thread Sean MacLennan
On the last git pull, FIXED_MII_100_FDX was removed from the phy Kconfig, but the Kconfig for CPMAC still tried to select it. Cheers, Sean Signed-off-by: Sean MacLennan <[EMAIL PROTECTED]> --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9af05a2..297a4b5 100644 --- a/drivers/

Re: xsysace.c oops on restart

2008-01-25 Thread Grant Likely
On 1/25/08, Jean-Samuel Chenard <[EMAIL PROTECTED]> wrote: > Hi Grant, > > I'm writing this e-mail directly to you before posting in the > discussion forums because I found some issues with the xsysace.c > driver. You are listed as the main author of the driver, so I'm > assuming you might have a

[PATCH] 5200 dts: add default address and size cells to soc node.

2008-01-25 Thread Paul Gortmaker
The various 5200 dts files don't have values specified for the soc node, which in turn results in a warning from the processing of every child node (roughly 40 warnings per file). This explicitly sets the default values and gets rid of all the warnings. Signed-off-by: Paul Gortmaker <[EMAIL PROTE

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

2008-01-25 Thread Kumar Gala
On Jan 24, 2008, at 9:40 AM, Anton Vorontsov wrote: > We'll match on "soc" compatible for generic code, and "fsl,soc" > for fsl specific code. > > Unfortunately it's still impossible to remove device_type = "soc" > from the existing device tree, because older u-boots are looking for > it. > > Nei

Re: [PATCH 7/9] powerpc: add MPC837x RDB platform support

2008-01-25 Thread Kumar Gala
On Jan 24, 2008, at 8:47 PM, Kim Phillips wrote: > primarily based on mpc837x mds code. > > Signed-off-by: Joe D'Abbraccio <[EMAIL PROTECTED]> > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- Who's the actual other of these patches? (all 9 of them). - k _

Re: [PATCH] mpc834x_mds: Convert device tree source to dts-v1

2008-01-25 Thread Kumar Gala
On Jan 25, 2008, at 10:16 AM, Paul Gortmaker wrote: > Kumar Gala wrote: >> On Fri, 25 Jan 2008, Paul Gortmaker wrote: >> >> >>> Move mpc834x_mds device tree source forward to dts-v1 format. >>> Nothing >>> too complex in this one, so it boils down to just adding a bunch >>> of 0x >>> in the

Re: [PATCH v2] [POWERPC] 85xx: Port STX GP3 board over from arch/ppc

2008-01-25 Thread Kumar Gala
On Jan 25, 2008, at 10:08 AM, Scott Wood wrote: > On Thu, Jan 24, 2008 at 10:47:21PM -0600, Kumar Gala wrote: >> +[EMAIL PROTECTED] { > > [EMAIL PROTECTED] will fix this up in the tqm port as well. > > > -Scott >> +[EMAIL PROTECTED] { >> +#address-cells = <1>

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Benjamin Herrenschmidt
On Fri, 2008-01-25 at 16:04 +0100, Michel Dänzer wrote: > > Hmm, interesting. As I said before, I thought I had tested with this > > disabled and not seen a difference, but I'll try again to confirm. > > So, 2.6.24 final is indeed much better with this disabled, but still > not > as good as 2.6.2

Re: [PATCH 1/5] [POWERPC] qe_lib and users: get rid of most device_types and model

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Anton Vorontsov wrote: > Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data" > and "fsl,qe-ic". > > Unfortunately it's still impossible to remove device_type = "qe" > from the existing device trees (except for MPC8360E-RDK), because > older u-boots are lookin

Re: [PATCH 4/5] [POWERPC] fsl_spi_init and users: stop using device_type = "spi"

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Anton Vorontsov wrote: > Also: > - rename "fsl_spi" to "fsl,spi"; > - add and use cell-index property, if found; > - split probing code out of fsl_spi_init, thus we can call > it for legacy device_type probing and new "compatible" probing. > > Per http://ozlabs.org/pipermail

Re: [PATCH 2/9] powerpc: add base platform support for the mpc8315 rdb board

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > mpc8315 identical to mpc8313 here, just check compatible. > > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > arch/powerpc/platforms/83xx/Kconfig |2 +- > arch/powerpc/platforms/83xx/mpc831x_rdb.c |3 ++- > 2 files changed, 3 insert

Please pull 'for-2.6.25' branch of 4xx tree

2008-01-25 Thread Josh Boyer
Hi Paul, Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx.git for-2.6.25 to pick up a few more patches for 4xx that should go in for 2.6.25. Mostly self explanatory in the changelogs. The diffstat is mostly from the PIKA Warp board patches that Sean worked quit

Re: [i2c] [PATCH] mpc i2c driver, compare to NO_IRQ instead of zero

2008-01-25 Thread Jon Smirl
Any final objections to this patch? When these were changed to 0 instead of NO_IRQ it should have broken polling mode on ppc. ppc would treat polling mode, NO_IRQ=-1, as an error. On powerpc this change is a NOP since NO_IRQ=0. On 1/21/08, Jon Smirl <[EMAIL PROTECTED]> wrote: > Alter the mpc i2c

Re: [PATCH v3] create modalias file in sysfs for bus of_platform

2008-01-25 Thread Paul Mackerras
Olaf Hering writes: > Create /sys/bus/of_platform/devices/*/modalias file to allow autoloading > of modules. modalias files are already present for many other bus types. This one causes various oopses on boot for me, both on a dual G5 and on a tibook. Paul. __

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

2008-01-25 Thread Anton Vorontsov
On Fri, Jan 25, 2008 at 12:17:19PM -0600, Scott Wood wrote: > Anton Vorontsov wrote: > >Freescale soc register space: "fsl,soc" > >generic soc device: "soc" (or maybe "linux,soc" better?) > > > >I know, Scott Wood is pushing "-immr" thing forward... but > >I don't like that name because SOC isn

Re: [PATCH 7/9] powerpc: add MPC837x RDB platform support

2008-01-25 Thread Kim Phillips
On Fri, 25 Jan 2008 10:17:14 -0600 Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Jan 24, 2008, at 8:47 PM, Kim Phillips wrote: > > > primarily based on mpc837x mds code. > > > > Signed-off-by: Joe D'Abbraccio <[EMAIL PROTECTED]> > > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > > --- > > Who

drivers/char/hvc_* and /Documentation/powerpc/hvcs.txt

2008-01-25 Thread Timur Tabi
Hi, I'm working on a console driver for the Freescale hypervisor. I notice a bunch of hvc_* files in the drivers/char directory. I also noticed /Documentation/powerpc/hvcs.txt. My guess is that hvcs.txt talks about drivers/char/hvcs.c, which is a console driver specific to some IBM hyperviso

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

2008-01-25 Thread Anton Vorontsov
On Fri, Jan 25, 2008 at 08:13:55PM +0300, Anton Vorontsov wrote: [...] > My thinking: > > Freescale soc register space: "fsl,soc" > generic soc device: "soc" (or maybe "linux,soc" better?) > > I know, Scott Wood is pushing "-immr" thing forward... but > I don't like that name because SOC isn'

Re: [PATCH v2] [POWERPC] 85xx: Port STX GP3 board over from arch/ppc

2008-01-25 Thread Scott Wood
On Thu, Jan 24, 2008 at 10:47:21PM -0600, Kumar Gala wrote: > + [EMAIL PROTECTED] { [EMAIL PROTECTED] -Scott > + [EMAIL PROTECTED] { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "fsl,mpc8560-cpm", "fs

[RFC][PATCH] remove section mappinng

2008-01-25 Thread Badari Pulavarty
Hi Paul/Ben/Anton, As part of making memory remove working on ppc64, I need the code to remove htab mappings for the section of the memory. Here is the code I cooked up, it seems to be working fine. But I have concerns where I need your help. In order to invalidate htab entries, we need to find

[PATCH 0/2] IB/ehca: PMA support and a minor fix

2008-01-25 Thread Joachim Fenkes
This patchset will fix a minor issue and then add support for Performance MADs, which redirects all PMA queries to the actual PMA QP. [1/2] adds a missing query_pma_attr() [2/2] adds PMA redirection code The patches will apply, in order, on top of Roland's for-2.6.25 branch. Please review them an

Re: [PATCH] Fake NUMA emulation for PowerPC (Take 2)

2008-01-25 Thread Balbir Singh
* Michael Ellerman <[EMAIL PROTECTED]> [2008-01-18 16:44:58]: > > This fixes it, although I'm a little worried about some of the > removals/movings of node_set_online() in the patch. > > > diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c > index 1666e7d..dcedc26 100644 > --- a/arch/

Re: Reminder: removal of arch/ppc

2008-01-25 Thread Roland Dreier
> >YUCCA > > Yucca was what again? 440spe? Yes, it was the first 440SPe eval board; since replaced by Katmai. I have a Yucca and can at least test thing; if no one else gets to it, I may try to port it to arch/powerpc for 2.6.26. ___ Linuxppc-d

Re: drivers/char/hvc_* and /Documentation/powerpc/hvcs.txt

2008-01-25 Thread Olof Johansson
On Fri, Jan 25, 2008 at 04:39:27PM -0600, Timur Tabi wrote: > Hi, > > I'm working on a console driver for the Freescale hypervisor. I notice a > bunch > of hvc_* files in the drivers/char directory. I also noticed > /Documentation/powerpc/hvcs.txt. > > My guess is that hvcs.txt talks about d

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

2008-01-25 Thread Anton Vorontsov
On Fri, Jan 25, 2008 at 01:03:28PM -0600, Scott Wood wrote: > Anton Vorontsov wrote: > >$ grep qe@ arch/powerpc/boot/dts/* > >arch/powerpc/boot/dts/mpc832x_mds.dts: [EMAIL PROTECTED] { > >arch/powerpc/boot/dts/mpc832x_rdb.dts: [EMAIL PROTECTED] { > >arch/powerpc/boot/dts/mpc836x_mds.dts: [EMAIL

Re: [PATCH 5/9] powerpc: ipic: add interrupt vector 94

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > this is used on the mpc8315 SoC for DMA error interrupts. > > Signed-off-by: Jerry Huang <[EMAIL PROTECTED]> > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > arch/powerpc/sysdev/ipic.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletio

Re: [PATCH 8/9] powerpc: add the mpc837[789]_rdb dts files

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > Add the dts files for the MPC838xE Reference Development Board (RDB). > > The board is a mini-ITX reference board with 256M DDR2, 8M flash, > 32M NAND, USB, PCI, gigabit ethernet, SATA, and serial. > > the difference among the three files is the 8377 has

Re: [PATCH 2/5] [POWERPC][NET] ucc_geth_mii and users: get rid of device_type

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Anton Vorontsov wrote: > device_type property is bogus, thus use proper compatible. > > Also change compatible property to "fsl,ucc-mdio". > > Per http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048388.html > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- >

[PATCHv3 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-01-25 Thread Jochen Friedrich
Using the port of 2.4 code from Vitaly Bordug <[EMAIL PROTECTED]> and the actual algorithm used by the i2c driver of the DBox code on cvs.tuxboc.org from Tmbinc, Gillem ([EMAIL PROTECTED]). Renamed i2c-rpx.c and i2c-algo-8xx.c to i2c-cpm.c and converted the driver to an of_platform_driver. Signed-

Re: [PATCH 6/5] [POWERPC] get rid of `model = "UCC"' in the ucc nodes

2008-01-25 Thread Kumar Gala
On Jan 25, 2008, at 8:37 AM, Anton Vorontsov wrote: > It isn't used anywhere, so remove it. If we'll ever need something > like this, we'll use compatible property instead. > > Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> > --- > > New cleanup in this series... > > Documentation/powerpc/boo

Reminder: removal of arch/ppc

2008-01-25 Thread Kumar Gala
Just a reminder that the plan is to remove arch/ppc this summer (June 2008). The following boards still existing over in arch/ppc. Some of them have been ported over to arch/powerpc. If you care about one of these boards and its not ported speak up (it helps if you have access to the boa

[PATCH] hide kernel only code in asm-powerpc/elf.h

2008-01-25 Thread Olaf Hering
stuff inside CONFIG_* should not be exported via make headers-install Signed-off-by: Olaf Hering <[EMAIL PROTECTED]> --- include/asm-powerpc/elf.h |2 ++ 1 file changed, 2 insertions(+) --- a/include/asm-powerpc/elf.h +++ b/include/asm-powerpc/elf.h @@ -420,6 +420,7 @@ do {

Re: [i2c] [PATCH] Convert pfc8563 i2c driver from old style to new style

2008-01-25 Thread Jon Smirl
Any final objections to this patch? Jean can you pick it up? On 1/21/08, Jon Smirl <[EMAIL PROTECTED]> wrote: > Convert pfc8563 i2c driver from old style to new style. > > Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> > --- > > drivers/rtc/rtc-pcf8563.c | 107 > +++---

Re: [PATCHv3 7/7] [POWERPC] Move definition of buffer descriptor to cpm.h

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Jochen Friedrich wrote: > Buffer descriptors are used by both CPM1 and CPM2. Move the definitions > from the cpm dependent include file to common cpm.h > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- > include/asm-powerpc/cpm.h | 73 +++

Re: [PATCH 4/9] enable FSL SATA driver config for Freescale SoCs

2008-01-25 Thread Kumar Gala
On Jan 24, 2008, at 8:46 PM, Kim Phillips wrote: > The mpc8315 shares the same SATA controller as the mpc837x, > and likelihood is that future SoCs from Freescale will also. > > Signed-off-by: Jerry Huang <[EMAIL PROTECTED]> > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > Kumar, let me

Re: [PATCH for-2.6.25] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-25 Thread Kumar Gala
On Fri, 25 Jan 2008, Jochen Friedrich wrote: > Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also > rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the > includes accordingly. > > Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> > --- > arch/powerpc/platf

[patch 09/11] ps3fb: Round up video modes

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: Round up arbitrary video modes until they fit (if possible) Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/video/ps3fb.c | 160 +++--- 1 file changed, 114 insertions(+), 46 deletio

[patch 07/11] ps3fb: Add support for configurable black borders

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: Allow all video modes where the visible resolution plus the black borders matches a native resolution Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> -- drivers/video/ps3fb.c | 69 +++--- 1 fi

[patch 03/11] ps3fb: Kill PS3FB_FULL_MODE_BIT

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: Kill PS3FB_FULL_MODE_BIT, use PS3AV_MODE_FULL instead Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/video/ps3fb.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) --- a/drivers/video/ps3fb.c +++ b/drivers/vi

[patch 02/11] ps3: Use symbolic names for video modes

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3: Use symbolic names for video modes Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/ps3/ps3av.c | 39 --- drivers/video/ps3fb.c | 17 ++--- include/asm-powerpc/ps3

[patch 00/11] ps3av/3fb patches for 2.6.25

2008-01-25 Thread Geert Uytterhoeven
Hi Tony, Andrew, Hare are the ps3av/fb patches for 2.6.25: [1] ps3av: ps3av_get_scanmode() and ps3av_get_refresh_rate() are unused [2] ps3: Use symbolic names for video modes [3] ps3fb: Kill PS3FB_FULL_MODE_BIT [4] ps3fb: Inline macros that are used only once [5] ps3fb: Kill ps3f

[PATCH] [NET]: Remove PowerPC code from fec.c

2008-01-25 Thread Jochen Friedrich
fec.c is only used on M68k Coldfire CPUs. Remove leftover PowerPC code from this driver. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- drivers/net/fec.c | 136 +--- 1 files changed, 3 insertions(+), 133 deletions(-) diff --git a/drivers/

[PATCH for-2.6.25] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-25 Thread Jochen Friedrich
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the includes accordingly. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |1 + arch/powerpc/platform

[PATCH v3] [POWERPC] MPC8360E-RDK: device tree, board file and defconfig

2008-01-25 Thread Anton Vorontsov
On Wed, Jan 23, 2008 at 11:45:07PM +0300, Anton Vorontsov wrote: [...] > Hello Kumar, > > ...if there will no further comments regarding this board, it would > be great if you will merge it for 2.6.25. I've reworked that patch so > today it doesn't depend on the cleanup queue. That is, the device

Patches added to for-2.6.25/master branches of powerpc.git

2008-01-25 Thread Paul Mackerras
This includes commits pulled from Josh Boyer, Kumar Gala, Grant Likely, and Olof Johansson. I reverted the "Fake NUMA emulation for PowerPC" commit because it changed behaviour even when the fake numa command-line option wasn't given. I'll be asking Linus to pull within the next few days, so plea

[PATCH] [POWERPC] 85xx: some minor cleanups for stx_gp3 and tqm85xx

2008-01-25 Thread Kumar Gala
* "simple-bus" covers all our needs for of_platform_bus_probe() * make device tree name just 'soc' not 'soc85..' --- arch/powerpc/boot/dts/stx_gp3_8560.dts |2 +- arch/powerpc/boot/dts/tqm8540.dts |2 +- arch/powerpc/boot/dts/tqm8541.dts |2 +- arch/powerpc/boot/dts/tqm8555.

[PATCH 2/2] IB/ehca: Add PMA support

2008-01-25 Thread Joachim Fenkes
From: Hoang-Nam Nguyen <[EMAIL PROTECTED]> This patch enables ehca to redirect any PMA queries to the actual PMA QP. Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> Reviewed-by: Joachim Fenkes <[EMAIL PROTECTED]> Reviewed-by: Christoph Raisch <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehc

Re: [PATCH 5/5] [POWERPC] fsl_soc, legacy_serial: add support for "soc" compatible matching

2008-01-25 Thread Anton Vorontsov
On Fri, Jan 25, 2008 at 10:35:06AM -0600, Kumar Gala wrote: > > On Jan 24, 2008, at 9:40 AM, Anton Vorontsov wrote: > > >We'll match on "soc" compatible for generic code, and "fsl,soc" > >for fsl specific code. > > > >Unfortunately it's still impossible to remove device_type = "soc" > >from the e

Re: [Cbe-oss-dev] [PATCH 3/3] Cell IOMMU static mapping support

2008-01-25 Thread Geert Uytterhoeven
On Fri, 25 Jan 2008, Michael Ellerman wrote: > Citing "release early release often", I'm posting this now as a mega-patch > to get people looking at it. I'll try to split it up and make it look a > little prettier before submitting it. > > The intent of this patch is to setup (on certain machines)

[PATCH 6/5] [POWERPC] get rid of `model = "UCC"' in the ucc nodes

2008-01-25 Thread Anton Vorontsov
It isn't used anywhere, so remove it. If we'll ever need something like this, we'll use compatible property instead. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- New cleanup in this series... Documentation/powerpc/booting-without-of.txt |1 - arch/powerpc/boot/dts/mpc832x_mds.dts

Re: [PATCH] [NET]: Remove PowerPC code from fec.c

2008-01-25 Thread Geert Uytterhoeven
On Fri, 25 Jan 2008, Jochen Friedrich wrote: > fec.c is only used on M68k Coldfire CPUs. Remove leftover > PowerPC code from this driver. As per MAINTAINERS, m68knommu is handled by: UCLINUX (AND M68KNOMMU) P: Greg Ungerer M: [EMAIL PROTECTED] L: [EMAIL PROTECTED] (subscribers-onl

Re: ppc32: Weird process scheduling behaviour with 2.6.24-rc

2008-01-25 Thread Michel Dänzer
On Fri, 2008-01-25 at 12:34 +0100, Michel Dänzer wrote: > On Fri, 2008-01-25 at 17:54 +1100, Benjamin Herrenschmidt wrote: > > On Wed, 2008-01-23 at 13:42 +0100, Peter Zijlstra wrote: > > > Another question, do you have: > > > CONFIG_FAIR_GROUP_SCHED=y > > > > > > if so, does flipping that off

Re: [PATCH] mpc834x_mds: Convert device tree source to dts-v1

2008-01-25 Thread Kumar Gala
On Fri, 25 Jan 2008, Paul Gortmaker wrote: > Move mpc834x_mds device tree source forward to dts-v1 format. Nothing > too complex in this one, so it boils down to just adding a bunch of 0x > in the right places and converting clock speeds to decimal. > > Signed-off-by: Paul Gortmaker <[EMAIL PROTE

[patch 01/11] ps3av: ps3av_get_scanmode() and ps3av_get_refresh_rate() are unused

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3av: ps3av_get_scanmode() and ps3av_get_refresh_rate() are unused, so remove them Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/ps3/ps3av.c | 58 +--- include/asm-powerpc/ps3av.h

[patch 11/11] ps3fb: Fix modedb typos

2008-01-25 Thread Geert Uytterhoeven
From: Geoff Levand <[EMAIL PROTECTED]> ps3fb: Fix modedb typos Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/video/ps3fb.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/video/ps3fb.c +++ b/drivers/v

[patch 10/11] ps3fb: Cleanup sweep

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: cleanup sweep: - Kill ps3fb_priv.xdr_ea and ps3fb_priv.xdr_size, use info->screen_base and info->fix.smem_len instead. - Kill superfluous assignments to info->fix.smem_start, info->fix.smem_len, and info->screen_base in ps3fb_set_par(

[patch 04/11] ps3fb: Inline macros that are used only once

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: inline the X_OFF(), Y_OFF(), WIDTH(), HEIGHT(), and VP_OFF() macros, as they're used in one place only Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/video/ps3fb.c | 12 1 file changed, 4 insertions(+), 8 delet

[patch 06/11] ps3fb: Make frame buffer offsets unsigned int

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: Frame buffer offsets don't have to be `unsigned long', `unsigned int' is sufficient Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/video/ps3fb.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) --- a/drivers

[patch 05/11] ps3fb: Kill ps3fb_res

2008-01-25 Thread Geert Uytterhoeven
From: Geert Uytterhoeven <[EMAIL PROTECTED]> ps3fb: kill ps3fb_res[], as all information it contains can be obtained in some other way. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> --- drivers/video/ps3fb.c | 108 ++ 1 file changed, 22 in

Re: [PATCH] [NET]: Remove PowerPC code from fec.c

2008-01-25 Thread Jochen Friedrich
Hi Frans, > Jochen Friedrich wrote: >> +++ b/drivers/net/fec.c >> @@ -23,6 +23,9 @@ >> * >> * Bug fixes and cleanup by Philippe De Muyter ([EMAIL PROTECTED]) >> * Copyright (c) 2004-2006 Macq Electronique SA. >> + * >> + * This driver is now only used on ColdFire processors. Remove condition

Re: [PATCH 4/9] enable FSL SATA driver config for Freescale SoCs

2008-01-25 Thread Kumar Gala
On Thu, 24 Jan 2008, Kim Phillips wrote: > The mpc8315 shares the same SATA controller as the mpc837x, > and likelihood is that future SoCs from Freescale will also. > > Signed-off-by: Jerry Huang <[EMAIL PROTECTED]> > Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> > --- > Kumar, let me know if y

  1   2   >