[RFC] MPIC Bindings and Bindings for AMP Systems

2010-12-23 Thread Meador Inge
Hi All, I am currently doing some work on Linux PPC AMP systems (with Hollis, CC'd). We are using device trees to partition resources between the different OSes. To help with this effort, we would like to introduce some new bindings to the MPIC. Currently, there are no bindings for the MPIC un

[RFC] MPIC Bindings and Bindings for AMP Systems

2010-12-23 Thread Meador Inge
Hi All, I am currently doing some work on Linux PPC AMP systems (with Hollis, CC'd). We are using device trees to partition resources between the different OSes. To help with this effort, we would like to introduce some new bindings to the MPIC. Currently, there are no bindings for the MPIC un

Re: [Cbe-oss-dev] [RFC 0/3] powerpc: memory copy routines tweaked for Cell

2010-12-23 Thread syokazuliao
Sorry, I was send wrong files. I send my three files again. #include #include #include extern void *memcpy(void *, const void *, size_t); int main() { unsigned char *s, *d; register unsigned long long start, finish, i; if(posix_memalign((void *)&s, 128, 16384))

Re: [Cbe-oss-dev] [RFC 0/3] powerpc: memory copy routines tweaked for Cell

2010-12-23 Thread syokazuliao
Hi everyone, I'm a new Cell BE user, and my debug platform is YDL6.2 run on PS3. I wrote two simple test programs that tests Mark Nelson's memcpy routines under a number of conditions, and the test arrays are aligned on 128-byte boundaries. Following explains my three files. 1. The main1.C is my 

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2010-12-23 Thread Grant Likely
On Thu, Dec 23, 2010 at 12:51:29AM -0600, Meador Inge wrote: > Hi All, > > I am currently doing some work on Linux PPC AMP systems (with Hollis, > CC'd). We are using device trees to partition resources between the > different OSes. To help with this effort, we would like to introduce > some new

Re: [PATCH RESEND 2] mpc52xx: gpt: include fs.h

2010-12-23 Thread Grant Likely
On Wed, Dec 22, 2010 at 04:42:55PM +0100, Wolfram Sang wrote: > Fix build errors like these (from a randconfig and my defconfig for a custom > board): > > src/arch/powerpc/platforms/52xx/mpc52xx_gpt.c:549: error: dereferencing > pointer to incomplete type: 1 errors in 1 logs > src/arch/powerpc/p

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

2010-12-23 Thread Grant Likely
On Wed, Dec 22, 2010 at 11:57:26AM -0800, dirk.brande...@gmail.com wrote: > From: Dirk Brandewie > > This patch adds support for linking device tree blob(s) into > vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking > .dtb sections into vmlinux. To maintain compatiblity with the of/fdt > d

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

2010-12-23 Thread Grant Likely
On Thu, Dec 23, 2010 at 07:14:20AM +0100, Geert Uytterhoeven wrote: > 2010/12/22 Michal Marek : > > On 22.12.2010 20:57, dirk.brande...@gmail.com wrote: > >> > >> From: Dirk Brandewie > >> > >> This patch adds support for linking device tree blob(s) into > >> vmlinux. Modifies asm-generic/vmlinux.l

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2010-12-23 Thread Meador Inge
On 12/23/2010 12:56 PM, Grant Likely wrote: Hi Meador. Comments below. g. Thanks a lot for the feedback Grant. You should probably list them here anyway to aid the reader. Will do. What is the use case for the protected-sources property? Wouldn't the irqs simply not be referenced by an

Re: [PATCH 2/4] x86/of: Add building device tree blob(s) into image.

2010-12-23 Thread Grant Likely
On Wed, Dec 22, 2010 at 11:57:27AM -0800, dirk.brande...@gmail.com wrote: > From: Dirk Brandewie > > This patch adds linking device tree blob into vmlinux. DTB's are > added by adding the blob object name to list of objects to be linked > into the image. > > Signed-off-by: Dirk Brandewie > ---

Re: [PATCH 4/4] microblaze/of: Use generic rule to build dtb's

2010-12-23 Thread Grant Likely
On Wed, Dec 22, 2010 at 11:57:29AM -0800, dirk.brande...@gmail.com wrote: > From: Dirk Brandewie > > Modify arch/powerpc/boot/Makefile to use dtc command in > scripts/Makefile.lib > > Signed-off-by: Dirk Brandewie applied, thanks g. > --- > arch/microblaze/boot/Makefile | 12 +++-

Re: [PATCH 3/4] of/powerpc: Use generic rule to build dtb's

2010-12-23 Thread Grant Likely
On Wed, Dec 22, 2010 at 11:57:28AM -0800, dirk.brande...@gmail.com wrote: > From: Dirk Brandewie > > Modify arch/powerpc/boot/Makefile to use dtc command in > scripts/Makefile.lib > > Signed-off-by: Dirk Brandewie applied, thanks g. > --- > arch/powerpc/boot/Makefile |8 +++- > 1 fi

Re: [RFC] MPIC Bindings and Bindings for AMP Systems

2010-12-23 Thread Grant Likely
On Thu, Dec 23, 2010 at 03:49:54PM -0600, Meador Inge wrote: > On 12/23/2010 12:56 PM, Grant Likely wrote: > >Hi Meador. Comments below. > > > >g. > > Thanks a lot for the feedback Grant. > > >You should probably list them here anyway to aid the reader. > > Will do. > > >What is the use case f

Re: [PATCH] of/address: use propper endianess in get_flags

2010-12-23 Thread Grant Likely
On Thu, Dec 02, 2010 at 10:15:12AM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2010-12-01 at 10:54 +0100, Sebastian Andrzej Siewior wrote: > > This patch changes u32 to __be32 for all "ranges", "prop" and "addr" and > > such. Those variables are pointing to the device tree which containts > > in

[PATCH][GIT PULL] powerpc64/tracing: Add frame buffer to calls of trace_hardirqs_on/off

2010-12-23 Thread Steven Rostedt
Ben, Joerg reported a crash with the irqsoff tracer with PPC32. Unfortunately, I don't have a ppc32 that I can work with (my kids took it from me). I posted a test patch on the BZ that was opened for it: https://bugzilla.kernel.org/show_bug.cgi?id=16573 Anyway, I was also able to reproduce the c