[POWERPC] mpc7448hpc2.dts: remove chosen node from dts

2008-06-30 Thread Chunbo Luo
Modern versions of u-boot create a chosen node automatically. So if we set the chosen node in the dts file, there will be 2 chosen nodes passed in to the kernel, and the kernel command line will be taken from the wrong node. So, remove the extra chosen node from the dts file. Signed-off-by: Ch

Re: [PATCH 19/60] microblaze_v4: checksum support

2008-06-30 Thread Michal Simek
Hi Segher, you find bug because there is microblaze asm code in generic folder. Big thanks. I'll fix it and I'll look at parameters too. Michal +static inline unsigned int +csum_tcpudp_nofold(unsigned long saddr, unsigned long daddr, unsigned short len, + unsigned short proto

RE: [PATCH 12/60] microblaze_v4: Generic dts file for platforms

2008-06-30 Thread Michal Simek
Hi Steve, John a others, >In my opionion, we should only include dts files for reference designs, and it >must be documented how to get the design that the dts corresponds to. >MD5 hashing might be one way to prevent people from getting the dts file wrong, >however without some way of checking it

Re: [PATCH V2] Keep 3 high personality bytes across exec

2008-06-30 Thread Paul Mackerras
Eric B Munson writes: > --- a/include/asm-powerpc/elf.h > +++ b/include/asm-powerpc/elf.h > @@ -257,7 +257,8 @@ do { > \ > else\ > clear_thread_flag(TIF_ABI_PENDING

High Memory problem on 2.4.22 Linux, 2GB ppc card

2008-06-30 Thread Ruksen INANIR
Hi all, I am working on a PPC Motorola card, which runs Linux 2.4.22. The card has 2 GB onboard memory. But with use 1456 MB of the available memory. To increase the memory capacity i need to increase the used memory at least 64 MB. With CONFIG_HIGHMEM option all of the 2 GB memory c

Re: [PATCH] [POWERPC] 85xx: TQM8548: add missing support for RTC and LM75

2008-06-30 Thread Wolfgang Grandegger
Kumar Gala wrote: On Jun 26, 2008, at 9:13 AM, Wolfgang Grandegger wrote: Kumar Gala wrote: On Jun 26, 2008, at 8:15 AM, Wolfgang Grandegger wrote: It adds the missing RTC node to tqm8548.dts and enables support for I2C, DS1307 and LM75 in the default configuration. Signed-off-by: Wolfgang

[PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Added a new driver for Xilinx XPS PS2 IP. This driver is a flat driver to better match the Linux driver pattern. Signed-off-by: Sadanand <[EMAIL PROTECTED]> Signed-off-by: John Linn <[EMAIL PROTECTED]> --- drivers/input/serio/Kconfig |5 + drivers/input/serio/Makefile |1 + drive

Re: [RFC: 2.6 patch] powerpc: asm/elf.h: reduce userspace header

2008-06-30 Thread Christoph Hellwig
On Mon, Jun 23, 2008 at 08:48:28PM +0300, Adrian Bunk wrote: > This patch makes asm/elf.h export less non-userspace stuff to userspace. I don't think this header should be exported at all. There's a userspace elf.h that should be used instead. ___ Linu

RE: [PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.

2008-06-30 Thread John Linn
I still have bad dreams about the of_serial patch I did as a newbie related to reg_shift and reg_offset ;) I'm still a newbie, but we'll do whatever needs to be done. Any thoughts from Josh? -- John -Original Message- From: Stephen Neuendorffer Sent: Sunday, June 29, 2008 9:42 PM To:

Re: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Peter Korsgaard
> "John" == John Linn <[EMAIL PROTECTED]> writes: > Added a new driver for Xilinx XPS PS2 IP. This driver is > a flat driver to better match the Linux driver pattern. This should probably go to the linux-input@ list as well. > Signed-off-by: Sadanand <[EMAIL PROTECTED]> > Signed-off-by:

RE: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Thanks Peter, will do. -Original Message- From: Peter Korsgaard [mailto:[EMAIL PROTECTED] On Behalf Of Peter Korsgaard Sent: Monday, June 30, 2008 8:45 AM To: John Linn Cc: linuxppc-dev@ozlabs.org; Sadanand Mutyala Subject: Re: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver >

MPC83xx ipic problem

2008-06-30 Thread André Schwarz
Scott, actually I'm having trouble with my PCI interrupts. We are running 2.6.26-rc6 on a MPC8343 based board. There are two external PCI devices connected (FPGA + miniPCI socket). The FPGA is working fine and uses IRQ0 for its PCI_INTA line. As soon there's a miniPCI module present and the dri

Re: [PATCH v2] powerpc: Add dma nodes to 83xx, 85xx and 86xx boards

2008-06-30 Thread Scott Wood
On Mon, Jun 30, 2008 at 02:15:25PM +1000, David Gibson wrote: > On Fri, Jun 27, 2008 at 04:10:17PM -0500, Kumar Gala wrote: > > Added DMA nodes for the elo/elo-plus DMA engines. > > > > Renamed the interrupt controller alias in mpc832x_rdb.dts to ipic so that > > its the same as all the other boar

Re: [PATCH v2] powerpc: Add dma nodes to 83xx, 85xx and 86xx boards

2008-06-30 Thread Kumar Gala
On Jun 30, 2008, at 10:35 AM, Scott Wood wrote: On Mon, Jun 30, 2008 at 02:15:25PM +1000, David Gibson wrote: On Fri, Jun 27, 2008 at 04:10:17PM -0500, Kumar Gala wrote: Added DMA nodes for the elo/elo-plus DMA engines. Renamed the interrupt controller alias in mpc832x_rdb.dts to ipic so t

[PATCH] [V2] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Added a new driver for Xilinx XPS PS2 IP. This driver is a flat driver to better match the Linux driver pattern. Signed-off-by: Sadanand <[EMAIL PROTECTED]> Signed-off-by: John Linn <[EMAIL PROTECTED]> --- V2 Changes from v1: Ran the scripts/checkpatch.pl on the patch as I should have done befo

RE: [PATCH]: [MPC5200] (v2) Add ATA DMA support

2008-06-30 Thread Daniel Schnell
Hi, Against which kernel is this patch against ? Regards, Daniel. Tim Yamin wrote: > Changes from previous version: > > - Add FIFO status error checking code before a DMA transaction starts > and after it is completed. > - Fix an incorrect check in the previous patch causing spurious "dma

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Kim Phillips
On Fri, 27 Jun 2008 22:29:59 -0700 "Grant Likely" <[EMAIL PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 9:52 AM, Kim Phillips > <[EMAIL PROTECTED]> wrote: > > delete obsolete device-type property, delete model property > > (use compatible property instead), prepend "fsl," to Freescale > > specific

Re: [PATCH V2] Keep 3 high personality bytes across exec

2008-06-30 Thread Eric B Munson
On Mon, 30 Jun 2008, Paul Mackerras wrote: > Eric B Munson writes: > > > --- a/include/asm-powerpc/elf.h > > +++ b/include/asm-powerpc/elf.h > > @@ -257,7 +257,8 @@ do { > > \ > > else

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Kim Phillips
On Sun, 29 Jun 2008 01:37:12 +0200 Segher Boessenkool <[EMAIL PROTECTED]> wrote: > > I'm really don't like "fsl,sec1.0" or any of the variants as a > > compatible property either because it can easily be abused (it's not > > anchored to a specific physical part so the meaning can shift over > > ti

[PATCH V3] Keep 3 high personality bytes across exec

2008-06-30 Thread Eric Munson
Currently when a 32 bit process is exec'd on a powerpc 64 bit host the value in the top three bytes of the personality is clobbered. This patch adds a check in the SET_PERSONALITY macro that will carry all the values in the top three bytes across the exec. These three bytes currently carry flags

Re: [PATCH v2] powerpc/bootwrapper: Add documentation of boot wrapper targets

2008-06-30 Thread Grant Likely
On Mon, Jun 30, 2008 at 03:03:29PM +1000, Paul Mackerras wrote: > Grant Likely writes: > > +simpleboot-*) > > +platformo="$object/simpleboot.o" > > +binary=y > > +;; > > esac > > Evidently your patch does more than just "Add documentation"... Ugh. While writing the documentation, I

Re: [POWERPC] mpc7448hpc2.dts: remove chosen node from dts

2008-06-30 Thread Segher Boessenkool
Modern versions of u-boot create a chosen node automatically. So if we set the chosen node in the dts file, there will be 2 chosen nodes passed in to the kernel, That's a bug in uboot, then: when it creates a property, it should delete an already existing property with the same name in that nod

Re: [PATCH 19/60] microblaze_v4: checksum support

2008-06-30 Thread Segher Boessenkool
you find bug because there is microblaze asm code in generic folder. No, I found it because I was reading the code, I didn't even notice this was in asm-generic :-) Big thanks. I'll fix it and I'll look at parameters too. Thanks. Segher ___ Linu

Re: [PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.

2008-06-30 Thread Grant Likely
Stephen Neuendorffer wrote: > Grant Likely wrote: > > > I think the easiest solution is to change the Kconfig so that > > > PPC_UDBG_16550 is only selected based on !XILINX_VIRTEX. I've done this > > > in my tree, but I've been swamped with other things at the moment, so I > > > haven't verified i

Re: MPC83xx ipic problem

2008-06-30 Thread Segher Boessenkool
interrupt-map = <0x5800 0 0 1 &ipic 0x30 0x8 -> FPGA @ IRQ0 0x6000 0 0 1 &ipic 0x11 0x8 -> miniPCI INTA @ IRQ1 0x6000 0 0 2 &ipic 0x11 0x8>;-> miniPCI INTB @ IRQ1 Is it legal to use a single irq pin twice ? The device tree simply describes the

RE: [PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.

2008-06-30 Thread Stephen Neuendorffer
Ah.. good idea... hadn't thought of that, I guess. John Linn: I have no time to look at this. Can you see if such a fix fixes the problem? Steve > -Original Message- > From: Grant Likely [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Monday, June 30, 2008 9:34 AM > To: Ste

RE: [PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.

2008-06-30 Thread John Linn
I'll give it a try, sounds easy. -- John -Original Message- From: Stephen Neuendorffer Sent: Monday, June 30, 2008 10:49 AM To: [EMAIL PROTECTED]; John Linn Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org; git Subject: RE: [PATCH] [POWERPC] Xilinx: add compatibility for

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Segher Boessenkool
Also, these made-up names make you do more work: you'll need to who said they were made up? I did. These names do not refer to some physical part you can buy. write up a binding for them, explaining exactly what a 1.0 device etc. is (or at least point to documentation for it). If you use a

Re: MPC83xx ipic problem

2008-06-30 Thread André Schwarz
Segher, actually I'm the hardware designer ... :-) having trouble with software. The outputs are open-drain and can be connected (wired-or) together. Otherwise "shared irq" wouldn't be possible that easy. cheers, André Segher Boessenkool wrote: interrupt-map = <0x5800 0 0 1 &ipic 0

Re: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Grant Likely
On Mon, Jun 30, 2008 at 07:24:48AM -0700, John Linn wrote: > Added a new driver for Xilinx XPS PS2 IP. This driver is > a flat driver to better match the Linux driver pattern. > > Signed-off-by: Sadanand <[EMAIL PROTECTED]> > Signed-off-by: John Linn <[EMAIL PROTECTED]> I don't know much about th

Re: [PATCH v2] powerpc/bootwrapper: Add documentation of boot wrapper targets

2008-06-30 Thread Anatolij Gustschin
Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > There have been many questions on and off the mailing list about how > exactly the bootwrapper is used for embedded targets. Add some > documentation and help text to try and clarify the system. > > Signed-off-by: Grant Likely <[EM

Re: [PATCH] [V2] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Peter Korsgaard
> "John" == John Linn <[EMAIL PROTECTED]> writes: John> Added a new driver for Xilinx XPS PS2 IP. This driver is John> a flat driver to better match the Linux driver pattern. John> Signed-off-by: Sadanand <[EMAIL PROTECTED]> John> Signed-off-by: John Linn <[EMAIL PROTECTED]> John> ---

RE: [PATCH] [V2] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Ahh... sorry about that Peter, didn't ignore your comments on purpose. Just got on a tangent about sending it to the other mailing list and forgot to look on down. I'll review them. -- John -Original Message- From: Peter Korsgaard [mailto:[EMAIL PROTECTED] On Behalf Of Peter Korsgaard

Re: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Dmitry Torokhov
Hi Grant, John, On Mon, Jun 30, 2008 at 11:16:28AM -0600, Grant Likely wrote: > On Mon, Jun 30, 2008 at 07:24:48AM -0700, John Linn wrote: > > +config SERIO_XILINX_XPS_PS2 > > + tristate "Xilinx XPS PS/2 Controller Support" > > + help > > + This driver supports XPS PS/2 IP from Xilinx EDK.

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Kim Phillips
On Mon, 30 Jun 2008 18:55:34 +0200 Segher Boessenkool <[EMAIL PROTECTED]> wrote: > >> Also, these made-up names make you do more work: you'll need to > > > > who said they were made up? > > I did. These names do not refer to some physical part you can buy. right, they refer to devices in multip

Re: [PATCH] [V2] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Dmitry Torokhov
On Mon, Jun 30, 2008 at 08:38:21AM -0700, John Linn wrote: > + spin_lock_init(&drvdata->lock); > + dev_set_drvdata(dev, (void *)drvdata); No need to cast to void *. > + > + if (!regs_res || !irq_res) { > + dev_err(dev, "IO resource(s) not found\n"); > + retval

Re: [PATCH v2] powerpc/bootwrapper: Add documentation of boot wrapper targets

2008-06-30 Thread Grant Likely
On Mon, Jun 30, 2008 at 07:45:06PM +0200, Anatolij Gustschin wrote: > Grant Likely wrote: > > From: Grant Likely <[EMAIL PROTECTED]> > > > > There have been many questions on and off the mailing list about how > > exactly the bootwrapper is used for embedded targets. Add some > > documentation an

[BUILD-FAILURE] linux-next: Tree for June 30 - powerpc - build failure at arch_add_memory()

2008-06-30 Thread Kamalesh Babulal
Hi Stephen, next-20080630 kernel build fails on powerpc, with randconfig CC arch/powerpc/mm/mem.o arch/powerpc/mm/mem.c: In function ‘arch_add_memory’: arch/powerpc/mm/mem.c:130: error: implicit declaration of function ‘create_section_mapping’ make[1]: *** [arch/powerpc/mm/mem.o] Error 1

[PATCH 1/2] Convert i2c-mpc from a platform driver into a of_platform driver, V3

2008-06-30 Thread Jon Smirl
Convert i2c-mpc to an of_platform driver. Utilize the code in drivers/of-i2c.c to make i2c modules dynamically loadable by the device tree. Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 122 - drivers/i2c/busses/i2c-mpc

[PATCH 2/2] Add the of_find_i2c_device_by_node function, V3

2008-06-30 Thread Jon Smirl
Add the of_find_i2c_device_by_node function. This allows you to follow a reference in the device to an i2c device node and then locate the linux device instantiated by the device tree. Example use, an i2s codec controlled by i2c. --- drivers/i2c/i2c-core.c |2 +- drivers/of/of_i2c.c|

Re: [POWERPC] mpc7448hpc2.dts: remove chosen node from dts

2008-06-30 Thread Scott Wood
Segher Boessenkool wrote: Modern versions of u-boot create a chosen node automatically. So if we set the chosen node in the dts file, there will be 2 chosen nodes passed in to the kernel, That's a bug in uboot, then: Yes, and it was fixed a while ago. -Scott

Re: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Grant Likely
On Mon, Jun 30, 2008 at 02:10:23PM -0400, Dmitry Torokhov wrote: > Hi Grant, John, > > On Mon, Jun 30, 2008 at 11:16:28AM -0600, Grant Likely wrote: > > On Mon, Jun 30, 2008 at 07:24:48AM -0700, John Linn wrote: > > > +/* > > > + * sxps2_write() sends a byte out through the PS/2 interface. > > >

Re: [PATCH 1/2] Convert i2c-mpc from a platform driver into a of_platform driver, V3

2008-06-30 Thread Scott Wood
On Mon, Jun 30, 2008 at 02:34:13PM -0400, Jon Smirl wrote: > + result = request_irq(i2c->irq, mpc_i2c_isr, > + IRQF_SHARED, "i2c-mpc", > i2c); That's a rather excessive indentation of the continuation line -- it looks like it was ali

Re: MPC83xx ipic problem

2008-06-30 Thread Scott Wood
André Schwarz wrote: There are two external PCI devices connected (FPGA + miniPCI socket). The FPGA is working fine and uses IRQ0 for its PCI_INTA line. As soon there's a miniPCI module present and the driver loaded (actually an ath5k WiFi module) the system complains after a while : irq 48:

Re: [RFC] 4xx hardware watchpoint support

2008-06-30 Thread Luis Machado
Hi guys, Did anyone have a chance to go over this patch? Looking forward to receive feedbacks on it. Thanks! Regards, Luis On Fri, 2008-06-20 at 17:14 -0300, Luis Machado wrote: > On Thu, 2008-05-22 at 13:51 +1000, Paul Mackerras wrote: > > Luis Machado writes: > > > > > This is a patch that h

RE: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Thanks Peter, those make sense. We'll incorporate those comments. -Original Message- From: Peter Korsgaard [mailto:[EMAIL PROTECTED] On Behalf Of Peter Korsgaard Sent: Monday, June 30, 2008 8:45 AM To: John Linn Cc: linuxppc-dev@ozlabs.org; Sadanand Mutyala Subject: Re: [PATCH] powerpc: X

Re: [PATCH v2] powerpc: Add dma nodes to 83xx, 85xx and 86xx boards

2008-06-30 Thread Scott Wood
Kumar Gala wrote: I believe this comes into play when we have more than one DMA controller and sometimes there are special uses like on 8610. Maybe, though I'd just use a phandle to express that (unless you need to program the number that you're using, rather than just use a specific one). C

RE: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Thanks Grant. Sounds like there's a few things that not everyone does the same based on comments from others. In general, all pretty easy changes that in general make sense. Thanks, John >On Mon, Jun 30, 2008 at 07:24:48AM -0700, John Linn wrote: >> Added a new driver for Xilinx XPS PS2 IP. Thi

PREEMPT_RT fixes

2008-06-30 Thread Scott Wood
Kumar, could you apply these patches for 2.6.27? http://patchwork.ozlabs.org/linuxppc/patch?id=18584 http://patchwork.ozlabs.org/linuxppc/patch?id=18587 -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/li

Re: [PATCH] fsl-diu-fb: Update Freescale DIU driver to use page_alloc_exact()

2008-06-30 Thread Andrew Morton
On Tue, 24 Jun 2008 11:44:13 -0500 Timur Tabi <[EMAIL PROTECTED]> wrote: > Update the Freescale DIU driver to use page_alloc_exact() to allocate a > DMA buffer. This also eliminates the rheap-based memory allocator. We > can do this now because commit 6ccf61f9 allows us to allocate 8MB physicall

Re: [PATCH v2] powerpc: Add dma nodes to 83xx, 85xx and 86xx boards

2008-06-30 Thread Segher Boessenkool
What's the cell-index in these nodes used to index? Given the confusion there's been about the proper use of this property, a comment indicating which shared registers this is used to index is probably a good idea. There's supposed to be a cell-index in the *channels* to index into the shared

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Segher Boessenkool
Also, these made-up names make you do more work: you'll need to who said they were made up? I did. These names do not refer to some physical part you can buy. right, they refer to devices in multiple physical parts you can buy. Part-you-can-buy documentation clearly indicates the SEC versio

RE: [PATCH] [V2] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread John Linn
Thanks Dmitry, see my comments inline. -- John >On Mon, Jun 30, 2008 at 08:38:21AM -0700, John Linn wrote: >> +spin_lock_init(&drvdata->lock); >> +dev_set_drvdata(dev, (void *)drvdata); > >No need to cast to void *. OK. > >> + >> +if (!regs_res || !irq_res) { >> +dev_err

Re: [PATCH 4/5] Helper routines for parsing drconf memory

2008-06-30 Thread Paul Mackerras
Nathan Fontenot writes: > This patch pulls several pieces of exisitng code for parsing memory under > the ibm,dynamic-reconfiguration-memory node of the device tree into helper > routines. This is in preparation for the next patch that will also use these > same helper routines. There are no fun

Re: [PATCH 08/18 v2] powerpc: Do not probe PCI buses or eBus devices if CMO is enabled

2008-06-30 Thread Brian King
Paul Mackerras wrote: > Robert Jennings writes: > >> From: Brian King <[EMAIL PROTECTED]> >> >> The Cooperative Memory Overcommit (CMO) on System p does not currently >> support native PCI devices or eBus devices when enabled. > > Then why would we get any native PCI or eBus devices in the device

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Kim Phillips
On Mon, 30 Jun 2008 23:19:05 +0200 Segher Boessenkool <[EMAIL PROTECTED]> wrote: > Also, these made-up names make you do more work: you'll need to > >>> > >>> who said they were made up? > >> > >> I did. These names do not refer to some physical part you can buy. > > > > right, they refer to

Re: [PATCH] powerpc: Xilinx: PS2: Added new XPS PS2 driver

2008-06-30 Thread Grant Likely
On Mon, Jun 30, 2008 at 02:00:12PM -0600, John Linn wrote: > > > >Since xps2_recv() and xps2_send() are used by the sxps2_* routines and > >by the irq handler, they should be moved to about them in this file. > > > > OK, keeping them close makes maintenance easier I guess. > Oops, there is a typ

[PATCH 2/2] Add the of_find_i2c_device_by_node function, V4

2008-06-30 Thread Jon Smirl
Add the of_find_i2c_device_by_node function. This allows you to follow a reference in the device to an i2c device node and then locate the linux device instantiated by the device tree. Example use, an i2s codec controlled by i2c. --- drivers/i2c/i2c-core.c |2 +- drivers/of/of_i2c.c|

[PATCH 1/2] Convert i2c-mpc from a platform driver into a of_platform driver, V4

2008-06-30 Thread Jon Smirl
Convert i2c-mpc to an of_platform driver. Utilize the code in drivers/of-i2c.c to make i2c modules dynamically loadable by the device tree. Signed-off-by: Jon Smirl <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/fsl_soc.c | 122 - drivers/i2c/busses/i2c-mpc

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Segher Boessenkool
Yes. As a side note, since there are multiple devices that contain e.g. a sec-1.0, it would be prudent to describe the exact incarnation in the device tree, like "mpc8272-sec" or something, in either "model" but 'fsl,sec-X.Y' /does/ describe the exact incarnation, No it doesn't. If it's on a

Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Paul Mackerras
The following commits have been added to the master and powerpc-next branches of the powerpc.git repository. This includes patches pulled from Kumar's and Josh's trees. Paul. Adrian Bunk (3): drivers/macintosh: Various cleanups powerpc: Don't export asm/asm-compat.h to userspace

Re: [PATCH v2] update crypto node definition and device tree instances

2008-06-30 Thread Kim Phillips
On Tue, 1 Jul 2008 01:27:58 +0200 Segher Boessenkool <[EMAIL PROTECTED]> wrote: > >> Yes. As a side note, since there are multiple devices that contain > >> e.g. a sec-1.0, it would be prudent to describe the exact incarnation > >> in the device tree, like "mpc8272-sec" or something, in either "m

Re: Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Paul Mackerras
Paul Mackerras writes: > The following commits have been added to the master and powerpc-next > branches of the powerpc.git repository. This includes patches pulled > from Kumar's and Josh's trees. Hold off from pulling this for now, everyone... I inadvertently broke builds with 64k pages by le

[PATCH 1/1] Fix Building of arch/powerpc/mm/mem.o when MEMORY_HOTPLUG=y and SPARSEMEM=n

2008-06-30 Thread Tony Breeds
Currently the kernel fails to build with the above config options with: CC arch/powerpc/mm/mem.o arch/powerpc/mm/mem.c: In function 'arch_add_memory': arch/powerpc/mm/mem.c:130: error: implicit declaration of function 'create_section_mapping' This patch explicitly includes asm/sparsemem.h

Re: [BUILD-FAILURE] linux-next: Tree for June 30 - powerpc - build failure at arch_add_memory()

2008-06-30 Thread Tony Breeds
On Mon, Jun 30, 2008 at 11:55:02PM +0530, Kamalesh Babulal wrote: > Hi Stephen, > > next-20080630 kernel build fails on powerpc, with randconfig > > CC arch/powerpc/mm/mem.o > arch/powerpc/mm/mem.c: In function ‘arch_add_memory’: > arch/powerpc/mm/mem.c:130: error: im

Re: Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Benjamin Herrenschmidt
On Tue, 2008-07-01 at 11:27 +1000, Paul Mackerras wrote: > Paul Mackerras writes: > > > The following commits have been added to the master and powerpc-next > > branches of the powerpc.git repository. This includes patches pulled > > from Kumar's and Josh's trees. > > Hold off from pulling this

Re: Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Paul Mackerras
I wrote: > Hold off from pulling this for now, everyone... I inadvertently broke > builds with 64k pages by leaving in some stuff that was purely for > testing in my "Only demote individual slices rather than whole > process" patch. I'll re-do the tree in order to avoid breaking > bisection. I

Re: Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Josh Boyer
On Tue, 01 Jul 2008 11:45:10 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-01 at 11:27 +1000, Paul Mackerras wrote: > > Paul Mackerras writes: > > > > > The following commits have been added to the master and powerpc-next > > > branches of the powerpc.git repository.

Re: Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Benjamin Herrenschmidt
> > Any chance to get my 4xx PTE rework in too ? > > I asked you about that 2 weeks ago. I also asked you to spin a v2 with > the comments Kumar asked for. I got nothing back. > > If you want it in 2.6.27, do that soon please :) Oops... though I did it. Let me check what I have ... Ben. __

[PATCH 0/2] powerpc: Update VSX support

2008-06-30 Thread Michael Neuling
Below are a couple of fixes for VSX. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- Paulus: please apply to your powerpc-next tree ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[PATCH 2/2] powerpc: Update for VSX core file and ptrace

2008-06-30 Thread Michael Neuling
This correctly hooks the VSX dump into Roland McGrath core file infrastructure. It adds the VSX dump information as an additional elf note in the core file (after talking more to the tool chain/gdb guys). This also ensures the formats are consistent between signals, ptrace and core files. Signed-

[PATCH 1/2] powerpc: Fix compile error for CONFIG_VSX

2008-06-30 Thread Michael Neuling
Fix compile error when CONFIG_VSX is enabled. arch/powerpc/kernel/signal_64.c: In function 'restore_sigcontext': arch/powerpc/kernel/signal_64.c:241: error: 'i' undeclared (first use in this function) Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/signal_64.c |1

Re: Commits added to powerpc.git master and powerpc-next branches

2008-06-30 Thread Kumar Gala
On Jun 30, 2008, at 9:44 PM, Benjamin Herrenschmidt wrote: Any chance to get my 4xx PTE rework in too ? I asked you about that 2 weeks ago. I also asked you to spin a v2 with the comments Kumar asked for. I got nothing back. If you want it in 2.6.27, do that soon please :) Oops... t

[PATCH] powerpc: rework 4xx PTE access and TLB miss

2008-06-30 Thread Benjamin Herrenschmidt
This is some preliminary work to improve TLB management on SW loaded TLB powerpc platforms. This introduce support for non-atomic PTE operations in pgtable-ppc32.h and removes write back to the PTE from the TLB miss handlers. In addition, the DSI interrupt code no longer tries to fixup write permis

Re: [PATCH 1/2] powerpc: Fix compile error for CONFIG_VSX

2008-06-30 Thread Michael Neuling
In message <[EMAIL PROTECTED]> you wrote: > Fix compile error when CONFIG_VSX is enabled. > > arch/powerpc/kernel/signal_64.c: In function 'restore_sigcontext': > arch/powerpc/kernel/signal_64.c:241: error: 'i' undeclared (first use in this function) FYI.. this was caused by a merge conflict w

Re: [PATCH v2] Parameterize EMAC Multicast Match Handling

2008-06-30 Thread Grant Erickson
On 6/24/08 5:08 PM, Grant Erickson wrote: > Various instances of the EMAC core have varying: 1) number of address > match slots, 2) width of the registers for handling address match slots, > 3) number of registers for handling address match slots and 4) base > offset for those registers. > > As th

Re: [PATCH] Fix pq2fads irq handling with PREEMPT_RT

2008-06-30 Thread Kumar Gala
On May 20, 2008, at 2:28 PM, Rune Torgersen wrote: Fix interrupt threading issue on pq2fads when running with CONFIG_PREEMPT_RT Signed-off-by: Rune Torgersen <[EMAIL PROTECTED]> applied. - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org

Re: [PATCH] Fix cpm uart corruption with PREEMPT_RT

2008-06-30 Thread Kumar Gala
On May 20, 2008, at 2:39 PM, Rune Torgersen wrote: Fix CPM serial port corruption when running with CONFIG_PREEMPT_RT. Userland usage of console, and kernel printf's were stepping on each others toes. Also only take lock if not in an oops. Signed-off-by: Rune Torgersen <[EMAIL PROTECTED]>

[PATCH][RESEND] powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform

2008-06-30 Thread Kumar Gala
There isn't any reason at this point that we can't build 82xx, 83xx & 86xx support in with the other 6xx based boards. Twiddle the Kconfigs to allow this. This allows us to remove the machine type selection for related to 6xx. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Rebased against la

[PATCH] powerpc: fixup lwsync at runtime

2008-06-30 Thread Kumar Gala
To allow for a single kernel image on e500 v1/v2/mc we need to fixup lwsync at runtime. On e500v1/v2 lwsync causes an illop so we need to patch up the code. We default to 'sync' since that is always safe and if the cpu is capable we will replace 'sync' with 'lwsync'. We introduce CPU_FTR_LWSYNC

Re: [PATCH v2] Parameterize EMAC Multicast Match Handling

2008-06-30 Thread Benjamin Herrenschmidt
> Stefan and/or Ben: > > Any thoughts on this? I was hesitating a bit... do we really need to be -that- flexible ? That is, either that or use some new compatible entry to detect the new reg layout and whack that as a feature bit instead ? The advantage of the later is that we have the possibili

RE: [PATCH] [POWERPC] Xilinx: add compatibility for 'simple-bus'.

2008-06-30 Thread Benjamin Herrenschmidt
On Fri, 2008-06-06 at 09:16 -0700, Stephen Neuendorffer wrote: > legacy_serial identifies a valid ns16550 on a simple-bus, but the > legacy_serial driver doesn't understand the shift and offset flags > necessary to get it to work, which results in no console. > > I think the easiest solution is to

Re: [PATCH][RESEND] powerpc: Add 82xx/83xx/86xx to 6xx Multiplatform

2008-06-30 Thread Arnd Bergmann
On Tuesday 01 July 2008, Kumar Gala wrote: > There isn't any reason at this point that we can't build 82xx, 83xx & 86xx > support in with the other 6xx based boards.  Twiddle the Kconfigs to allow > this. > > This allows us to remove the machine type selection for related to 6xx. > > Signed-off-b

Re: [PATCH] powerpc: fixup lwsync at runtime

2008-06-30 Thread Benjamin Herrenschmidt
On Tue, 2008-07-01 at 00:32 -0500, Kumar Gala wrote: > To allow for a single kernel image on e500 v1/v2/mc we need to fixup lwsync > at runtime. On e500v1/v2 lwsync causes an illop so we need to patch up > the code. We default to 'sync' since that is always safe and if the cpu > is capable we wil

RE: [PATCH 12/60] microblaze_v4: Generic dts file for platforms

2008-06-30 Thread Benjamin Herrenschmidt
> As for the copyright, I haven't been able to find much information on > whether or not generated files are even copyrightable. One might > argue that they > don't have sufficient 'creative value' to be copyrightable. Or > arguably, they are as copyrightable by the generator author as by the >

Re: [PATCH] powerpc: fixup lwsync at runtime

2008-06-30 Thread Michael Ellerman
On Tue, 2008-07-01 at 00:32 -0500, Kumar Gala wrote: > To allow for a single kernel image on e500 v1/v2/mc we need to fixup lwsync > at runtime. On e500v1/v2 lwsync causes an illop so we need to patch up > the code. We default to 'sync' since that is always safe and if the cpu > is capable we wil

Re: [PATCH v2] Parameterize EMAC Multicast Match Handling

2008-06-30 Thread Stefan Roese
On Tuesday 01 July 2008, Benjamin Herrenschmidt wrote: > > Stefan and/or Ben: > > > > Any thoughts on this? > > I was hesitating a bit... do we really need to be -that- flexible ? > > That is, either that or use some new compatible entry to detect the new > reg layout and whack that as a feature bi

linux-next: manual merge of the powerpc tree

2008-06-30 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the powerpc tree got a conflict in drivers/macintosh/mediabay.c between commit 3fdba626506365e3aaf49140632120cd9156c2e8 ("ide-pmac: media-bay support fixes (take 3)") from the ide tree and commit 9a24729d8aeef967eac7af71c6a69edc83d06558 ("macintosh/media bay: C