Re: [PATCH] USB: dwc2: hande irq on dead controller correctly

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

 



On 28.08.23 12:52, Minas Harutyunyan wrote:

Hi,
If core is dead then it can not assert interrupt, it's more possible

No, but it may have asserted the interrupt and then died.

that it's spurious interrupt or interrupt from other device (IRQ is
shared) and nothing should be handled. In this case reply by IRQ_HANDLED
is incorrect because nothing is handled.

In this case we cannot be sure if it was our interrupt.
IRQ_NONE however means that we are sure. Likelihood is not
a relevant question here. We must know for sure if we claim
IRQ_NONE, because IRQ_NONE has consequences.

	Regards
		Oliver




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux