Re: [PATCH] genirq: Set initial default irq affinity to just CPU0

2008-10-26 Thread Benjamin Herrenschmidt
On Sun, 2008-10-26 at 18:30 -0800, Kevin Diggs wrote: > The reason I asked is that I seem to remember a config option that > would restrict the irqs to cpu 0? Help suggested it was needed for > certain PowerMacs. Didn't provide any help as to which ones. My GigE > currently spreads them between the

Re: [PATCH] genirq: Set initial default irq affinity to just CPU0

2008-10-26 Thread Kevin Diggs
Benjamin Herrenschmidt wrote: What does this all mean to my GigE (dual 1.1 GHz 7455s)? Is this thing supposed to be able to spread irq between its cpus? Depends on the interrupt controller. I don't know that machine but for example the Apple Dual G5's use an MPIC that can spread based on an in

Re: GPIO - marking individual pins (not) available in device tree

2008-10-26 Thread David Gibson
On Sun, Oct 26, 2008 at 04:13:26PM -0500, Matt Sealey wrote: > > > Mitch Bradley wrote: >> >> I don't use device_type much, if at all, anymore. Generic name + >> compatible just works better than device_type + specific name. When > > I write code that has to find a node that is suitable for a g

Re: GPIO - marking individual pins (not) available in device tree

2008-10-26 Thread David Gibson
On Fri, Oct 24, 2008 at 05:14:26PM -0500, Matt Sealey wrote: > > > David Gibson wrote: >> Don't be patronising. >> >> There is an existing address space defined by the gpio binding. >> Defining another one is pointless redundancy. This is standard good >> ideas in computer science, no further argu

Re: GPIO - marking individual pins (not) available in device tree

2008-10-26 Thread Matt Sealey
Stephen Neuendorffer wrote: One thing I had a crazy dream about was a GUI-based device tree builder for platforms. Why is this crazy? This is essentially what we do today with PowerPC and Microblaze processors in Xilinx FPGAs. Even for ASIC SOCs, there are several commercial 'connect-your-I

Re: GPIO - marking individual pins (not) available in device tree

2008-10-26 Thread Matt Sealey
Mitch Bradley wrote: I don't use device_type much, if at all, anymore. Generic name + compatible just works better than device_type + specific name. When > I write code that has to find a node that is suitable for a given purpose, > I look for the existence of suitable methods and perhaps

Re: [PATCH] genirq: Set initial default irq affinity to just CPU0

2008-10-26 Thread Benjamin Herrenschmidt
On Sun, 2008-10-26 at 00:16 -0700, David Miller wrote: > From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> > Date: Sun, 26 Oct 2008 17:48:43 +1100 > > > > > > What does this all mean to my GigE (dual 1.1 GHz 7455s)? Is this > > > thing supposed to be able to spread irq between its cpus? > > > > D

Re: [PATCH] genirq: Set initial default irq affinity to just CPU0

2008-10-26 Thread David Miller
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Date: Sun, 26 Oct 2008 17:48:43 +1100 > > > What does this all mean to my GigE (dual 1.1 GHz 7455s)? Is this > > thing supposed to be able to spread irq between its cpus? > > Depends on the interrupt controller. I don't know that machine > but for