Re: Regarding threaded irq

2011-03-03 Thread anish singh
On Thu, Mar 3, 2011 at 10:41 PM, Thomas Petazzoni < thomas.petazz...@free-electrons.com> wrote: > Hello, > > On Mon, 28 Feb 2011 21:23:37 +0900 > anish singh wrote: > > > I have a touch driver which is not yet using threded_irq.So i am planning > to > > change it to > > use threaded_irq. > > > >

Re: demand based power management

2011-03-03 Thread sumeet linux
On Thu, Aug 12, 2010 at 8:50 PM, John Mahoney wrote: > On Thu, Aug 12, 2010 at 3:22 AM, er krishna wrote: >> Yes its fine, I am just wandering if this option is enabled by bios ? How ? > > In sys these values are listed on a per cpu basis. > > To list possible governors: > cat /sys/devices/system

Network Drivers Master Slave

2011-03-03 Thread sugnan prabhu
Hello All, I have written two network drivers master0 and slave0, where the packets received by master0 interface will be forwarded to the slave0 interface and vice versa. I have further linked the master0 interface to a usb driver in such way that, interface registered only on connecting

Re: Any tool under linux to parsing BPB/Bs/FAT table?

2011-03-03 Thread loody
hi : 2011/3/3 Beraldo Leal : > On Thu, Mar 03, 2011 at 04:36:50PM +0800, loody wrote: >> hi beraldo: >> >> 2010/12/20 Beraldo Leal : >> > On Mon, Dec 20, 2010 at 09:45:47PM +0800, loody wrote: >> >> Dear all: >> >> I recently trace FS/fat and I want to know is there any utility under >> >> linux t

kprobes for fun and profit :)

2011-03-03 Thread amit mehta
Hi, I recently got to know about kprobes for dynamically putting probes inside Linux kernel. I tried some simple probes and it worked well. Now to extend the understanding on kprobes and using it for some useful work, I'm planning to gather some data on a particular driver(say network driver) by i

AW: Simple write to an UART mode register fails

2011-03-03 Thread Frey ext-FA, Maurus
Salut Thomas, Thanks! Your answer is appreciated. I know that what I'm trying to do seems to weird and does not follow the best practice I've learned. But currently it's not the appropriate moment to do such changes in board kernel. So I have to provide a quick solution with a LKM. > > I have

Re: Regarding threaded irq

2011-03-03 Thread Thomas Petazzoni
Hello, On Mon, 28 Feb 2011 21:23:37 +0900 anish singh wrote: > I have a touch driver which is not yet using threded_irq.So i am planning to > change it to > use threaded_irq. > > In the current handler they are first disabling the irq line and then > calling the single threaded > workqueue to d

Re: Simple write to an UART mode register fails

2011-03-03 Thread Thomas Petazzoni
Hello Maurus, Glad to see you're experimenting what you've seen in the kernel training :-) On Wed, 2 Mar 2011 14:08:34 +0100 "Frey ext-FA, Maurus" wrote: > I wrote a simple module, which should initialise an USART in RS485-mode > (RTS stays low after initialisation) and register it as platform_

Memory Compaction feature.

2011-03-03 Thread naveen yadav
Hi All, I want clarification is anybody verify this feature on ARM or MIPS architecture. http://lwn.net/Articles/381677/ Kind regards ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernel

Re: [PATCH 1/5] tg3: use usleep_range not msleep for small sleeps

2011-03-03 Thread Javier Martinez Canillas
> >> >> Signed-off-by: Javier Martinez Canillas > > Why? > As I understand msleep() will stop for a minimum of two jiffies and that resolution is too low in systems with small HZ values (big jiffies). Using msleep() (with small values) in this systems will sleep for more time than the caller expe

Re: [PATCH 3/5] tg3: Enclose macro with complex values in parenthesis

2011-03-03 Thread Javier Martinez Canillas
> > This seems unnecessary, what problem do the current macro definitions > create? > Probably the change is unnecessary, the only value is that it silences a checkpatch error: ERROR: Macros with complex values should be enclosed in parenthesis Sorry for the noise. -- -

scheduling - more doubts

2011-03-03 Thread sudheer.divakaran
Hi, I had asked a similar question before, but I've some doubts regarding the correctness of the following code. Please see the following code snippet from the file linux-2.6.37/arch/x86/kernel/apm_32.c. This is the core function of apm thread. Question: Suppose the apm thread has just comple

Re: Any tool under linux to parsing BPB/Bs/FAT table?

2011-03-03 Thread loody
hi beraldo: 2010/12/20 Beraldo Leal : > On Mon, Dec 20, 2010 at 09:45:47PM +0800, loody wrote: >> Dear all: >> I recently trace FS/fat and I want to know is there any utility under >> linux that can help us to easily parse BPB/BS or FAT tables? > > http://gitorious.org/unix-stuff/fat-util ? > I do