lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YF0PUMvvH996Xj3+@google.com>
Date:   Thu, 25 Mar 2021 15:31:44 -0700
From:   Dmitry Torokhov <dmitry.torokhov@...il.com>
To:     Barry Song <song.bao.hua@...ilicon.com>
Cc:     tglx@...utronix.de, linux-input@...r.kernel.org,
        linux-kernel@...r.kernel.org, maz@...nel.org,
        gregkh@...uxfoundation.org, linuxarm@...neuler.org,
        jonathan.cameron@...wei.com
Subject: Re: [PATCH v5 2/2] Input: move to use request_irq by IRQF_NO_AUTOEN
 flag

On Wed, Mar 03, 2021 at 11:49:16AM +1300, Barry Song 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.
> 
> On the other hand, request_irq() after setting IRQ_NOAUTOEN as
> below
> irq_set_status_flags(irq, IRQ_NOAUTOEN);
> request_irq(dev, irq...);
> can also be replaced by request_irq() with IRQF_NO_AUTOEN flag.
> 
> Signed-off-by: Barry Song <song.bao.hua@...ilicon.com>

Applied, thank you.

-- 
Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ