- Previous thread: [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits
- Next thread: [GIT PULL] s390 patches for 2.6.31
- Threads sorted by date: kernel 200906
> that g_serial driver interacts with tty layer in that packet_done callback,
> so this is the source of the problems. I noticed that some other UDC
> drivers also does all its job from an interrupt, so they also might be
> affected. How this bug should be properly resolved?
Either by not setting ->low_latency or by running the data paths from a
non IRQ context.
Basically: don't set tty->low_latency if you are handling the processing
from the IRQ path. The only case low_latency is useful is handling data
from a non-IRQ path where you have latency concerns for tx/rx switching.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
> so this is the source of the problems. I noticed that some other UDC
> drivers also does all its job from an interrupt, so they also might be
> affected. How this bug should be properly resolved?
Either by not setting ->low_latency or by running the data paths from a
non IRQ context.
Basically: don't set tty->low_latency if you are handling the processing
from the IRQ path. The only case low_latency is useful is handling data
from a non-IRQ path where you have latency concerns for tx/rx switching.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Conversations: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30
- PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-22T12:05:36+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Peter Korsgaard on 2009-06-22T12:34:47+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-22T13:56:44+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Peter Korsgaard on 2009-06-22T14:07:12+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Alan Stern on 2009-06-22T14:07:31+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-22T14:13:35+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Alan Stern on 2009-06-22T15:02:45+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-23T03:27:11+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-23T06:43:05+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-23T07:22:58+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-23T08:39:03+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Alan Cox on 2009-06-23T09:21:01+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-23T09:35:08+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Alan Cox on 2009-06-23T09:53:59+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-23T15:02:13+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-23T16:48:04+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-23T16:53:09+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-24T07:08:55+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Alan Cox on 2009-06-24T08:42:08+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-24T08:50:16+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-24T08:54:54+00:00
- RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by Marek Szyprowski on 2009-06-24T10:33:08+00:00
- Re: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30 by David Brownell on 2009-06-24T23:44:09+00:00
Related Threads
- [PATCH v2] [resend] ark3116: add IrDA support (for Gembird UIR-22) - kernel
- [grails-user] Grails & Intellij - grails
- compiled kernel and NetXtreme II BCM5708 Gigabit Ethernet - ubuntu
- Admin Image upload control disabled? - django
- [GENERAL] mail alert - pgsql
- ajax remoteFunction problem - cakephp
- Rosetta Stone - ubuntu
- [osflash] Resuest jps images from red5 - osflash
- [PATCH 4/6] new kfifo API v0.3 - add DEFINE_KFIFO and friends, add very tiny functions - kernel
- X11 include files.. - debian
- Followup to new Nvidia GS7600 GS install - ubuntu
- Rendicontazione on line: un nuovo documento c a sua disposizione - openbsd