[PATCH] therm_adt746x: signed/unsigned confusion

2009-01-18 Thread Roel Kluin
As suggested, this is used for signed rather than unsigned Signed-off-by: Roel Kluin --- diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c index 82607ad..c0621d5 100644 --- a/drivers/macintosh/therm_adt746x.c +++ b/drivers/macintosh/therm_adt746x.c @@ -498,8 +498

Re: Re[2]: [PATCH][v4] powerpc 44x: support for 256KB PAGE_SIZE

2009-01-18 Thread Josh Boyer
On Sat, Jan 17, 2009 at 08:32:25PM -0600, Milton Miller wrote: > On Jan 16, 2009, at 9:18 AM, Yuri Tikhonov wrote: >> On Friday, January 16, 2009 you wrote: >>> On Jan 12, 2009, at 4:49 PM, Yuri Tikhonov wrote: >> This patch adds support for 256KB pages on ppc44x-based boards. >> >> +conf

[PATCH] add i2c eeprom to dts for mpc 837x rdb

2009-01-18 Thread Reynes Philippe
Signed-off-by: Philippe Reynes --- diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts b/arch/powerpc/boot/dts/mpc8377_rdb.dts index 9413af3..a8276d4 100644 --- a/arch/powerpc/boot/dts/mpc8377_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts @@ -116,6 +116,12 @@ interrup

Re: [PATCH 9/10] powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED v2

2009-01-18 Thread Gerhard Pircher
Original-Nachricht > Datum: Fri, 19 Dec 2008 16:13:51 +1100 > Von: Benjamin Herrenschmidt > An: Paul Mackerras > CC: linuxppc-dev@ozlabs.org, Kumar Gala > Betreff: [PATCH 9/10] powerpc/mm: Rework usage of > _PAGE_COHERENT/NO_CACHE/GUARDED v2 > Currently, we never set _PA

Re: [PATCH 9/10] powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED v2

2009-01-18 Thread Benjamin Herrenschmidt
On Sun, 2009-01-18 at 20:43 +0100, Gerhard Pircher wrote: > I'm pretty sure that the hack for setup_32.c above protects this code in > hash_low_32.S/ > create_hpte() from being overwritten with nops. But I wonder which other > paths exists > in the memory management code to set the coherent flag

Re: [PATCH 9/10] powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED v2

2009-01-18 Thread Gerhard Pircher
Original-Nachricht > Datum: Mon, 19 Jan 2009 06:55:06 +1100 > Von: Benjamin Herrenschmidt > An: Gerhard Pircher > CC: pau...@samba.org, kumar.g...@freescale.com, linuxppc-dev@ozlabs.org > Betreff: Re: [PATCH 9/10] powerpc/mm: Rework usage of > _PAGE_COHERENT/NO_CACHE/GUARDED v

Re: [BUG] 2.6.28-git12: "powerpc/pci: Reserve legacy regions on PCI" broke my G3

2009-01-18 Thread Benjamin Herrenschmidt
On Sat, 2009-01-17 at 23:46 +0100, Mikael Pettersson wrote: > The 2.6.29-rc kernels hang during boot on my PowerMac G3 (Beige). > The last messages I see on the console are > > Kernel command line: ramdisk_size=8192 > irq: Found primary Apple PIC /pci/mac-io for 64 irqs > irq: System has 64 possib

[PATCH] add i2c eeprom to dts for mpc 837x rdb

2009-01-18 Thread Reynes Philippe
Signed-off-by: Philippe Reynes --- diff --git a/arch/powerpc/boot/dts/mpc8377_rdb.dts b/arch/powerpc/boot/dts/mpc8377_rdb.dts index 9413af3..a8276d4 100644 --- a/arch/powerpc/boot/dts/mpc8377_rdb.dts +++ b/arch/powerpc/boot/dts/mpc8377_rdb.dts @@ -116,6 +116,12 @@ interrup

[PATCH] pci/msi: Use #ifdefs instead of weak functions

2009-01-18 Thread Michael Ellerman
Weak functions aren't all they're cracked up to be. They lead to incorrect binaries with some toolchains, they require us to have empty functions we otherwise wouldn't, and the unused code is not elided (as of gcc 4.3.2 anyway). So replace the weak MSI arch hooks with the #define foo foo idiom. We

Re: Device Tree setup for 8272-based board

2009-01-18 Thread Daniel Ng
Hi Scott, On Sat, Jan 17, 2009 at 5:14 AM, Scott Wood wrote: > >> /dts-v1/; >> >> / { >> model = "HPXRED"; >> compatible = "fsl,mpc8272ads"; > > Is it 100% compatible? If not, change the compatible to something else > (and make sure your board code matches it). My board is similar to the mpc8272