[Resend][PATCHv3] Xilinx Virtex 4 FX Soft FPU support

2010-08-13 Thread Sergey Temerkhanov
This patch enables support for Xilinx Virtex 4 FX singe-float FPU. Changelog v2-v3: -Fixed whitespaces for SAVE_FPR/REST_FPR. -Changed description of MSR_AP bit. -Removed the stub for APU unavailable exception. Changelog v1->v2: -Added MSR_AP bit definition

Re: [PATCH 08/12] ptp: Added a brand new class driver for ptp clocks.

2010-08-13 Thread Grant Likely
On Fri, Aug 13, 2010 at 3:34 AM, Richard Cochran wrote: > On Tue, Jun 15, 2010 at 01:11:30PM -0600, Grant Likely wrote: >> On Tue, Jun 15, 2010 at 10:09 AM, Richard Cochran >> > +static DEFINE_SPINLOCK(clocks_lock); /* protects 'clocks' */ >> >> Doesn't appear that clocks is manipulated at atomic

Re: help with kernel panics in task swapper on 460ex

2010-08-13 Thread Benjamin Herrenschmidt
On Fri, 2010-08-13 at 15:36 -0500, Ayman El-Khashab wrote: > > The exact details (though I don't think they are too useful are as follows. > The one interesting item if I read it correctly, is that the CPU was > trying to get instructions from c002 address. However, this board only > has 512

help with kernel panics in task swapper on 460ex

2010-08-13 Thread Ayman El-Khashab
I have an odd problem when using the 460ex rev b processors. Previously, I'd used the rev A without any issues on the same pcbs. This happens on multiple units now. Basically, while running the system will just randomly kernel panic. We have seen this probably 4 or 5 times on a over the cours

[PATCH 9/9] RapidIO: Add support for IDT CPS Gen2 switches

2010-08-13 Thread Alexandre Bounine
Add the RIO switch driver and definitions for IDT CPS-1848 and CPS-1616 Gen2 devices. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- drivers/rapidio/switches/Kconfig|7 + drivers/rapidio/switches/Makefile |1 + drivers/r

[PATCH 8/9] RapidIO: Add device access check into the enumeration

2010-08-13 Thread Alexandre Bounine
Add explicit device access check before performing device enumeration. This gives a chance to clear possible link error conditions by issuing safe maintenance read request(s). Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- drivers/rap

[PATCH 7/9] RapidIO: Add handling for PW message from a lost device

2010-08-13 Thread Alexandre Bounine
Add check if PW message source device is accessible and change PW message handler to recover if PW message source device is not available anymore (power down or link disconnect). To avoid possible loss of notification, the PW message handler scans the route back from the source device to identify e

[PATCH 6/9] RapidIO: Add switch-specific sysfs initialization callback

2010-08-13 Thread Alexandre Bounine
Add callback that allows to create/remove switch-specific sysfs attributes. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- drivers/rapidio/rio-sysfs.c | 26 +++--- include/linux/rio.h |2 ++ 2 files c

[PATCH 5/9] RapidIO: Add default handler for error_stopped state

2010-08-13 Thread Alexandre Bounine
The default error-stopped state handler provides recovery mechanism as defined by RIO specification. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- drivers/rapidio/rio.c | 191 +++-- driver

[PATCH 4/9] RapidIO: Add relation links between RIO device structures

2010-08-13 Thread Alexandre Bounine
Create back and forward links between RIO devices. These links are intended for use by error management and hot-plug extensions. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- drivers/rapidio/rio-scan.c | 55 +---

[PATCH 3/9] RapidIO: Add the ingress port number into the RIO switch data structure

2010-08-13 Thread Alexandre Bounine
A switch ingress port number has to be saved for software assisted error recovery from the error-stopped state. Saving this information also allows to remove several register reads from the RIO enumeration process. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li

[PATCH 2/9] RapidIO, powerpc/85xx: modify RIO port-write interrupt handler

2010-08-13 Thread Alexandre Bounine
- Rearranged RIO port-write interrupt handling to perform message buffering as soon as possible. - Modified to disable port-write controller when clearing Transaction Error (TE) bit. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- arch

[PATCH 0/9] RapidIO: Set of patches to add Gen2 switches

2010-08-13 Thread Alexandre Bounine
This set of RapidIO patches adds support for new IDT Gen2 sRIO switch devices - CPS-1848 and CPS-1616. Adding these sRIO switches required to implement standard error recovery mechanism defined by the RapidIO specification. ___ Linuxppc-dev mailing list

[PATCH 1/9] RapidIO: fix RapidIO sysfs hierarchy

2010-08-13 Thread Alexandre Bounine
Makes RapidIO devices appear in /sys/devices/rapidio directory instead of top of /sys/devices directory. Signed-off-by: Alexandre Bounine Reviewed-by: Thomas Moll Cc: Matt Porter Cc: Li Yang Cc: Kumar Gala --- drivers/rapidio/rio-driver.c |2 +- drivers/rapidio/rio-scan.c |1 + inc

Re: How to use mpc8xxx_gpio.c device driver

2010-08-13 Thread Anton Vorontsov
Hi, On Fri, Aug 13, 2010 at 03:29:11PM +0530, Ravi Gupta wrote: [...] > Thanks for the reply. > I had added the entries for gpio pin 9 for both controllers(I was not sure > with controller's pin is connected to LED, but now I know it is pin no. 233 > i.e 224+9) in the mpc8377_rdb.dts file. Below i

Re: How to use mpc8xxx_gpio.c device driver

2010-08-13 Thread Ravi Gupta
> Looking at the device tree for this board, it appears U-Boot remaps the > IMMR registers to 0xe000. They are no longer accessible at > 0xff40. > > I would recommend studying arch/powerpc/boot/dts/mpc8377_rdb.dts in the > Linux source code. That describes the device layout on your board af

Re: How to use mpc8xxx_gpio.c device driver

2010-08-13 Thread Ravi Gupta
On Wed, Aug 11, 2010 at 10:15 PM, Anton Vorontsov wrote: > Hi, > > On Wed, Aug 11, 2010 at 06:57:16PM +0530, Ravi Gupta wrote: > > I am new to device driver development. I am trying to access the GPIO of > > MPC837xERDB eval board. I have upgraded its kernel to linux-2.6.28.9 and > > enable suppor

Re: [PATCH 08/12] ptp: Added a brand new class driver for ptp clocks.

2010-08-13 Thread Richard Cochran
On Tue, Jun 15, 2010 at 01:11:30PM -0600, Grant Likely wrote: > On Tue, Jun 15, 2010 at 10:09 AM, Richard Cochran > > +static DEFINE_SPINLOCK(clocks_lock); /* protects 'clocks' */ > > Doesn't appear that clocks is manipulated at atomic context. Mutex instead? ... > If the spinlock is changed to a

Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot

2010-08-13 Thread Subrata Modak
Adding CONTROL GROUP Maintainers/Mailing list.. Regards-- Subrata On Mon, 2010-08-09 at 09:12 -0700, Paul E. McKenney wrote: > On Mon, Aug 02, 2010 at 02:22:12PM +0530, Subrata Modak wrote: > > Hi, > > > > The following suspicious rcu_dereference_check() usage is detected > > during 2.6.35-stabl

Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot

2010-08-13 Thread Dhaval Giani
On Fri, Aug 13, 2010 at 8:55 AM, Subrata Modak wrote: > Hi Paul, > > Is there any specific person(s) whom we whom we should direct this mail > to ? We have not received any response from CGROUP developers on this. > Kindly let me know whom to contact for this. I am adding few more people > i know