Re: I2C on mpc8248 / device tree

2007-11-13 Thread Kumar Gala
On Nov 13, 2007, at 5:39 PM, Alan Bennett wrote: > I've got four devices on i2c that I need to read. Simple thermal > and voltage monitors. I2c works fine in uboot, and now I'm trying > to get things to work in linux. > > In the kernel .config I enable > I2C > and > I2C_MPC This driver

Re: [PATCH] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h.

2007-11-13 Thread Stephen Rothwell
On Tue, 13 Nov 2007 07:48:50 -0600 Jon Loeliger <[EMAIL PROTECTED]> wrote: > > I'm assuming I can chip away at _all_ of these, > including the ones in the drivers/ directories as well. Knock yourself out! :-) > I haven't a clue who will really pick all these up. > We could arrange for Paul to gr

[PATCH] [POWERPC] pSeries: make pseries_defconfig minus PCI build again

2007-11-13 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/platforms/pseries/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Cheers, Stephen Rothwell[EMAIL PROTECTED] diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platfo

Re: [PATCH 0/2] PowerPC: 4xx uic updates

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 20:05 -0600, Josh Boyer wrote: > On Tue, 13 Nov 2007 23:15:59 +0300 > Valentine Barshak <[EMAIL PROTECTED]> wrote: > > > These patches update 4xx uic code. The first one > > fixes a minor issue with edge-triggered interrupts, > > while the second one makes it use generic lev

Re: [PATCH 2/2] PowerPC: make 4xx uic use generic edge and level irq handlers

2007-11-13 Thread Benjamin Herrenschmidt
On Wed, 2007-11-14 at 13:13 +1100, David Gibson wrote: > Hrm. I *think* I'm convinced this is safe, although acking in a > callback which doesn't say it acks is rather yucky. Essentially this > code is trading flow readability (because just reading > handle_level_irq will tell you something othe

Re: [PATCH] pci hotplug: fix rpaphp directory naming

2007-11-13 Thread Greg KH
On Tue, Nov 13, 2007 at 06:34:55PM -0600, Linas Vepstas wrote: > > > Fix presentation of the slot number in the /sys/bus/pci/slots > directory to match that used in the majority of other drivers. We need a signed-off-by: to be able to apply this... thanks, greg k-h

RE: printk/console_init - baud rate setting

2007-11-13 Thread Siva Prasad
Thanks a lot Geert and Benjamin for your response. Code is indeed calling register_console from three different places 1) con_init()[name-tty], 2) serial8250_console_init()[name-ttyS], 3) early_uart_console_init()[name-uart]. Among these, 8250 must be the active one. Also serial8250_console_wr

Re: [PATCH 0/2] PowerPC: 4xx uic updates

2007-11-13 Thread David Gibson
On Tue, Nov 13, 2007 at 08:05:14PM -0600, Josh Boyer wrote: > On Tue, 13 Nov 2007 23:15:59 +0300 > Valentine Barshak <[EMAIL PROTECTED]> wrote: > > > These patches update 4xx uic code. The first one > > fixes a minor issue with edge-triggered interrupts, > > while the second one makes it use gener

Re: [PATCH 2/2] PowerPC: make 4xx uic use generic edge and level irq handlers

2007-11-13 Thread David Gibson
On Tue, Nov 13, 2007 at 11:27:31PM +0300, Valentine Barshak wrote: > This patch makes PowerPC 4xx UIC use generic edge and level irq handlers > instead of a custom handle_uic_irq() function. Acking a level irq on UIC > has no effect if the interrupt is still asserted by the device, even if > the in

Re: [PATCH 0/2] PowerPC: 4xx uic updates

2007-11-13 Thread Josh Boyer
On Tue, 13 Nov 2007 23:15:59 +0300 Valentine Barshak <[EMAIL PROTECTED]> wrote: > These patches update 4xx uic code. The first one > fixes a minor issue with edge-triggered interrupts, > while the second one makes it use generic level and edge irq > handlers. I've added irq ack'ing to the unmask c

Xilinx Linux git server available

2007-11-13 Thread Wolfgang Reissnegger
Hi all, I'm happy to announce that the Xilinx Linux Kernel git server is finally up and running and available to the public. The Xilinx Linux Kernel is based on the mainline Linux Kernel from kernel.org and adds driver support for various Xilinx IP cores and Xilinx reference boards. It contain

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Jon Smirl
On 11/13/07, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > That's why Dominic wants to get OpenOCD running on the PowerPC. All we > > need is the programming documentation for controlling the CPU via the > > debug hardware. > > Note that this is basically different for every CPU around.

[PATCH] pci hotplug: rm bogus item in rpaphp struct

2007-11-13 Thread Linas Vepstas
Remove unused struct element. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> drivers/pci/hotplug/rpaphp.h |1 - drivers/pci/hotplug/rpaphp_pci.c |1 - 2 files changed, 2 deletions(-) Index: linux-2.6.23-rc8-mm1/drivers/pci/hotplug/rpaphp.h ===

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Benjamin Herrenschmidt
> That's why Dominic wants to get OpenOCD running on the PowerPC. All we > need is the programming documentation for controlling the CPU via the > debug hardware. Note that this is basically different for every CPU around. > Obviously this documentation exist, all of the commercial vendors had >

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 23:21 +0100, Gerhard Pircher wrote: > Original-Nachricht > > Datum: Tue, 13 Nov 2007 17:10:29 -0500 > > Von: "Jon Smirl" <[EMAIL PROTECTED]> > > An: "Grant Likely" <[EMAIL PROTECTED]> > > CC: "Gerhard Pircher" <[EMAIL PROTECTED]>, linuxppc-dev@ozlabs.org > >

Re: [PATCH 1/2] PowerPC: 4xx uic: add mask_ack callback

2007-11-13 Thread David Gibson
On Tue, Nov 13, 2007 at 11:25:21PM +0300, Valentine Barshak wrote: > This adds uic_mask_ack_irq() callback to PowerPC 4xx uic code > to avoid kernel crash. It is used for edge-triggered interrupts > by handle_uic_irq(). Oops. Obviously never caught this obvious bug, because I've never used an ed

[PATCH] pci hotplug: fix rpaphp directory naming

2007-11-13 Thread Linas Vepstas
Fix presentation of the slot number in the /sys/bus/pci/slots directory to match that used in the majority of other drivers. -- On Tue, Nov 13, 2007 at 02:58:30PM -0700, Matthew Wilcox wrote: > On Tue, Nov 13, 2007 at 03:41:21PM -0600, Linas Vepstas wrote: > > /sys/bus/pci/slots > > /sys/bu

Re: I2C on mpc8248 / device tree

2007-11-13 Thread Jon Smirl
I am working on a patch for i2c and device tree. I attached the current version. DTC entry looks like this. [EMAIL PROTECTED] { compatible = "mpc5200b-i2c","mpc5200-i2c","fsl-i2c"; reg = <3d40 40>; interrupts

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Jon Smirl
On 11/13/07, Olof Johansson <[EMAIL PROTECTED]> wrote: > On Tue, Nov 13, 2007 at 03:23:29PM -0800, Dan Malek wrote: > > > > On Nov 13, 2007, at 1:59 PM, Grant Likely wrote: > > > > >> Abatron BDI-2000. > > > > > > Oops, but that's not all that cheap. ($2750USD). > > > > If you place any value on y

I2C on mpc8248 / device tree

2007-11-13 Thread Alan Bennett
I've got four devices on i2c that I need to read. Simple thermal and voltage monitors. I2c works fine in uboot, and now I'm trying to get things to work in linux. In the kernel .config I enable I2C and I2C_MPC During the platform boot code: I init the IO ports for i2c, (same as ep8248e code

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Olof Johansson
On Tue, Nov 13, 2007 at 03:23:29PM -0800, Dan Malek wrote: > > On Nov 13, 2007, at 1:59 PM, Grant Likely wrote: > > >> Abatron BDI-2000. > > > > Oops, but that's not all that cheap. ($2750USD). > > If you place any value on your time or development > schedule, it's a bargain. That only applies

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 23:06 +0100, Gerhard Pircher wrote: > Well, I only disabled power saving with powersave=off. Are there any > other > ways to disable idle? What do you mean with instrumenting locks or > irq enable/disable? Add printk's to things :-) It's a UP kernel so there should be no spi

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Dan Malek
On Nov 13, 2007, at 1:59 PM, Grant Likely wrote: >> Abatron BDI-2000. > > Oops, but that's not all that cheap. ($2750USD). If you place any value on your time or development schedule, it's a bargain. Just plug it in, and it works. Choose any of your favorite debugger front ends, from none with

[PATCH] powerpc: fix 2nd UCC entry in mpc832x_mds.dts

2007-11-13 Thread Kim Phillips
correct the reg property, remove duplicate io port entry, whitespace fixes. Thanks to Peter Van Ackeren for pointing this out. Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc832x_mds.dts |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Gerhard Pircher
Original-Nachricht > Datum: Tue, 13 Nov 2007 17:10:29 -0500 > Von: "Jon Smirl" <[EMAIL PROTECTED]> > An: "Grant Likely" <[EMAIL PROTECTED]> > CC: "Gerhard Pircher" <[EMAIL PROTECTED]>, linuxppc-dev@ozlabs.org > Betreff: Re: Hardware debuggers for PPC74xx G4 CPUs > On 11/13/07, G

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Jon Smirl
On 11/13/07, Grant Likely <[EMAIL PROTECTED]> wrote: > On 11/13/07, Grant Likely <[EMAIL PROTECTED]> wrote: > > On 11/13/07, Gerhard Pircher <[EMAIL PROTECTED]> wrote: > > > I'm trying to debug a kernel lockup that occurs on my machine with all > > > kernel > > > versions >2.6.16. I don't have a c

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Gerhard Pircher
Original-Nachricht > Datum: Wed, 14 Nov 2007 08:43:38 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() > Well, at least the above tells is

Re: 2.6.24-rc2-git3 powerpc link failure

2007-11-13 Thread Stephen Rothwell
Hi Kamalesh, On Tue, 13 Nov 2007 16:35:06 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > The 2.6.24-rc2-git3 kernel build fails during linking > > KSYM.tmp_kallsyms1.S > AS .tmp_kallsyms1.o > LD .tmp_vmlinux2 > KSYM.tmp_kallsyms2.S > AS .tmp_kallsyms2.o >

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Jon Smirl
On 11/13/07, Grant Likely <[EMAIL PROTECTED]> wrote: > On 11/13/07, Gerhard Pircher <[EMAIL PROTECTED]> wrote: > > I'm trying to debug a kernel lockup that occurs on my machine with all > > kernel > > versions >2.6.16. I don't have a clue what the root cause of this lockup is, > > thus I'm thinkin

Re: 2.6.24-rc1 freezes on powerbook at first boot stage

2007-11-13 Thread Elimar Riesebieter
On Sat, 03 Nov 2007 the mental interface of Nathan Lynch told: [...] > Does 2.6.23 (or any earlier kernel) work? > 2.6.24-rc2 works so lala :) Machine: processor : 0 cpu : 7447A, altivec supported clock : 833.333000MHz revision: 0.2 (pvr 8003 0102) bogomips

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Grant Likely
On 11/13/07, Grant Likely <[EMAIL PROTECTED]> wrote: > On 11/13/07, Gerhard Pircher <[EMAIL PROTECTED]> wrote: > > I'm trying to debug a kernel lockup that occurs on my machine with all > > kernel > > versions >2.6.16. I don't have a clue what the root cause of this lockup is, > > thus I'm thinkin

Re: Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Grant Likely
On 11/13/07, Gerhard Pircher <[EMAIL PROTECTED]> wrote: > I'm trying to debug a kernel lockup that occurs on my machine with all kernel > versions >2.6.16. I don't have a clue what the root cause of this lockup is, > thus I'm thinking about using a hardware debugger. Can anybody recommend a > reaso

Hardware debuggers for PPC74xx G4 CPUs

2007-11-13 Thread Gerhard Pircher
I'm trying to debug a kernel lockup that occurs on my machine with all kernel versions >2.6.16. I don't have a clue what the root cause of this lockup is, thus I'm thinking about using a hardware debugger. Can anybody recommend a reasonably cheap hardware debugger that works with G4 CPUs and can in

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 22:23 +0100, Gerhard Pircher wrote: > > There are ways, sure, which probably involve adding prink's all over > the > > place to figure it out... could be some DMA issue for example, could > be > > pretty much anything. Have you tried booting an initrd with no disk > > access

Re: Makefile and COMMON_UIMAGE target

2007-11-13 Thread Jon Smirl
I meant DEFAULT_UIMAGE, not COMMON_UIMAGE in the previous message. The patch is right. -- Jon Smirl [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Makefile and COMMON_UIMAGE target

2007-11-13 Thread Jon Smirl
If I select Efika (zImage.chrp) and my target (uImage, COMMON_UIMAGE) at the same time. The chrp image doesn't get built. This fixes it, but is it the right fix? What the right to compare CONFIG_DEVICE_TREE to "" if it isn't defined? diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile inde

Re: Kernel locks up after calling kernel_execve()

2007-11-13 Thread Gerhard Pircher
Original-Nachricht > Datum: Sun, 11 Nov 2007 14:55:40 +1100 > Von: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > An: Gerhard Pircher <[EMAIL PROTECTED]> > CC: linuxppc-dev@ozlabs.org > Betreff: Re: Kernel locks up after calling kernel_execve() > > On Sat, 2007-11-10 at 18:11 +01

[PATCH 1/2] PowerPC: 4xx uic: add mask_ack callback

2007-11-13 Thread Valentine Barshak
This adds uic_mask_ack_irq() callback to PowerPC 4xx uic code to avoid kernel crash. It is used for edge-triggered interrupts by handle_uic_irq(). Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/uic.c | 18 +- 1 files changed, 17 insertions(+), 1 de

[PATCH 0/2] PowerPC: 4xx uic updates

2007-11-13 Thread Valentine Barshak
These patches update 4xx uic code. The first one fixes a minor issue with edge-triggered interrupts, while the second one makes it use generic level and edge irq handlers. I've added irq ack'ing to the unmask callback for level-triggered interrupts, because to de-assert them we have to do 2 things

[PATCH] POWERPC: Clean out asm/of_{platform, device}.h from sysdev/.

2007-11-13 Thread Jon Loeliger
Convert #include of asm/of_{platform, device}.h into linux/of_{platform,device}.h for remaining arch/powerpc files. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/axonram.c |5 +++-- arch/powerpc/sysdev/pmi.c |4 ++-- 2 files changed, 5 insertions(+), 4 delet

[PATCH] POWERPC: Clean out asm/of_{platform, device}.h

2007-11-13 Thread Jon Loeliger
Convert #include of asm/of_{platform, device}.h into linux/of_{platform,device}.h for a few scattered platforms. Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> --- arch/powerpc/platforms/embedded6xx/holly.c |2 +- arch/powerpc/platforms/pasemi/gpio_mdio.c |2 +- arch/powerpc/platforms/

[PATCH v2] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h.

2007-11-13 Thread Jon Loeliger
>From b26c62af41b28f87ae2cdf525477670a5ac623fd Mon Sep 17 00:00:00 2001 From: Jon Loeliger <[EMAIL PROTECTED]> Date: Mon, 12 Nov 2007 14:23:16 -0600 Subject: [PATCH] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h. Signed-off-by: Jon Loeliger <[EMAIL PROTE

[PATCH 3/3] [POWERPC] mpc832x_rdb_defconfig: enable SPI_MPC83xx and MMC-over-SPI

2007-11-13 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc832x_rdb_defconfig | 43 1 files changed, 37 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/configs/mpc832x_rdb_defconfig b/arch/powerpc/configs/mpc832x_rdb_defconfig index 16d5

[PATCH 2/3] [POWERPC] mpc832x_rdb_defconfig: update using silentoldconfig

2007-11-13 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/configs/mpc832x_rdb_defconfig | 167 ++-- 1 files changed, 84 insertions(+), 83 deletions(-) diff --git a/arch/powerpc/configs/mpc832x_rdb_defconfig b/arch/powerpc/configs/mpc832x_rdb_defconfig index 4f3

[PATCH 1/3] [POWERPC] mpc832x_rdb: remove spidev stub, use mmc_spi

2007-11-13 Thread Anton Vorontsov
mmc_spi has hit the mainline, so we can start using it. Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- arch/powerpc/platforms/83xx/mpc832x_rdb.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c b/arch/powerpc/

[PATCH 0/3] MPC8323E-RDB now using MMC-over-SPI

2007-11-13 Thread Anton Vorontsov
Hi all, Here are three well-split patches for the easier review. I can fold them into one for the merge, if you like. I've tested the functionality using SD 128MB Kingston (MMC SanDisk 16MB refused to work, but it's definitely not a powerpc issue. Also I'm not sure that that particular card worke

Re: [PATCH] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h.

2007-11-13 Thread Jon Loeliger
On Mon, 2007-11-12 at 19:02, Stephen Rothwell wrote: > Hi Jon, > > Thanks for this. > > On Mon, 12 Nov 2007 14:26:51 -0600 Jon Loeliger <[EMAIL PROTECTED]> wrote: > > > > From: Jon Loeliger <[EMAIL PROTECTED]> > > > > Signed-off-by: Jon Loeliger <[EMAIL PROTECTED]> > > Acked-by: Stephen Rothwel

[PATCH v2] [POWERPC] Optimize counting distinct entries in the relocation sections

2007-11-13 Thread Emil Medve
When a module has relocation sections with tens of thousands worth of entries, counting the distinct/unique entries only (i.e. no duplicates) at load time can take tens of seconds and up to minutes. The sore point is the count_relocs() function which is called as part of the architecture specific m

Re: [PATCH v3] fix multiple bugs in rtas_ibm_suspend_me code

2007-11-13 Thread Nathan Lynch
Nathan Lynch wrote: > > 3.) H_JOIN must be called with MSR[EE] off, but lazy interrupt > disabling may cause the caller of rtas_ibm_suspend_me to call H_JOIN > with it on; the local_irq_disable() in on_each_cpu() is not > sufficient. > > Fix this by explicitly saving the MSR and clearing the EE b

[PATCH v3] fix multiple bugs in rtas_ibm_suspend_me code

2007-11-13 Thread Nathan Lynch
There are several issues with the rtas_ibm_suspend_me code, which enables platform-assisted suspension of an LPAR for migration or hibernation as covered in PAPR 2.2. 1.) rtas_ibm_suspend_me uses on_each_cpu() to invoke rtas_percpu_suspend_me on all cpus via IPI: if (on_each_cpu(rtas_percpu_suspe

Re: [PATCH] cell: Convert #include of asm/of_{platform, device}.h into linux/of_{platform, device}.h.

2007-11-13 Thread Jon Loeliger
So, like, the other day Stephen Rothwell mumbled: > > Hi Jon, > > Thanks for this. Most welcome. I'm assuming I can chip away at _all_ of these, including the ones in the drivers/ directories as well. I haven't a clue who will really pick all these up. We could arrange for Paul to grab the arc

Re: [2/2] dtc: Add testcase for dtc references

2007-11-13 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > This patch adds a testcase for dtc's reference-to-phandle > functionality. > > Signed-off-by: David Gibson <[EMAIL PROTECTED]> Applied. jdl ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://oz

Re: [1/2] libfdt: Add phandle related functions

2007-11-13 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > This patch adds fdt_get_phandle() and fdt_node_offset_by_phandle() > functions to libfdt. fdt_get_phandle() will retreive the phandle > value of a given node, and fdt_node_offset_by_phandle() will locate a > node given a phandle. > > Signed-off-by:

Re: dtc: Add missing dependencies for tests

2007-11-13 Thread Jon Loeliger
So, like, the other day David Gibson mumbled: > At present, the Makefiles will not rebuild trees.o or the dtb files > derived from it if testdata.h is updated. This is incorrect, and is > because of missing dependency information. > > This patch fixes the problem by making sure that dependency >

Re: [linux-pm] Re: [RFC] powermac: proper sleep management

2007-11-13 Thread Johannes Berg
> Isn't it true that the freezer _already_ isn't enabled on PPC? So > leaving it off wouldn't break anything more than it is broken now. Indeed. johannes signature.asc Description: This is a digitally signed message part ___ Linuxppc-dev mailing li

Re: [RFC] PMU: replace information ioctls and schedule for removal

2007-11-13 Thread Johannes Berg
On Tue, 2007-11-13 at 10:15 +1100, Paul Mackerras wrote: > Johannes Berg writes: > > > Does anybody need that? I'm not against adding it but we never showed it > > and I haven't seen anyone ask for it. > > pmud uses the PMU version, but I think it gets it by issuing a PMU > command. Yeah, it pr

Please pull powerpc.git merge branch

2007-11-13 Thread Paul Mackerras
Linus, Please do git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get a few more bug-fixes for powerpc. (OK, two of the commits are cosmetic printk changes and one is a workaround for a hardware erratum, but they are all reasonable 2.6.24 material.) Thanks,

Re: printk/console_init

2007-11-13 Thread Benjamin Herrenschmidt
On Mon, 2007-11-12 at 18:54 -0800, Siva Prasad wrote: > Hi, > > I am using 2.6.19 Linux on 8641D based system. > > I am using early printk's and it works fine until console_init() is > executed. After that it does not, as the early printk's get disabled, > which is fine. However, I don't see any

Re: [PATCH 2/2] powerpc: Merge pci_process_bridge_OF_ranges()

2007-11-13 Thread Benjamin Herrenschmidt
On Tue, 2007-11-13 at 01:06 -0600, Olof Johansson wrote: > On Tue, Nov 13, 2007 at 03:43:51PM +1100, Benjamin Herrenschmidt wrote: > > > > Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > > --- > > > > Tested on a few pSeries, PowerMac G5, and a 32 bits PowerMacs and > > a BriQ. Pleas

Re: [PATCH 1/2] powerpc: Make isa_mem_base common to 32 and 64 bits

2007-11-13 Thread Benjamin Herrenschmidt
> > +/* ISA Memory physical address (or 0 if none) */ > > > +resource_size_t isa_mem_base= 0; > > Let's hope this doesn't confuse too many people, as 0 is the valid value on > legacy PC hardware ;-) True, but that's been our default so far so I

Re: [PATCH 1/2] powerpc: Make isa_mem_base common to 32 and 64 bits

2007-11-13 Thread Geert Uytterhoeven
On Tue, 13 Nov 2007, Benjamin Herrenschmidt wrote: > This defines isa_mem_base on both 32 and 64 bits (it used to be 32 bits > only). This avoids a few ifdef's in later patches and potentially can > allow support for VGA text mode on 64 bits powerpc. > > Signed-off-by: Benjamin Herrenschmidt <[EMA

Re: printk/console_init

2007-11-13 Thread Geert Uytterhoeven
On Mon, 12 Nov 2007, Siva Prasad wrote: > I am using 2.6.19 Linux on 8641D based system. > > I am using early printk's and it works fine until console_init() is > executed. After that it does not, as the early printk's get disabled, > which is fine. However, I don't see any prints after that at al

Re: [PATCH 2/2] [POWERPC] consolidate struct pci_controller

2007-11-13 Thread Kumar Gala
On Nov 13, 2007, at 2:06 AM, Olof Johansson wrote: > On Tue, Nov 13, 2007 at 04:37:07PM +1100, Stephen Rothwell wrote: > >> This one clashes slightly with Benh's "Merge >> pci_process_bridge_OF_ranges()" >> patch. > > Hi Stephen, > > For the small fields that use standard types, you should just

Re: [PATCH 2/2] [POWERPC] consolidate struct pci_controller

2007-11-13 Thread Olof Johansson
On Tue, Nov 13, 2007 at 04:37:07PM +1100, Stephen Rothwell wrote: > This one clashes slightly with Benh's "Merge pci_process_bridge_OF_ranges()" > patch. Hi Stephen, For the small fields that use standard types, you should just be able to still define them for ppc32 and just not use them. Altern