Re: [PATCH 1/2] of: Add support for linking device tree blobs into vmlinux

2010-11-15 Thread Dirk Brandewie
On 11/15/2010 09:17 PM, Grant Likely wrote: On Mon, Nov 15, 2010 at 10:06 PM, Dirk Brandewie wrote: On 11/15/2010 08:41 PM, Grant Likely wrote: On Mon, Nov 15, 2010 at 08:01:20PM -0800, dirk.brande...@gmail.com wrote: From: Dirk Brandewie This patch adds support for linking device tree bl

Re: [PATCH 1/2] of: Add support for linking device tree blobs into vmlinux

2010-11-15 Thread Grant Likely
On Mon, Nov 15, 2010 at 10:28 PM, Dirk Brandewie wrote: > On 11/15/2010 09:17 PM, Grant Likely wrote: >> >> On Mon, Nov 15, 2010 at 10:06 PM, Dirk Brandewie >>  wrote: >>> >>> On 11/15/2010 08:41 PM, Grant Likely wrote: On Mon, Nov 15, 2010 at 08:01:20PM -0800, dirk.brande...@gmail.com

Re: [PATCH 1/2] of: Add support for linking device tree blobs into vmlinux

2010-11-15 Thread Grant Likely
On Mon, Nov 15, 2010 at 10:06 PM, Dirk Brandewie wrote: > On 11/15/2010 08:41 PM, Grant Likely wrote: >> >> On Mon, Nov 15, 2010 at 08:01:20PM -0800, dirk.brande...@gmail.com wrote: >>> >>> From: Dirk Brandewie >>> >>> This patch adds support for linking device tree blobs into >>> vmlinux. The dev

Re: [PATCH] Move ams driver to macintosh

2010-11-15 Thread Benjamin Herrenschmidt
On Tue, 2010-10-05 at 12:10 +0200, Jean Delvare wrote: > The ams driver isn't a hardware monitoring driver, so it shouldn't > live under driver/hwmon. drivers/macintosh seems much more > appropriate, as the driver is only useful on PowerBooks and iBooks. Going through backlog... Do you want me to

Re: Can't boot benh/powerpc.git kernel

2010-11-15 Thread Michael Neuling
In message <1289520464.4752.12.ca...@localhost> you wrote: > On Thu, 2010-11-11 at 09:06 +1100, Benjamin Herrenschmidt wrote: > > On Wed, 2010-11-10 at 11:54 -0800, Jim Keniston wrote: > > > I got Ben's linux/kernel/git/benh/powerpc.git source and built it > > > (.config file attached*). It hangs

RE: [PATCH][v3] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-15 Thread Xie Shaohui-B21989
> -Original Message- > From: Bounine, Alexandre [mailto:alexandre.boun...@idt.com] > Sent: Saturday, November 13, 2010 12:30 AM > To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org > Cc: a...@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780; Zang > Roy-R61911 > Subject: RE: [PATC

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread David Gibson
On Mon, Nov 15, 2010 at 12:17:51PM -1000, Mitch Bradley wrote: > In general I think it's better to report parameter values directly, > instead of inferring them from manufacturer and part numbers. That > way you at least have a fighting chance of avoiding a kernel upgrade > when a part changes. I

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Wolfram Sang
> > >I think you'd better drop the pagesize property altogether, and > > >instead make the compatible string more specific (if needed at > > >all. are there any 'catalyst,24c32' chips with pagesize != 32?) > > > > Microchip makes a 24c32 part that looks pretty similar to the > > catalyst part, but

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Mitch Bradley
In general I think it's better to report parameter values directly, instead of inferring them from manufacturer and part numbers. That way you at least have a fighting chance of avoiding a kernel upgrade when a part changes. Of course, that only works when the device tree is exported from the

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Grant Likely
On Mon, Nov 15, 2010 at 2:24 PM, Anton Vorontsov wrote: > On Mon, Nov 15, 2010 at 11:06:44AM -1000, Mitch Bradley wrote: > [...] >> >>                    eep...@52 { >> >>                            compatible = "catalyst,24c32"; >> >>                            reg =<0x52>; >> >>+                

Re: [PATCH 1/2] misc: at24: parse OF-data, too

2010-11-15 Thread Grant Likely
On Mon, Nov 15, 2010 at 10:25 AM, Wolfram Sang wrote: > Information about the pagesize and read-only-status may also come from > the devicetree. Parse this data, too, and act accordingly. While we are > here, change the initialization printout a bit. write_max is useful to > know to detect perform

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Anton Vorontsov
On Mon, Nov 15, 2010 at 11:06:44AM -1000, Mitch Bradley wrote: [...] > >>eep...@52 { > >>compatible = "catalyst,24c32"; > >>reg =<0x52>; > >>+ pagesize =<32>; > > > >I think you'd better drop the p

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Mitch Bradley
On 11/15/2010 7:32 AM, Anton Vorontsov wrote: On Mon, Nov 15, 2010 at 06:25:16PM +0100, Wolfram Sang wrote: Signed-off-by: Wolfram Sang --- arch/powerpc/boot/dts/pcm030.dts |1 + arch/powerpc/boot/dts/pcm032.dts |3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/a

[PATCH v2] PPC4xx: Adding PCI(E) MSI support

2010-11-15 Thread tmarri
From: Tirumala Marri This patch adds MSI support for 440SPe, 460Ex, 460Sx and 405Ex. Signed-off-by: Tirumala R Marri --- v1: * Get rid of bitmap functions. * Remove irq mapping as each MSI is tied to UIC. * Cleaning up of prints. v2: * Remove or add blank lines at appropriate places.

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Scott Wood
On Mon, 15 Nov 2010 11:43:12 -0600 Kumar Gala wrote: > > On Nov 15, 2010, at 10:13 AM, Timur Tabi wrote: > > > On Mon, Nov 15, 2010 at 9:16 AM, Kumar Gala > > wrote: > > > >> The programming model (if you look at the free-space in the registers and > >> data structures) supports a 64-bit ad

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Kumar Gala
On Nov 15, 2010, at 10:13 AM, Timur Tabi wrote: > On Mon, Nov 15, 2010 at 9:16 AM, Kumar Gala wrote: > >> The programming model (if you look at the free-space in the registers and >> data structures) supports a 64-bit address. I'm trying to avoid changing >> the driver in the future if we ha

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Kumar Gala
On Nov 11, 2010, at 6:16 AM, Li Yang wrote: > Expand the dma_mask of fsldma device to 36-bit, indicating that the > DMA engine can deal with 36-bit physical address and does not need > the SWIOTLB to create bounce buffer for it when doing dma_map_*(). > > Signed-off-by: Li Yang > --- > Add more

Re: [PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Anton Vorontsov
On Mon, Nov 15, 2010 at 06:25:16PM +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang > --- > arch/powerpc/boot/dts/pcm030.dts |1 + > arch/powerpc/boot/dts/pcm032.dts |3 ++- > 2 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/arch/powerpc/boot/dts/pcm030.dts > b/

[PATCH 2/2] powerpc: pcm030/032: add pagesize to dts

2010-11-15 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- arch/powerpc/boot/dts/pcm030.dts |1 + arch/powerpc/boot/dts/pcm032.dts |3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/pcm030.dts b/arch/powerpc/boot/dts/pcm030.dts index 8a4ec30..e7c36bc 100644 --- a/arch/power

[PATCH 1/2] misc: at24: parse OF-data, too

2010-11-15 Thread Wolfram Sang
Information about the pagesize and read-only-status may also come from the devicetree. Parse this data, too, and act accordingly. While we are here, change the initialization printout a bit. write_max is useful to know to detect performance bottlenecks, the rest is superfluous. Signed-off-by: Wolf

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Timur Tabi
On Mon, Nov 15, 2010 at 9:16 AM, Kumar Gala wrote: > The programming model (if you look at the free-space in the registers and > data structures) supports a 64-bit address.  I'm trying to avoid changing the > driver in the future if we have >36-bit.  However this is such a minor worry > that I

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-15 Thread Kumar Gala
On Nov 13, 2010, at 4:43 PM, Timur Tabi wrote: > On Thu, Nov 11, 2010 at 5:56 AM, Kumar Gala wrote: > >> Is there any reason we shouldn't set DMA_BIT_MASK(64) since the DMA block >> programming model allows the address to be 64-bits? > > Can you explain that? The DMA registers only have room