[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240911094445.1922476-1-ruanjinjie@huawei.com>
Date: Wed, 11 Sep 2024 17:44:42 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <claudiu.manoil@....com>, <vladimir.oltean@....com>,
<louis.peens@...igine.com>, <damien.lemoal@...nsource.wdc.com>,
<set_pte_at@...look.com>, <mpe@...erman.id.au>, <horms@...nel.org>,
<yinjun.zhang@...igine.com>, <ryno.swart@...igine.com>,
<johannes.berg@...el.com>, <fei.qin@...igine.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <oss-drivers@...igine.com>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH net RESEND 0/3] net: Use IRQF_NO_AUTOEN flag in request_irq()
As commit cbe16f35bee6 ("genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()")
said, reqeust_irq() and then disable_irq() is unsafe.
IRQF_NO_AUTOEN flag can be used by drivers to request_irq(). It prevents
the automatic enabling of the requested interrupt in the same safe way.
With that the usage can be simplified and corrected.
Only compile-tested.
v1 -> RESNED
- Add reviewed-by.
- Put wireless into another patch set.
- Update to net prefix subject.
Jinjie Ruan (3):
net: apple: bmac: Use IRQF_NO_AUTOEN flag in request_irq()
net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()
nfp: Use IRQF_NO_AUTOEN flag in request_irq()
drivers/net/ethernet/apple/bmac.c | 3 +--
drivers/net/ethernet/freescale/enetc/enetc.c | 3 +--
drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 5 ++---
3 files changed, 4 insertions(+), 7 deletions(-)
--
2.34.1
Powered by blists - more mailing lists