Re: [PATCH 1/5] drivers/misc: Support for RF interface device framework

2013-06-20 Thread pankaj chauhan
On 6/19/2013 5:01 PM, Lars-Peter Clausen wrote: On 06/18/2013 09:44 AM, Akhil Goyal wrote: [...] +/* + * Spin_locks are changed to mutexes if PREEMPT_RT is enabled, + * i.e they can sleep. This fact is problem for us because + * add_wait_queue()/wake_up_all() takes wait queue spi

Re: [PATCH 1/5] drivers/misc: Support for RF interface device framework

2013-06-19 Thread Lars-Peter Clausen
On 06/18/2013 09:44 AM, Akhil Goyal wrote: [...] >>> +/* >>> + * Spin_locks are changed to mutexes if PREEMPT_RT is enabled, >>> + * i.e they can sleep. This fact is problem for us because >>> + * add_wait_queue()/wake_up_all() takes wait queue spin lock. >>> + * Since spin lock

Re: [PATCH 1/5] drivers/misc: Support for RF interface device framework

2013-06-18 Thread Akhil Goyal
On 6/18/2013 7:10 PM, Arnd Bergmann wrote: On Tuesday 18 June 2013, Akhil Goyal wrote: On 6/18/2013 2:58 AM, Arnd Bergmann wrote: + /* +* Spin_locks are changed to mutexes if PREEMPT_RT is enabled, +* i.e they can sleep. This fact is problem for us because +* add_w

Re: [PATCH 1/5] drivers/misc: Support for RF interface device framework

2013-06-18 Thread Arnd Bergmann
On Tuesday 18 June 2013, Akhil Goyal wrote: > On 6/18/2013 2:58 AM, Arnd Bergmann wrote: > >> + /* > >> + * Spin_locks are changed to mutexes if PREEMPT_RT is enabled, > >> + * i.e they can sleep. This fact is problem for us because > >> + * add_wait_queue()/wake_up_all() takes wait queue sp

Re: [PATCH 1/5] drivers/misc: Support for RF interface device framework

2013-06-18 Thread Akhil Goyal
On 6/18/2013 2:58 AM, Arnd Bergmann wrote: On Monday 17 June 2013, akhil.go...@freescale.com wrote: + +menuconfig RFDEVICES + default n + bool "RF interface device support" + ---help--- + Support for RF interface devices. + In a baseband system, different radios (RF

Re: [PATCH 1/5] drivers/misc: Support for RF interface device framework

2013-06-17 Thread Arnd Bergmann
On Monday 17 June 2013, akhil.go...@freescale.com wrote: > + > +menuconfig RFDEVICES > + default n > + bool "RF interface device support" > + ---help--- > + Support for RF interface devices. > + In a baseband system, different radios (RF PHYs) are > + connected depending on