From nobody Mon Feb 9 16:50:58 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 2DE0B34DB68 for ; Wed, 28 Jan 2026 09:56:00 +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=1769594161; cv=none; b=dloYCH2jTQAMDBSQdP3VmnB7qqaQb2xINKMsLI6bHzuv/RCijbeZ7KlWbLRDaeXUYDqlzrVHoCRPf2ookQ6SfM5oJ7f1KZBP0mTr8EXVZmjC86QdmNxCLj+tfN6jraexB6O89HeLQ24xLKcg8hebzHRDdxm06nUKfyLt7IlUjvo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769594161; c=relaxed/simple; bh=klwWmp3YWybsi0WSvIXjvxHZMctdvHY0y/7pIwrNlZ4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TQGudHpdRjIcBCp4Zb+07zOIUxT0oS6H6/UD+X9/shUJ6Z9bRLib8kWft5z9LhF/FKro3hdoOk23SA3B6hhC1QddKRFMimLanufPGwrpOlxprJBcHCD+5+O1zjwnkRhrHD17b1c0DIekpfuJb/5QqCPdsNSmY8uFItsJQiE/yiw= 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=gZhLyDmU; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Sy+8hJO5; 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="gZhLyDmU"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Sy+8hJO5" From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1769594158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKkhJFSlDPDWBwrmIbzE9ozrrgoANZfOeT947Sp++R0=; b=gZhLyDmUiwiJU/sYXX7aZEe1CsXZvv97eKfANU75x8MqzuTeuw/D7uyIMeJi3mQO3Upi33 A7TxyKjKbLnegA9CxXipXICM8rU8AhM9LY+9RaGY2eycdwruEZuAW3tI+cWfmUVHIKwvOf CSYNlzMpT6NH2XWB5OlS6lWVqje5fC48xfY0TnZfH8IApIFOJ/mzlveNGmjtYne6T3acDk KzAo1o/1e4qU4gvhd265h4CiaSiRa57IJQ3lJoIsDqnqBGIDQ7rN5OOtj/x9ajizbAIEyv JLSrEffsOKArmwGJjyyhMbmAXfY3LdPgK8WhPi6msJgxNrTze/zHFrVFspKVyg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1769594158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKkhJFSlDPDWBwrmIbzE9ozrrgoANZfOeT947Sp++R0=; b=Sy+8hJO5EOsJkAdaw7z2pz2wRBoyvXuXJsblQKNMT22NnKn80IrltvmEoVeCqyETUPw/Aw mRmi/3rd3mIediBg== To: linux-kernel@vger.kernel.org Cc: "Thomas Gleixner" , Sebastian Andrzej Siewior , Ioana Ciornei , linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 05/20] bus: fsl-mc: Use default primary handler Date: Wed, 28 Jan 2026 10:55:25 +0100 Message-ID: <20260128095540.863589-6-bigeasy@linutronix.de> In-Reply-To: <20260128095540.863589-1-bigeasy@linutronix.de> References: <20260128095540.863589-1-bigeasy@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There is no added value in dprc_irq0_handler() compared to irq_default_primary_handler(). Use the default primary interrupt handler by specifying NULL. Reviewed-by: Ioana Ciornei Signed-off-by: Sebastian Andrzej Siewior --- Cc: Ioana Ciornei Cc: linuxppc-dev@lists.ozlabs.org --- drivers/bus/fsl-mc/dprc-driver.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/bus/fsl-mc/dprc-driver.c b/drivers/bus/fsl-mc/dprc-dri= ver.c index c63a7e688db6a..db67442addad2 100644 --- a/drivers/bus/fsl-mc/dprc-driver.c +++ b/drivers/bus/fsl-mc/dprc-driver.c @@ -380,17 +380,6 @@ int dprc_scan_container(struct fsl_mc_device *mc_bus_d= ev, } EXPORT_SYMBOL_GPL(dprc_scan_container); =20 -/** - * dprc_irq0_handler - Regular ISR for DPRC interrupt 0 - * - * @irq_num: IRQ number of the interrupt being handled - * @arg: Pointer to device structure - */ -static irqreturn_t dprc_irq0_handler(int irq_num, void *arg) -{ - return IRQ_WAKE_THREAD; -} - /** * dprc_irq0_handler_thread - Handler thread function for DPRC interrupt 0 * @@ -527,7 +516,7 @@ static int register_dprc_irq_handler(struct fsl_mc_devi= ce *mc_dev) */ error =3D devm_request_threaded_irq(&mc_dev->dev, irq->virq, - dprc_irq0_handler, + NULL, dprc_irq0_handler_thread, IRQF_NO_SUSPEND | IRQF_ONESHOT, dev_name(&mc_dev->dev), --=20 2.51.0