Re: Serial-Core: USB-Serial port current issues.

From: Luiz Fernando N. Capitulino
Date: Wed Jun 21 2006 - 12:34:05 EST


On Tue, 20 Jun 2006 19:32:33 -0700
Pete Zaitcev <zaitcev@xxxxxxxxxx> wrote:

| On Tue, 20 Jun 2006 16:11:34 -0300, "Luiz Fernando N. Capitulino" <lcapitulino@xxxxxxxxxxxxxxx> wrote:
|
| > Pete, was it your original idea to completely move from the spinlock
| > to a mutex?
|
| I thought it was the cleanest solution. But perhaps I miss something.
| I'll look at your reposted patch again, maybe it's all right as it is.

Actually, that's the best solution from the USB-Serial's POV.

The problem is that several serial drivers uses the uart_port's
spinlock to implement their own locking, and some of them acquires the
lock in its interrupt handler...

Sh*t.

--
Luiz Fernando N. Capitulino
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/