Re: [PATCH] Add support for the nwp serial device

2008-11-20 Thread David Gibson
On Fri, Nov 21, 2008 at 08:21:02AM +0100, Benjamin Krill wrote: > * David Gibson | 2008-11-21 11:35:45 [+1100]: > > > > >Uh.. registers as port number 84?? What's this random number about? > > > It's just the next free number in serial_core.h. Ah, right, sorry, those are type codes. Thought you

Re: [PATCH] Add support for the nwp serial device

2008-11-20 Thread Benjamin Krill
* David Gibson | 2008-11-21 11:35:45 [+1100]: > >Uh.. registers as port number 84?? What's this random number about? > It's just the next free number in serial_core.h. Ben ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailma

Re: [spi-devel-general] [PATCH v4] spi: Add PPC4xx SPI driver

2008-11-20 Thread David Brownell
On Friday 31 October 2008, Stefan Roese wrote: > +   dev_dbg(&spi->dev, "%s: mode %d, %u bpw, %d hz\n", > +   __FUNCTION__, spi->mode, spi->bits_per_word, > +   spi->max_speed_hz); Oh, and checkpatch.pl would warn about __FUNCTION__ vs __func__ ... _

Re: [spi-devel-general] [PATCH v4] spi: Add PPC4xx SPI driver

2008-11-20 Thread David Brownell
On Friday 31 October 2008, Stefan Roese wrote: > +static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer > *t) > +{ > ... > > +   if (in_8(&hw->regs->cdm) != cdm) > +   out_8(&hw->regs->cdm, cdm); ... writes to hardware, updating SPI the clock ra

Re: [spi-devel-general] [PATCH v3] spi: Add PPC4xx SPI driver

2008-11-20 Thread David Brownell
On Thursday 30 October 2008, Jason Hanna wrote: > Also, any pointers to sample/test code incorporating a spi protocol > driver would be incredibly helpful. Look at Documentation/spi/*.c ... for user mode code hooking up through "spidev". > I'm very new to device driver > programming and don't r

Re: [PATCH] powerpc/mpic: don't reset affinity for secondary MPIC on boot

2008-11-20 Thread Benjamin Herrenschmidt
On Thu, 2008-11-20 at 18:23 +0100, Arnd Bergmann wrote: > Kexec/kdump currently fails on the IBM QS2x blades when the kexec happens > on a CPU other than the initial boot CPU. It turns out that this is the > result of mpic_init trying to set affinity of each interrupt vector to the > current boot

Re: [PATCH 4/4] leds: Let GPIO LEDs keep their current state

2008-11-20 Thread Trent Piepho
On Mon, 17 Nov 2008, Richard Purdie wrote: > On Fri, 2008-10-24 at 16:09 -0700, Trent Piepho wrote: >> +if (template->keep_state) >> +state = !!gpio_get_value(led_dat->gpio) ^ led_dat->active_low; >> +else >> +state = template->default_state; >> >> state

Re: [PATCH] powerpc/cell/axon-msi: retry on missing interrupt

2008-11-20 Thread Michael Ellerman
On Mon, 2008-11-17 at 17:10 +0100, Arnd Bergmann wrote: > The MSI capture logic for the axon bridge can sometimes > lose interrupts in case of high DMA and interrupt load, > when it signals an MSI interrupt to the MPIC interrupt > controller while we are already handling another MSI. > 8< 8< 8< >

Re: [PATCH] Add support for the nwp serial device

2008-11-20 Thread David Gibson
On Thu, Nov 20, 2008 at 03:01:23PM +0100, Arnd Bergmann wrote: > From: Benjamin Krill <[EMAIL PROTECTED]> > > This patch adds support for the nwp serial device which is connected to > a DCR bus. It uses the of_serial device driver to determine necessary > properties from the device tree. The suppo

Re: powerpc: udbg based backend for hvc_console

2008-11-20 Thread David Gibson
On Thu, Nov 20, 2008 at 01:07:11PM -0600, Milton Miller wrote: > [I'm going to reply to several points in this thread in one reply. I > have restored context that was trimmed in later replys when I wanted to > speak to.] > > David Gibson wrote at 2008-11-18 00:28:28: >> On Mon, Nov 17, 2008 at

Re: powerpc: udbg based backend for hvc_console

2008-11-20 Thread David Gibson
On Thu, Nov 20, 2008 at 01:16:27PM -0600, Timur Tabi wrote: > Milton Miller wrote: > > > Stated differently, if your routine (1) fundamently works one character > > at a time and (2) is not interrupt driven, and (3) only supports one > > channel, what avantage is there to an explicit hvc drive

Re: times(2) sys call bug?

2008-11-20 Thread Paul Mackerras
Joakim Tjernlund writes: > This little hack changes the kernel sys call handling in an crude > way and then it works. Apperently the kernel thinks is an error if the > syscall returns a value between -_LAST_ERRNO and -1. Try this patch and let me if it fixes it. If it does I'll push it upstream.

[PATCH] ftrace: mcountrecord.pl for arm

2008-11-20 Thread Jim Radford
Ingo and Steven, Here is a patch on top of Steven's for recordmcount.pl on arm. -Jim --- From: Jim Radford <[EMAIL PROTECTED]> Subject: ftrace: mcountrecord.pl for arm Signed-Off-By: Jim Radford <[EMAIL PROTECTED]> diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index c5c58ac..3

Re: [PATCH] ftrace: mcountrecord.pl for arm

2008-11-20 Thread Jim Radford
Ingo and Steven, Here's an updated version of the arch/arm changes for dynamic ftrace based on top of your latest tip/master. -Jim --- From: Jim Radford <[EMAIL PROTECTED]> Subject: ftrace: enable dynamic ftrace for arm Update to the latest api, syncing functions with the x86 versions. Index:

Re: [Ltib] ltib error -linux2.6.20.6 with MPC8360E MDS

2008-11-20 Thread Stuart Hughes
Hi Nanda, This is happening because you don't have access to http://www.bitshrine.org/gpp for some reason. If LTIB needs to download sources to build a package, it will get them from bitshrine.org. Can you check that you are able to access this URL from the command line with wget. Regards, Stua

[GIT PULL] Please pull spufs.git merge branch

2008-11-20 Thread Jeremy Kerr
Hi Paul, Please do a: git pull \ git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs.git merge For a spufs bugfix Cheers, Jeremy --- diffstat: arch/powerpc/platforms/cell/spufs/file.c |3 +++ 1 file changed, 3 insertions(+) 1 commits: po

[PATCH 1/1] powerpc: ftrace, do nothing in mcount call for dyn ftrace

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: quicken mcount calls that are not replaced by dyn ftrace Dynamic ftrace no longer does on the fly recording of mcount locations. The mcount locations are now found at compile time. The mcount function no longer needs to store registers and call a s

[PATCH 0/1] powerpc: make mcount a stub for dynamic ftrace

2008-11-20 Thread Steven Rostedt
Paul, I have one more patch. I added it to the end of the ppc/ftrace branch. The new way of handling the finding of mcounts means we do not need to do anything in the mcount call itself. It should just be a stub and when ftrace is enabled, it will change the caller sites to call something other th

[PATCH 3/3] ftrace: create default variables for archs in recordmcount.pl

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: cleanup of recordmcount.pl Now that more architectures are being ported to the MCOUNT_RECORD method, there is no reason to have each declare their own arch specific variable if most of them share the same value. This patch creates a set of default

[PATCH 1/3] sh: dynamic ftrace support.

2008-11-20 Thread Steven Rostedt
From: Matt Fleming <[EMAIL PROTECTED]> First cut at dynamic ftrace support. [ Steven Rostedt - only updated the recordmcount.pl file. There are updates for PowerPC that will conflict with this, and we need to base off of these changes. ] Signed-off-by: Matt Fleming <[EMAIL PROTECTED]>

[PATCH 0/3] ftrace: updates to recordmcount.pl script

2008-11-20 Thread Steven Rostedt
Ingo, I took Matt's patch and stripped out all the sh changes, leaving only the update to recordmcount.pl. Hopefully, this will disappear when it is pulled into linux-next. The second patch is the changes needed for PowerPC in the recordmcount.pl script. The thrird patch is the cleanup. All of

[PATCH 2/3] ftrace: add support for powerpc to recordmcount.pl script

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: Add PowerPC port to recordmcount.pl script This patch updates the recordmcount.pl script to process PowerPC. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- scripts/recordmcount.pl | 19 +-- 1 files changed, 17 insertions(

Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

2008-11-20 Thread Scott Wood
On Thu, Nov 20, 2008 at 01:32:23PM +0100, Laurent Pinchart wrote: > Instead of rounding the divider down, improve the baud-rate generators > accuracy by rounding to the nearest integer. > > Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> This makes things worse on mpc8272ads -- the result of

Re: [PATCH 0/5] powerpc: dynamic ftrace port

2008-11-20 Thread Steven Rostedt
On Thu, 20 Nov 2008, Ingo Molnar wrote: > > > > There is one exception and that is for the first patch. The first patch > > is actually a fix for the irqsoff latency tracer which is already > > in mainline for PowerPC. > > > > Steven Rostedt (5): > > powerpc: ftrace, do not latency trace i

Re: [PATCH] Fix BSR to allow mmap of small BSR on 64k kernel

2008-11-20 Thread Sonny Rao
On Thu, Nov 20, 2008 at 09:54:21AM +1100, Paul Mackerras wrote: > Sonny Rao writes: > > > On Wed, Nov 19, 2008 at 03:07:04PM +1100, Paul Mackerras wrote: > > > I think we should be checking that dev->bsr_len == 4096 here. > > > > > > Paul. > > > > Well, dev->bsr_len could be 4096 or 8192 > > Is

Re: [PATCH 0/5] powerpc: dynamic ftrace port

2008-11-20 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Thu, 20 Nov 2008, Steven Rostedt wrote: > > > > 1) I removed the changes to recordmcount.pl. This is not a PowerPC > > change, although PowerPC needs it for dynamic ftrace. But > > the changes here can go via linux-tip. > > Ingo, > > I

Re: [PATCH 0/5] powerpc: dynamic ftrace port

2008-11-20 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Paul and Ingo, > > The following are the changes to get dynamic ftrace working on PowerPC. > I modified these a little from the last postings. > > 1) I removed the changes to recordmcount.pl. This is not a PowerPC > change, although PowerPC ne

Re: powerpc: udbg based backend for hvc_console

2008-11-20 Thread Timur Tabi
Milton Miller wrote: > Stated differently, if your routine (1) fundamently works one character > at a time and (2) is not interrupt driven, and (3) only supports one > channel, what avantage is there to an explicit hvc driver? I think it's because HVC has the ability to use HVC client drivers

Re: [PATCH 0/5] powerpc: dynamic ftrace port

2008-11-20 Thread Steven Rostedt
On Thu, 20 Nov 2008, Steven Rostedt wrote: > > 1) I removed the changes to recordmcount.pl. This is not a PowerPC > change, although PowerPC needs it for dynamic ftrace. But > the changes here can go via linux-tip. Ingo, I found that the recordmcount.pl change conflicts with a commit

[PATCH 4/5] powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: Allow 64 bit PowerPC to trace modules with dynamic ftrace This adds code to handle the PPC64 module trampolines, and allows for PPC64 to use dynamic ftrace. Thanks to Paul Mackerras for these updates: - fix the mod and rec->arch.mod NULL checks

[PATCH 5/5] powerpc/ppc32: ftrace, dynamic ftrace to handle modules

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: add ability to trace modules on 32 bit PowerPC This patch performs the necessary trampoline calls to handle modules with dynamic ftrace on 32 bit PowerPC. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/module.h |

[PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: update to PowerPC ftrace arch API This patch converts PowerPC to use the new dynamic ftrace arch API. Thanks to Paul Mackennas for pointing out the mistakes of my original test_24bit_addr function. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]

[PATCH 3/5] powerpc: ftrace, use probe_kernel API to modify code

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: use cleaner probe_kernel API over assembly Using probe_kernel_read/write interface is a much cleaner approach than the current assembly version. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ftrace.c | 53 +++

[PATCH 0/5] powerpc: dynamic ftrace port

2008-11-20 Thread Steven Rostedt
Paul and Ingo, The following are the changes to get dynamic ftrace working on PowerPC. I modified these a little from the last postings. 1) I removed the changes to recordmcount.pl. This is not a PowerPC change, although PowerPC needs it for dynamic ftrace. But the changes here can go v

[PATCH 1/5] powerpc: ftrace, do not latency trace idle

2008-11-20 Thread Steven Rostedt
From: Steven Rostedt <[EMAIL PROTECTED]> Impact: fix for irq off latency tracer When idle is called, interrupts are disabled, but the idle function will still wake up on an interrupt. The problem is that the interrupt disabled latency tracer will take this call to idle as a latency. This patch d

Re: powerpc: udbg based backend for hvc_console

2008-11-20 Thread Milton Miller
[I'm going to reply to several points in this thread in one reply. I have restored context that was trimmed in later replys when I wanted to speak to.] David Gibson wrote at 2008-11-18 00:28:28: On Mon, Nov 17, 2008 at 01:41:24PM -0600, Timur Tabi wrote: On Thu, Oct 23, 2008 at 9:54 PM, Da

Re: USB on lite5200 does not work.

2008-11-20 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > > I've got a "little" problem with USB using a board based on lite5200. > > Some infos: > > -uBoot 1.2.0 > -Linux version 2.6.21.7-hrt1-WR2.0bl_standard 2.6.21 is a pretty old kernel. In mainline, it didn't include real sta

ltib error -linux2.6.20.6 with MPC8360E MDS

2008-11-20 Thread nanda
Hi All,   Iam forwarding the mail which I have posted to powerpc linux list [EMAIL PROTECTED]  Iam getting the below error during the generation of rootfs.ext2.gz.uboot (Power PC Linux RAM Disk Image) and uImage (Power PC Linux Kernel Image) for linux-2.6.20.6 kernel on the power PC MPC 8360E M

[PATCH v3] powerpc: allow configuring max stack dump depth

2008-11-20 Thread Johannes Berg
On my screen, when something crashes, I only have space for maybe 16 functions of the stack trace before the information above it scrolls off the screen. It's easy to hack the kernel to print out only that much, but it's harder to remember to do it. This patch introduces a config option for it so t

Re: [PATCH v2] powerpc: allow configuring max stack dump depth

2008-11-20 Thread Johannes Berg
On Thu, 2008-11-20 at 09:10 +1100, Paul Mackerras wrote: > Johannes Berg writes: > > > On my screen, when something crashes, I only have space for maybe > > 16 functions of the stack trace before the information above it > > scrolls off the screen. It's easy to hack the kernel to print out > > onl

Re: [PATCH] powerpc/mpic: don't reset affinity for secondary MPIC on boot

2008-11-20 Thread Arnd Bergmann
Kexec/kdump currently fails on the IBM QS2x blades when the kexec happens on a CPU other than the initial boot CPU. It turns out that this is the result of mpic_init trying to set affinity of each interrupt vector to the current boot CPU. As far as I can tell, the same problem is likely to exist

Re: Re :Re: 8360E MDS - linux 2.6.20

2008-11-20 Thread Kim Phillips
On 20 Nov 2008 14:23:13 - "nanda" <[EMAIL PROTECTED]> wrote: > Testing ppp_url connectivity: FAIL, disabling Testing gpp_url connectivity: > FAIL, disabling No network download connection available for one, it sounds like you don't have a connection to the internet. this is off topic for lin

[PATCH V2] powerpc: Add sync_*_for_* to dma_ops

2008-11-20 Thread Becky Bruce
We need to swap these out once we start using swiotlb, so add them to dma_ops. Create CONFIG_PPC_NEED_DMA_SYNC_OPS Kconfig option; this is currently enabled automatically if we're CONFIG_NOT_COHERENT_CACHE. In the future, this will also be enabled for builds that need swiotlb. If PPC_NEED_DMA_SY

Re: times(2) sys call bug?

2008-11-20 Thread Joakim Tjernlund
On Thu, 2008-11-20 at 10:37 -0500, Josh Boyer wrote: > On Thu, 20 Nov 2008 16:09:16 +0100 > "Joakim Tjernlund" <[EMAIL PROTECTED]> wrote: > > > Why does the below program end up reporting -1 > > multiple seconds when times() wrap: > > http://sources.redhat.com/bugzilla/show_bug.cgi?id=5209 > > j

Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

2008-11-20 Thread Laurent Pinchart
On Thursday 20 November 2008 17:00:54 Kumar Gala wrote: > On Nov 20, 2008, at 9:57 AM, Laurent Pinchart wrote: > > On Thursday 20 November 2008 16:32:21 Kumar Gala wrote: > >> On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote: > >>> Instead of rounding the divider down, improve the baud-rate > >>

Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

2008-11-20 Thread Kumar Gala
On Nov 20, 2008, at 9:57 AM, Laurent Pinchart wrote: Hi Kumar, On Thursday 20 November 2008 16:32:21 Kumar Gala wrote: On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote: Instead of rounding the divider down, improve the baud-rate generators accuracy by rounding to the nearest integer. S

Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

2008-11-20 Thread Laurent Pinchart
Hi Kumar, On Thursday 20 November 2008 16:32:21 Kumar Gala wrote: > On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote: > > Instead of rounding the divider down, improve the baud-rate generators > > accuracy by rounding to the nearest integer. > > > > Signed-off-by: Laurent Pinchart <[EMAIL PROTE

Re: R: USB on lite5200 does not work.

2008-11-20 Thread Grant Likely
On Thu, Nov 20, 2008 at 8:33 AM, <[EMAIL PROTECTED]> wrote: > I Grant > I would but I cannot move up to an other kernel, project constraints. > > Complement of INFO: > using a lite5200EVB USB works. using our board (kernel modified for our > board), USB does not work. > > Have you got some ideas?

Re: [PATCH] Add support for the nwp serial device

2008-11-20 Thread Benjamin Krill
Hi Josh, >What does 'NWP' stand for, and how is it different from a regular serial >port? Also, what platforms can this device be found on currently? > >Some of that should be included in the changelog, but I'm curious as well >too. NWP stands for network processor and it is part of the QPACE -

Re: [PATCH] Add support for the nwp serial device

2008-11-20 Thread Josh Boyer
On Thu, 20 Nov 2008 16:20:54 +0100 Benjamin Krill <[EMAIL PROTECTED]> wrote: > Hi Josh, > > >What does 'NWP' stand for, and how is it different from a regular serial > >port? Also, what platforms can this device be found on currently? > > > >Some of that should be included in the changelog, but

Re: times(2) sys call bug?

2008-11-20 Thread Josh Boyer
On Thu, 20 Nov 2008 16:09:16 +0100 "Joakim Tjernlund" <[EMAIL PROTECTED]> wrote: > Why does the below program end up reporting -1 > multiple seconds when times() wrap: http://sources.redhat.com/bugzilla/show_bug.cgi?id=5209 josh ___ Linuxppc-dev mailin

Re: [PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

2008-11-20 Thread Kumar Gala
On Nov 20, 2008, at 6:32 AM, Laurent Pinchart wrote: Instead of rounding the divider down, improve the baud-rate generators accuracy by rounding to the nearest integer. Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm2.c |3 ++- 1 files changed, 2 insertions(+

Re: [PATCH] powerpc: Add MSR[CE, DE] to the MSR bits we print on show_regs()

2008-11-20 Thread Kumar Gala
On Nov 19, 2008, at 10:46 PM, Benjamin Herrenschmidt wrote: On Wed, 2008-11-19 at 08:39 -0600, Kumar Gala wrote: Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Shouldn't this be protected by some ifdef ? Ben. arch/powerpc/kernel/process.c |2 ++ 1 files changed, 2 insertions(+), 0 d

times(2) sys call bug?

2008-11-20 Thread Joakim Tjernlund
Why does the below program end up reporting -1 multiple seconds when times() wrap: #include #include main() { unsigned long t1; clock_t t2; while(1){ t1 = times(NULL); t2 = times(NULL); sleep(1); printf("uns

Re: Please pull 'merge' branch of powerpc-4xx git tree

2008-11-20 Thread Josh Boyer
On Thu, 13 Nov 2008 10:36:23 -0500 Josh Boyer <[EMAIL PROTECTED]> wrote: > Hi Paul, > > Please pull the merge branch of the powerpc-4xx git tree. It contains > two small fixes that should go into .28. Ping? josh > The following changes since commit cb8fdc69a2a80e81e1280ec58afd2c3217ac8a7f: >

Re: USB on lite5200 does not work.

2008-11-20 Thread Grant Likely
On Thu, Nov 20, 2008 at 7:09 AM, <[EMAIL PROTECTED]> wrote: > Hi folks > > I've got a "little" problem with USB using a board based on lite5200. > > Some infos: > > -uBoot 1.2.0 > -Linux version 2.6.21.7-hrt1-WR2.0bl_standard > -time_init: processor frequency = 396.00 MHz There have been a

Re: [PATCH 0/9] powerpc: port of dynamic ftrace

2008-11-20 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > branch: ppc/ftrace-disable > > > Matt Fleming (1): > ftrace: align __mcount_loc sections > > Steven Rostedt (8): > ftrace: disable dynamic ftrace from PowerPC > powerpc: ftrace, do not latency trace idle > powerpc: ftrac

Re :Re: 8360E MDS - linux 2.6.20

2008-11-20 Thread nanda
Hi Kim,I did the following steps, but Iam unable to generate the rootfs.ext2.gz.uboot - Executed the ./install command from the 8360CD. As a result of it generated the ltib directory- In the ltib directory ./ltib --configureIn the configure menu, I specified the following, before saving the con

USB on lite5200 does not work.

2008-11-20 Thread gianfranco.casanova
Hi folks I've got a "little" problem with USB using a board based on lite5200. Some infos: -uBoot 1.2.0 -Linux version 2.6.21.7-hrt1-WR2.0bl_standard -time_init: processor frequency = 396.00 MHz We are using a minimal rootfs in order to jump on the real rootfs. We reach the shell using th

Re: [PATCH] Add support for the nwp serial device

2008-11-20 Thread Josh Boyer
On Thu, Nov 20, 2008 at 03:01:23PM +0100, Arnd Bergmann wrote: >From: Benjamin Krill <[EMAIL PROTECTED]> > >This patch adds support for the nwp serial device which is connected to >a DCR bus. It uses the of_serial device driver to determine necessary >properties from the device tree. The supported

[PATCH] Add support for the nwp serial device

2008-11-20 Thread Arnd Bergmann
From: Benjamin Krill <[EMAIL PROTECTED]> This patch adds support for the nwp serial device which is connected to a DCR bus. It uses the of_serial device driver to determine necessary properties from the device tree. The supported device is added as serial port number 84. Signed-off-by: Benjamin K

[PATCH] cpm2: Round the baud-rate clock divider to the nearest integer.

2008-11-20 Thread Laurent Pinchart
Instead of rounding the divider down, improve the baud-rate generators accuracy by rounding to the nearest integer. Signed-off-by: Laurent Pinchart <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm2.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/cpm

Re: [PATCH 0/9] powerpc: port of dynamic ftrace

2008-11-20 Thread Steven Rostedt
On Thu, 20 Nov 2008, Ingo Molnar wrote: > > Hm, something like this shouldnt be pulled into the powerpc tree: it > touches the core kernel, x86 code and ftrace code as well. > > Please do the suggestion i outlined and which Paul agreed with: > prepare a branch that touches _only_ powerpc files

[PATCH] powerpc: Add use of Epson RTX-8581 RTC to GE Fanuc SBC610 dts

2008-11-20 Thread Martyn Welch
Adding use of newly added Epson RTX-8581 real-time clock driver to GE Fanuc SBC610's dts file and adding driver to default config. Signed-off-by: Martyn Welch <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/gef_sbc610.dts |5 + arch/powerpc/configs/86xx/gef_sbc610_defconfig |

Re: [PATCH 0/9] powerpc: port of dynamic ftrace

2008-11-20 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > > arch/powerpc/Kconfig |2 + > arch/powerpc/include/asm/ftrace.h | 14 +- > arch/powerpc/include/asm/module.h | 16 ++- > arch/powerpc/kernel/ftrace.c | 473 +--- > arch/powerpc/kernel/i