Re: Protection of critical section in PREEMPT_RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jacky,

On Mon, 4 Feb 2013, Jacky Lam wrote:

> Thanks.

Please stop top posting!
 
> I finally find that if I disable interrupt during ata_qc_issue() in
> libata-scsi.c, my sata driver works without any problem.

This is wrong. Which driver are you taling about ?
 
> But I find USB EHCI driver is more complicated. Kernel crashes every
> where when RT is turned on. It seems whenever the stack  spin_lock
> ehci->lock and interrupt comes at that moment, kernel will be crashes.
> The reason is EHCI interrupt handler will also take the same lock. If
> my point of view, USB stack seems no PREEMPT_RT safe. Is it correct?
> Am I miss anything?

Probably. First of all you don't tell us which driver you are
using. And w/o seing the code and the output of the kernel crash, we
can't help you at all.

Thanks,

	tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux