Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Bastian Blank
On Tue, Jul 29, 2008 at 01:06:18PM +1000, Benjamin Herrenschmidt wrote: On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote: Hi The powerpc lpar code adds a prefered console at a very early state, during arch_setup. This runs even before the console setup from the command line and

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 09:36 +0200, Bastian Blank wrote: On Tue, Jul 29, 2008 at 01:06:18PM +1000, Benjamin Herrenschmidt wrote: On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote: Hi The powerpc lpar code adds a prefered console at a very early state, during arch_setup. This

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Bastian Blank
On Tue, Jul 29, 2008 at 05:43:24PM +1000, Benjamin Herrenschmidt wrote: On Tue, 2008-07-29 at 09:36 +0200, Bastian Blank wrote: On Tue, Jul 29, 2008 at 01:06:18PM +1000, Benjamin Herrenschmidt wrote: On Mon, 2008-07-28 at 20:56 +0200, Bastian Blank wrote: Hi The powerpc lpar

Re: [PATCH] powerpc/lpar - defer prefered console setup

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 10:07 +0200, Bastian Blank wrote: Hrm... we do most of the console discovery from console_initcall for legacy UARTs. see the code in legacy_serial.c, we just avoid doing the add_preferred_console() thingy if there's a console= on the command line :-) The code did

Re: linux kernel for ppc as elf relocatable

2008-07-29 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote: Can somebody help me with a few indications regarding how to obtain a relocatable vmlinux when compiling the linux kernel for ppc32 ? Why exactly would you want to do that? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD:

Re: [PATCH] Fix powerpc64 build if CONFIG_EPOLL=n

2008-07-29 Thread Jimi Xenidis
On Jul 27, 2008, at 10:23 AM, Stephen Rothwell wrote: Hi Jimi, On Sun, 27 Jul 2008 08:48:09 -0400 Jimi Xenidis [EMAIL PROTECTED] wrote: Declate compat_sys_epoll_pwait as a conditional syscall like the rest of the epoll interfaces. We could have put an #ifdef around the entry in

Re: ide pmac breakage

2008-07-29 Thread Bartlomiej Zolnierkiewicz
On Tuesday 29 July 2008, Benjamin Herrenschmidt wrote: On Tue, 2008-07-29 at 14:17 +0900, FUJITA Tomonori wrote: If q-elevator is NULL, the media-bay code might mess up the ref counting of the request queue... Well, all I do is call into Bart's new helpers to scan for or unregister

Re: ide pmac breakage

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 13:41 +0200, Bartlomiej Zolnierkiewicz wrote: Well, all I do is call into Bart's new helpers to scan for or unregister devices ... The switch to these helpers happened _before_ 2.6.26 and it shouldn't bring such behavior change (ditto for new IDE host

Re: ide pmac breakage

2008-07-29 Thread Bartlomiej Zolnierkiewicz
On Tuesday 29 July 2008, Benjamin Herrenschmidt wrote: On Tue, 2008-07-29 at 13:41 +0200, Bartlomiej Zolnierkiewicz wrote: Well, all I do is call into Bart's new helpers to scan for or unregister devices ... The switch to these helpers happened _before_ 2.6.26 and it shouldn't

Level IRQ handling on Xilinx INTC with ARCH=powerpc

2008-07-29 Thread Sergey Temerkhanov
Hi, all! I'm currently in process of development of Xilinx I2C IP core driver and I've run into the problem: the ISR for level-based IRQ is called twice. It looks like level IRQ handling on Xilinx INTC with ARCH=powerpc is currently broken as Xilinx INTC requires IRQ acknowledge with IRQ

2.6.27-rc1 problems

2008-07-29 Thread Sean MacLennan
I am seeing a lot of problems with 2.6.27-rc1. Merge conflicts that make no sense. Files missing (tracehook.h). Lots of compile errors. Anybody else seeing problems, or is it just me? I am starting to wonder if my git repository has gotten corrupted. Cheers, Sean

mpc8349mITX developement repository

2008-07-29 Thread Sparks, Sam
Which repository on kernel.org should I use to pick up the latest-greatest software for the mpc8349mITX? I've tried linux/kernel/git/vitb/linux-2.6-8xx.git, but the dts doesn't contain compact flash nodes. I've tried linux/kernel/git/paulus/powerpc.git, but the kernel hangs while trying to

Re: mpc8349mITX developement repository

2008-07-29 Thread Scott Wood
On Tue, Jul 29, 2008 at 02:26:12PM -0500, Sparks, Sam wrote: Which repository on kernel.org should I use to pick up the latest-greatest software for the mpc8349mITX? I've tried linux/kernel/git/vitb/linux-2.6-8xx.git, but the dts doesn't contain compact flash nodes. I've tried

[PATCH] powerpc/fsl: proliferate simple-bus compatibility to soc nodes

2008-07-29 Thread Kim Phillips
add simple-bus compatible property to soc nodes for 83xx/85xx platforms that were missing them. Add same to platform probe code. This fixes SoC device drivers (such as talitos) to succeed in matching devices present in the soc node. also update mpc836x_rdk dts to new SEC bindings (overlooked in

Re: ide pmac breakage

2008-07-29 Thread Benjamin Herrenschmidt
I WON!!! Heh, great :-) I'll give you patch a try, thanks ! Cheers, Ben. From: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Subject: [PATCH] ide: fix regression caused by ide_device_{get,put}() addition On Monday 28 July 2008, Benjamin Herrenschmidt wrote: [...] Vector: 300 (Data

Re: [EMAIL PROTECTED]: [Bug 7306] Yenta-socket causes oops on insertion of any PCMCIA card]

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 20:28 +0200, Dominik Brodowski wrote: Ben, Paul, any ideas? Strange. Paul has a lombard, so if he can bring it to the office, I'll have a look. Paul, bring some legacy PCMCIA cards too if you have any, I'm not sure I do (though I think we have one or two somewhere in the

Re: 2.6.27-rc1 problems

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 14:06 -0400, Sean MacLennan wrote: I am seeing a lot of problems with 2.6.27-rc1. Merge conflicts that make no sense. Ugh ? Have you done a clean pull ? Files missing (tracehook.h). Looks like your repo isn't sane Lots of compile errors. There's one known due to a

Re: Level IRQ handling on Xilinx INTC with ARCH=powerpc

2008-07-29 Thread Benjamin Herrenschmidt
On Tue, 2008-07-29 at 15:14 +0100, David Howells wrote: Sergey Temerkhanov [EMAIL PROTECTED] wrote: And handle_level_irq() which is currently used as high-level IRQ handler for Xilinx INTC only tries to acknowledge IRQ before ISR call. So that the IRQ remains asserted in INTC and after

Re: [PATCH] powerpc/fsl: proliferate simple-bus compatibility to soc nodes

2008-07-29 Thread Kumar Gala
On Jul 29, 2008, at 3:29 PM, Kim Phillips wrote: add simple-bus compatible property to soc nodes for 83xx/85xx platforms that were missing them. Add same to platform probe code. This fixes SoC device drivers (such as talitos) to succeed in matching devices present in the soc node. also

Re: verbose kernel debug

2008-07-29 Thread Scott Wood
Jon Smirl wrote: I'm getting a Badness at c01cc228 [verbose debug info unavailable] How do I turn on verbose debug support? Or is it helpful? I see the option for x86 but I don't see how to do it for PowerPC. Under Kernel Hacking, enable Kernel debugging. This will expose a Verbose BUG()

Re: verbose kernel debug

2008-07-29 Thread Jon Smirl
On 7/29/08, Scott Wood [EMAIL PROTECTED] wrote: Jon Smirl wrote: I'm getting a Badness at c01cc228 [verbose debug info unavailable] How do I turn on verbose debug support? Or is it helpful? I see the option for x86 but I don't see how to do it for PowerPC. Under Kernel Hacking,

Re: verbose kernel debug

2008-07-29 Thread Grant Likely
On Tue, Jul 29, 2008 at 07:12:58PM -0400, Jon Smirl wrote: On 7/29/08, Scott Wood [EMAIL PROTECTED] wrote: Jon Smirl wrote: I'm getting a Badness at c01cc228 [verbose debug info unavailable] How do I turn on verbose debug support? Or is it helpful? I see the option for x86 but I

Re: verbose kernel debug

2008-07-29 Thread Jon Smirl
On 7/29/08, Grant Likely [EMAIL PROTECTED] wrote: On Tue, Jul 29, 2008 at 07:12:58PM -0400, Jon Smirl wrote: On 7/29/08, Scott Wood [EMAIL PROTECTED] wrote: Jon Smirl wrote: I'm getting a Badness at c01cc228 [verbose debug info unavailable] How do I turn on verbose debug

Re: verbose kernel debug

2008-07-29 Thread Jon Smirl
I finally figured out the right combo to turn it on. I was expecting it to appear in the Kernel Debugging section but it was appearing down lower. Seems like this option should be defaulted on no matter what, and then turn it off to save memory. It was the interaction with CONFIG_EMBEDDED that

Re: ide pmac breakage

2008-07-29 Thread FUJITA Tomonori
On Tue, 29 Jul 2008 21:26:11 +0200 Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] wrote: On Tuesday 29 July 2008, Bartlomiej Zolnierkiewicz wrote: On Tuesday 29 July 2008, Bartlomiej Zolnierkiewicz wrote: On Tuesday 29 July 2008, Benjamin Herrenschmidt wrote: On Tue, 2008-07-29 at 13:41

Re: [PATCH] powerpc/mm: Lockless get_user_pages_fast()

2008-07-29 Thread Benjamin Herrenschmidt
From: Nick Piggin [EMAIL PROTECTED] Implement lockless get_user_pages_fast for powerpc. Page table existence is guaranteed with RCU, and speculative page references are used to take a reference to the pages without having a prior existence guarantee on them. Signed-off-by: Nick Piggin [EMAIL

Re: [PATCH] powerpc/mm: Lockless get_user_pages_fast()

2008-07-29 Thread Michael Ellerman
On Wed, 2008-07-30 at 14:20 +1000, Benjamin Herrenschmidt wrote: From: Nick Piggin [EMAIL PROTECTED] Implement lockless get_user_pages_fast for powerpc. Page table existence is guaranteed with RCU, and speculative page references are used to take a reference to the pages without having a

Re: [PATCH] powerpc/mm: Lockless get_user_pages_fast()

2008-07-29 Thread Benjamin Herrenschmidt
On Wed, 2008-07-30 at 15:06 +1000, Michael Ellerman wrote: + +/* + * The performance critical leaf functions are made noinline otherwise gcc + * inlines everything into a single function which results in too much + * register pressure. + */ This strikes me as something that is

[PATCH] powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)

2008-07-29 Thread Benjamin Herrenschmidt
From: Nick Piggin [EMAIL PROTECTED] Implement lockless get_user_pages_fast for 64-bit powerpc. Page table existence is guaranteed with RCU, and speculative page references are used to take a reference to the pages without having a prior existence guarantee on them. Signed-off-by: Nick Piggin