From nobody Mon Feb 9 01:22:33 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D291288C0A; Sun, 1 Feb 2026 17:13:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769966038; cv=none; b=Iv/zLys9LCN3rh1WHWzekf1vORIcJqiDv0i+OliUW6BWTpOQ1OgThZSSsB7Z6VWk/qIEvf3pgPHMj3heF9PaK19M280XxTEoIRvOx8NJ00a5DQVJnUhif9XlE/emgHCXVEonewMJaVVpjsIKb2Bjo354Zx9WeDHajTfgfjwtEAg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769966038; c=relaxed/simple; bh=Lwc5PaWz0AbR+Xx1Xd1Sx99Nh90/SAGaW80axcR0ixs=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=fbdp7iDQfCLLUFWlGXChVl9huGT99C9/Eab0Tt+makW+G3Yk/UaX3vYq1lCuk9Py+VEMg6lwut2TuTMVaHEsHhYzQxlKYIijD+zrXxozpBEW/UWI7lUdw1Hjep6G+4AKlO7IhmFZnet1MLzHjk48o5myz9ImxJ/fUpjPAR8WLfs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Kfd8xSnl; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5g9GW/HB; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Kfd8xSnl"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5g9GW/HB" Date: Sun, 01 Feb 2026 17:13:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1769966028; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UfOG3jDcoWiBLab8B7GZbqprLlMiAKo4z7CIVMsBvoU=; b=Kfd8xSnlvl5hNN7NnstUz9McDiJPCzZ/KQ53U+jZohmLFIyBwo4kBzq3yXdZL2QRv+ox+I sZIO4xo16zk6f4CBmP0EJLigxn9b2UfIFpKrzXjFxam0q0DfzfO2n7CKGLj5MizQiz/J3l 7/ej+ih9kfa4JPRs+qboEMy7qwU61GLMvZCBRwLBjTImF006h379MGwBdxr0ZtUsCHTIli vuRIo/CyieZO92aAaWk/1wwHk6d6XzlERomy5iTqz1J2oTy620BY1rosEJ9TYgZzk/sWxD W5Nt98aVdVg2MT7m1shhv1906Q5J3gMriRqVslmao2JOf25QNJ/f3h8hk72xUQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1769966028; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UfOG3jDcoWiBLab8B7GZbqprLlMiAKo4z7CIVMsBvoU=; b=5g9GW/HB4FF8CaCPSQLXqqe5+7ZhWvdi/fNa6brD2kXtrCnr3kvvdOvoIZ3JDcD0hHR8JX xDgL6AMgWjvLzZAQ== From: "tip-bot2 for Sebastian Andrzej Siewior" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/cleanups] scsi: efct: Use IRQF_ONESHOT and default primary handler Cc: Sebastian Andrzej Siewior , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260128095540.863589-8-bigeasy@linutronix.de> References: <20260128095540.863589-8-bigeasy@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <176996602724.2495410.9523742396264020344.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/cleanups branch of tip: Commit-ID: bd81f07e9a27c341cd7e72be95eb0b7cf3910926 Gitweb: https://git.kernel.org/tip/bd81f07e9a27c341cd7e72be95eb0b7cf= 3910926 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 28 Jan 2026 10:55:27 +01:00 Committer: Thomas Gleixner CommitterDate: Sun, 01 Feb 2026 17:37:14 +01:00 scsi: efct: Use IRQF_ONESHOT and default primary handler There is no added value in efct_intr_msix() compared to irq_default_primary_handler(). Using a threaded interrupt without a dedicated primary handler mandates the IRQF_ONESHOT flag to mask the interrupt source while the threaded handler is active. Otherwise the interrupt can fire again before the threaded handler had a chance to run. Use the default primary interrupt handler by specifying NULL and set IRQF_ONESHOT so the interrupt source is masked until the secondary handler is done. Fixes: 4df84e8466242 ("scsi: elx: efct: Driver initialization routines") Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260128095540.863589-8-bigeasy@linutronix.de --- drivers/scsi/elx/efct/efct_driver.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/scsi/elx/efct/efct_driver.c b/drivers/scsi/elx/efct/ef= ct_driver.c index 1bd42f7..528399f 100644 --- a/drivers/scsi/elx/efct/efct_driver.c +++ b/drivers/scsi/elx/efct/efct_driver.c @@ -415,12 +415,6 @@ efct_intr_thread(int irq, void *handle) return IRQ_HANDLED; } =20 -static irqreturn_t -efct_intr_msix(int irq, void *handle) -{ - return IRQ_WAKE_THREAD; -} - static int efct_setup_msix(struct efct *efct, u32 num_intrs) { @@ -450,7 +444,7 @@ efct_setup_msix(struct efct *efct, u32 num_intrs) intr_ctx->index =3D i; =20 rc =3D request_threaded_irq(pci_irq_vector(efct->pci, i), - efct_intr_msix, efct_intr_thread, 0, + NULL, efct_intr_thread, IRQF_ONESHOT, EFCT_DRIVER_NAME, intr_ctx); if (rc) { dev_err(&efct->pci->dev,