From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90506C433B4 for ; Fri, 16 Apr 2021 23:04:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 66ECD60E0C for ; Fri, 16 Apr 2021 23:04:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbhDPXEn (ORCPT ); Fri, 16 Apr 2021 19:04:43 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:52699 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230432AbhDPXEn (ORCPT ); Fri, 16 Apr 2021 19:04:43 -0400 X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C7EAEC0009; Fri, 16 Apr 2021 23:04:16 +0000 (UTC) From: Alexandre Belloni To: Tian Tao , a.zummo@towertech.it Cc: Alexandre Belloni , linux-rtc@vger.kernel.org Subject: Re: [PATCH] rtc: vr41xx: move to use request_irq by IRQF_NO_AUTOEN flag Date: Sat, 17 Apr 2021 01:04:16 +0200 Message-Id: <161861425087.875570.3547423159351168712.b4-ty@bootlin.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <1617757803-38695-1-git-send-email-tiantao6@hisilicon.com> References: <1617757803-38695-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On Wed, 7 Apr 2021 09:10:03 +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/ Applied, thanks! [1/1] rtc: vr41xx: move to use request_irq by IRQF_NO_AUTOEN flag commit: 5634f76f6e987e5d5a06cbdc388ca29deda5293d Best regards, -- Alexandre Belloni