[PATCH 9/9] 8313rdb: Convert mpc8313 RDB to dts-v1 format.

2008-01-27 Thread Paul Gortmaker
Convert the MPC8313 RDB dts file to v1 format. Entries for values normally parsed by humans are left in decimal (i.e. IRQ, cache size, clock rates, basic counts and index values). Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts | 126 +

[PATCH 8/9] 8349mitxgp: Convert mpc8349e MITX GP to dts-v1 format.

2008-01-27 Thread Paul Gortmaker
Convert the MPC8349 MITX GP dts file to v1 format. Entries for values normally parsed by humans are left in decimal (i.e. IRQ, cache size, clock rates, basic counts and index values). Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8349emitxgp.dts | 107 ++

[PATCH 7/9] 8349mitx: Convert mpc8349e-mitx to dts-v1 format.

2008-01-27 Thread Paul Gortmaker
Convert the MPC8349 MITX dts file to v1 format. Entries for values normally parsed by humans are left in decimal (i.e. IRQ, cache size, clock rates, basic counts and index values). Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8349emitx.dts | 153 +++

[PATCH 6/9] mpc832x_rdb: Convert mpc832x_rdb to dts-v1 format.

2008-01-27 Thread Paul Gortmaker
Convert the MPC832x RDB dts file to v1 format. Entries for values normally parsed by humans are left in decimal (i.e. IRQ, cache size, clock rates, basic counts and index values). Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_rdb.dts | 150 +

[PATCH 5/9] mpc832x_mds: Convert mpc832x_mds to dts-v1 format.

2008-01-27 Thread Paul Gortmaker
Convert the MPC832x MDS dts file to v1 format. Entries for values normally parsed by humans are left in decimal (i.e. IRQ, cache size, clock rates, basic counts and index values). Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts | 234 +

[PATCH 4/9] mpc836x: Convert mpc836x_mds to dts-v1 format.

2008-01-27 Thread Paul Gortmaker
Convert the MPC836x MDS dts file to v1 format. Entries for values normally parsed by humans are left in decimal (i.e. IRQ, cache size, clock rates, basic counts and index values). Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc836x_mds.dts | 254 +

[PATCH 0/9] 83xx DTS fixes and v1 conversions

2008-01-27 Thread Paul Gortmaker
This series incorporates my earlier qe/muram fix before converting the existing mpc83xx DTS files to v1 format. I've also redone the mpc834x_mds with the IRQs as decimal as per Kumar's comments and re-included that too. I've kept each board as a separate commit in case one of them conflicts with

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

2008-01-27 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

[PATCH 3/9] sbc8349: convert human parseable DTS properties to decimal

2008-01-27 Thread Paul Gortmaker
To be consistent with the other DTS v1 conversions pending, things like cache size and IRQ values should be decimal. Signed-off-by: Paul Gortmaker <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/sbc8349.dts | 40 ++-- 1 files changed, 20 insertions(+), 20 deletions

[PATCH 2/9] mpc834x_mds: Convert device tree source to dts-v1

2008-01-27 Thread Paul Gortmaker
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 PROTECTED]> --- arch/powerpc/boot/dts/mpc834x_mds.dts |

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

2008-01-27 Thread Benjamin Herrenschmidt
On Sun, 2008-01-27 at 17:13 +0100, Michel Dänzer wrote: > > > Do you see behavior change (from good->bad) immediately after > applying that patch > > during your bisect process? > > Yes, confirmed by trying that commit and its parent again. Just to be paranoid... can you try with a different g

PATCH[1/1] 8xx: Add clock-frequency to .dts brg entries

2008-01-27 Thread Bryan O'Donoghue
cpm_uart_core has a dependency on fsl,cpm-brg/clock-frequency, this means that a .dts that uses the cpm uart driver needs to supply a clock-frequency entry for get_brgfreq to return a meaningful number. Included is a patchset which adds the correct brgclk to the adder port - @ 50Mhz and also adds

Re: [PATCH 3/3] [POWERPC] QE: implement GPIO LIB API

2008-01-27 Thread Anton Vorontsov
On Sun, Jan 27, 2008 at 01:59:51PM -0700, Grant Likely wrote: a> On 1/27/08, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > > On Sun, Jan 27, 2008 at 02:42:12PM +0100, Jochen Friedrich wrote: > > > Hi Anton, > > > > > > > +static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int > > > >

Re: [PATCH 3/3] [POWERPC] QE: implement GPIO LIB API

2008-01-27 Thread Grant Likely
On 1/27/08, Anton Vorontsov <[EMAIL PROTECTED]> wrote: > On Sun, Jan 27, 2008 at 02:42:12PM +0100, Jochen Friedrich wrote: > > Hi Anton, > > > > > +static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) > > > +{ > > > + struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); >

[ppc] Disparity between sys_clock_getres and vdso implementation

2008-01-27 Thread Sripathi Kodi
Hi Paul, On PPC, I see a disparity between clock_getres implementations in the vdso and syscall. I am using a IBM Openpower hardware and 2.6.24 kernel with CONFIG_HIGH_RES_TIMERS=y. clock_getres call for CLOCK_REALTIME returns 1 millisecond. However, when I edit arch/powerpc/kernel/vdso*/gettime

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

2008-01-27 Thread Nish Aravamudan
On 1/27/08, Balbir Singh <[EMAIL PROTECTED]> wrote: > * Paul Mackerras <[EMAIL PROTECTED]> [2008-01-27 22:55:43]: > > > Balbir Singh writes: > > > > > Here's a better and more complete fix for the problem. Could you > > > please see if it works for you? I tested it on a real NUMA box and it > > > s

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

2008-01-27 Thread Geoff Levand
On 01/27/2008 03:15 AM, Geert Uytterhoeven wrote: > On Sun, 27 Jan 2008, Andrew Morton wrote: >> > On Sun, 27 Jan 2008 10:44:40 +0100 (CET) Geert Uytterhoeven <[EMAIL >> > PROTECTED]> wrote: >> > I posted these patches before, about 2 months ago. Unfortunately I didn't >> > CC >> > you at that ti

Re: [PATCH 2/3] i2c: Convert all new-style drivers to use module aliasing

2008-01-27 Thread Jon Smirl
On 1/27/08, David Brownell <[EMAIL PROTECTED]> wrote: > General comment: if you're going to index arrays by enum > values, it's best to initialize them that way too. Else > you're expecting a particular optional policy for how the > enums get grown... Even better is the way the m41t80 driver doe

Re: [PATCH 2/3] i2c: Convert all new-style drivers to use module aliasing

2008-01-27 Thread David Brownell
General comment: if you're going to index arrays by enum values, it's best to initialize them that way too. Else you're expecting a particular optional policy for how the enums get grown... - Dave On Monday 21 January 2008, Jean Delvare wrote: > --- linux-2.6.24-rc8.orig/drivers/rtc/rtc-ds1307

Re: [PATCH 3/3] [POWERPC] QE: implement GPIO LIB API

2008-01-27 Thread Anton Vorontsov
On Sun, Jan 27, 2008 at 02:42:12PM +0100, Jochen Friedrich wrote: > Hi Anton, > > > +static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) > > +{ > > + struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); > > + struct port_regs *regs = mm_gc->regs; > > + u32 pin_mask;

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

2008-01-27 Thread Jon Loeliger
So, like, the other day Josh Boyer mumbled: > > There are lots of powerpc sub-trees. Kumar's, Geoff's, mine, Olof's, > Grant's, Vitaly's are just the ones I can think of the top of my head. > > Shouldn't we just ask Paul to sync up more often rather than have > Andrew track X number of trees tha

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

2008-01-27 Thread Michel Dänzer
On Sat, 2008-01-26 at 10:39 +0530, Srivatsa Vaddagiri wrote: > On Sat, Jan 26, 2008 at 03:13:54PM +1100, Benjamin Herrenschmidt wrote: > > > > Also were the dd process and the niced processes running under > > > different user ids? If so, that is expected behavior, that we divide > > > CPU equa

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

2008-01-27 Thread Balbir Singh
* Paul Mackerras <[EMAIL PROTECTED]> [2008-01-27 22:55:43]: > Balbir Singh writes: > > > Here's a better and more complete fix for the problem. Could you > > please see if it works for you? I tested it on a real NUMA box and it > > seemed to work fine there. > > There are a couple of other chang

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

2008-01-27 Thread Josh Boyer
On Sun, 27 Jan 2008 12:15:28 +0100 (CET) Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > On Sun, 27 Jan 2008, Andrew Morton wrote: > > > On Sun, 27 Jan 2008 10:44:40 +0100 (CET) Geert Uytterhoeven <[EMAIL > > > PROTECTED]> wrote: > > > On Sat, 26 Jan 2008, Andrew Morton wrot

Re: [PATCH 3/3] [POWERPC] QE: implement GPIO LIB API

2008-01-27 Thread Jochen Friedrich
Hi Anton, > +static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) > +{ > + struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); > + struct port_regs *regs = mm_gc->regs; > + u32 pin_mask; > + u32 tmp_val; > + > + /* calculate pin location */ > + pin_

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

2008-01-27 Thread Paul Mackerras
Balbir Singh writes: > Here's a better and more complete fix for the problem. Could you > please see if it works for you? I tested it on a real NUMA box and it > seemed to work fine there. There are a couple of other changes in behaviour that your patch introduces, and I'd like to understand them

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

2008-01-27 Thread Geert Uytterhoeven
Hi Andrew, On Sun, 27 Jan 2008, Andrew Morton wrote: > > On Sun, 27 Jan 2008 10:44:40 +0100 (CET) Geert Uytterhoeven <[EMAIL > > PROTECTED]> wrote: > > On Sat, 26 Jan 2008, Andrew Morton wrote: > > > > On Fri, 25 Jan 2008 16:06:23 +0100 Geert Uytterhoeven <[EMAIL > > > > PROTECTED]> wrot

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

2008-01-27 Thread Andrew Morton
> On Sun, 27 Jan 2008 10:44:40 +0100 (CET) Geert Uytterhoeven <[EMAIL > PROTECTED]> wrote: > Hi Andrew, > > On Sat, 26 Jan 2008, Andrew Morton wrote: > > > On Fri, 25 Jan 2008 16:06:23 +0100 Geert Uytterhoeven <[EMAIL PROTECTED]> > > > wrote: > > > Hare are the ps3av/fb patches for 2.6.25:

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

2008-01-27 Thread Geert Uytterhoeven
On Sat, 26 Jan 2008, Andrew Morton wrote: > > On Fri, 25 Jan 2008 16:06:32 +0100 Geert Uytterhoeven <[EMAIL PROTECTED]> > > wrote: > > static int ps3fb_cmp_mode(const struct fb_videomode *vmode, > > const struct fb_var_screeninfo *var) > > { > > - /* resolution + black bo

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

2008-01-27 Thread Geert Uytterhoeven
Hi Andrew, On Sat, 26 Jan 2008, Andrew Morton wrote: > > On Fri, 25 Jan 2008 16:06:23 +0100 Geert Uytterhoeven <[EMAIL PROTECTED]> > > wrote: > > Hare are the ps3av/fb patches for 2.6.25: > > I would have to say: it's a bit late to be submitting things of this nature > for 2.6.25. Given

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

2008-01-27 Thread Geert Uytterhoeven
On Sat, 26 Jan 2008, Andrew Morton wrote: > > On Fri, 25 Jan 2008 16:06:27 +0100 Geert Uytterhoeven <[EMAIL PROTECTED]> > > wrote: > > 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