tty: serial: sc16is7xx: use threaded interrupts instead of homegrow
Quoted 20 lines · Sean Nyekjær
Quoted 19 lines · Jakub Kicinski
Quoted 8 lines · Josh Cartwright
Quoted 6 lines
Quoted 1 line
I got lost here. Where do we stand here now?
I understood the comment from Kuba to mean that he would be implementing the disable_irq()/enable_irq() idea above to fix all the problems with this driver.
Kuba- did I read that right?
I was hoping Sean or someone else would take up this task ;)
Yes i could try :-) At least i have a working setup with the hardware.
Quoted 4 lines
It should be a pretty simple patch.
Kuba
I not entirely sure what i have to do...
- Reenable theONE_SHOT
- Disable irq when running in the loop, and enable when returning?
- Implement threaded irq?
Quoted 6 lines
Quoted 1 line
/Sean
Do not reenable
ONE_SHOT. Disable interrupt (disable_irq_nosync()) insc16is7xx_irq()and reenable at the end ofsc16is7xx_ist(). I think reenabling at the end ofsc16is7xx_ist()is fine since it's a level triggered IRQ.
What do you mean, it's level triggered? How do you know? The irq is requested with either 0 or IRQF_TRIGGER_FALLING for irqflags. I don't see anywhere where it would be configured IRQF_TRIGGER_LOW.
Maarten
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html