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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 86205CD4F2F for ; Thu, 13 Nov 2025 13:37:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BpMnBBv7giTtQZjG6lEuMEHtEm5yFgJZ+gcmpwLKmxM=; b=0yasvc1J9rlhREl+XqLV0sd3Zi 38MS/pHD9V09uAdySfoWAiSh6nuX9TEzdAPagZFXMoQ3zOhdyWaCbcCdhCRMEHImfMKumsaHnjRit joarVq7aOZpUiwetOj5zve+t/XOBOJOkQd+Pu8CgPwQ4/jtGwat5gi35Z463QJ1itokugOmECOtFu 9b2kbyYrBo/JwdHxFHG9MByn9ax2CDCs44Fxj1m2TzIPQGvJjgqibKnLHLPpPRz6fF59MCbKnvlia RcbZlDBQwqPEf2q36G84CvjB5p2/elBKJiECwse4tLe8W4hj5jw8WNN6TuNBYRg2q6ok/qAus75Sv ks9ejw6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vJXWK-0000000AYWr-16GK; Thu, 13 Nov 2025 13:37:52 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vJXWI-0000000AYWj-3JHd for linux-arm-kernel@lists.infradead.org; Thu, 13 Nov 2025 13:37:50 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id E9C9060222; Thu, 13 Nov 2025 13:37:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71DC4C19422; Thu, 13 Nov 2025 13:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763041069; bh=hMDqncVTMGAeoVR3a3d7f5yNX81QBpwoNu17uq0iXMc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=U8M7ts+kjRsY7U3j2SeaXDYLHevxWSv17TMsi68DyHZDAV2PUEwaypzEkPEPqo3GW Pj7u3jgYXvBEcN+VGLMzcJhJORvQaVdP+qfSSmaJhCx6YHCsbe0/1W8qPJUalrVIh5 QP0oxUgqXp+pzxC3XSzcSydqil9ZeCfoKYWShNZljp325WqBTIZGzvfppkkvqrpyDB X+EEJBQay1hIhfXTx25b1PNLYb3BRmcP7cThJnVaHgWwvPKisfA9va3vhIO6P6uvVM gsyTHFH+lT5WO2hvnp4aWdkNxI5rLuPSWMkatVGsejdrjO1oganuMGQ2G5y0P/FWk2 v2qErzM5INOcw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vJXWF-00000004t2S-0Lup; Thu, 13 Nov 2025 13:37:47 +0000 Date: Thu, 13 Nov 2025 13:37:46 +0000 Message-ID: <86ms4qt5n9.wl-maz@kernel.org> From: Marc Zyngier To: Jonathan Cameron Cc: , , , Thomas Gleixner , "Mark\ Rutland" , Will Deacon , "Rafael J.\ Wysocki" , Rob Herring , "Saravana\ Kannan" , Greg Kroah-Hartman , Sven Peter , Janne Grunau , Suzuki K Poulose , James Clark , Jinjie Ruan , "Alexandru\ Elisei" Subject: Re: [PATCH v4 14/26] genirq: Add affinity to percpu_devid interrupt requests In-Reply-To: <20251112181318.000064be@huawei.com> References: <20251020122944.3074811-1-maz@kernel.org> <20251020122944.3074811-15-maz@kernel.org> <20251112181318.000064be@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: jonathan.cameron@huawei.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, tglx@linutronix.de, mark.rutland@arm.com, will@kernel.org, rafael@kernel.org, robh@kernel.org, saravanak@google.com, gregkh@linuxfoundation.org, sven@kernel.org, j@jannau.net, suzuki.poulose@arm.com, james.clark@linaro.org, ruanjinjie@huawei.com, alexandru.elisei@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 12 Nov 2025 18:13:18 +0000, Jonathan Cameron wrote: > > On Mon, 20 Oct 2025 13:29:31 +0100 > Marc Zyngier wrote: > > > Add an affinity field to both the irqaction structure and the interrupt > > request primitives. Nothing is making use of it yet, and the only value > > used it NULL, which is used as a shorthand for cpu_possible_mask. > > used is NULL > > > > > This will shortly get used with actual affinities. > > > > Tested-by: Will Deacon > > Signed-off-by: Marc Zyngier > > With trivial bit of documentation added > Reviewed-by: Jonathan Cameron > > > --- > > include/linux/interrupt.h | 5 +++-- > > kernel/irq/manage.c | 14 ++++++++++---- > > 2 files changed, 13 insertions(+), 6 deletions(-) > > > > diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h > > index 0ec1a71ab4e84..52147d5f432b3 100644 > > --- a/include/linux/interrupt.h > > +++ b/include/linux/interrupt.h > > @@ -125,6 +125,7 @@ struct irqaction { > > void *dev_id; > > void __percpu *percpu_dev_id; > > }; > > + const struct cpumask *affinity; > > This structure has kernel-doc that needs an update. > > > struct irqaction *next; > > irq_handler_t thread_fn; > > struct task_struct *thread; See 68c4c159a0db4 ("genirq: Fix percpu_devid irq affinity documentation") in -next for the merged fix. Thanks, M. -- Without deviation from the norm, progress is not possible.