On Thu, Apr 08, 2021 at 08:51:09AM +0800, tiantao (H) wrote: > > 在 2021/4/7 16:40, Greg KH 写道: > > On Wed, Apr 07, 2021 at 04:29:59PM +0800, tiantao (H) wrote: > > > 在 2021/4/7 16:22, Greg KH 写道: > > > > On Wed, Apr 07, 2021 at 02:50:03PM +0800, Tian Tao wrote: > > > > > disable_irq() after request_irq() still has a time gap in which > > > > > interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will > > > > > disable IRQ auto-enable because of requesting. > > > > > > > > > > this patch is made base on "add IRQF_NO_AUTOEN for request_irq" which > > > > > is being merged: https://lore.kernel.org/patchwork/patch/1388765/ > > > > Can you wait until that is merged before sending this out to us as we > > > > can't do anything until then. > > > this is already in linux-next.git. > > > > > > cbe16f3 genirq: Add IRQF_NO_AUTOEN for request_irq/nmi() > > That's great, but note that linux-next is a combined tree of all > > subsystem trees. It's impossible for a subsystem tree to include > > linux-next :) > Maybe you can referencethis tag https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/tag/?h=irq-no-autoen-2021-03-25 In what way?