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 E1D57CAC59B for ; Tue, 16 Sep 2025 16:01:00 +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=y6QPXwMMmtmCDME6QdFmlLDUpPrRCqoavty9hcaYKdI=; b=Vg320dSyRztyguugEjJpLSLxFZ fqSNh4kqYfv9j6MuABP2vFH7apuvHoeStrdgF5xsBwl8bZWSsoJL6/w93c71r9PqmFmb168OmGCMo mfcLGbXmnGOzGgeh+5eGRyOjI/dewY1z+OZdZHfs6t67Uc/Ra2ldt90bZPLLKXBfHVlMP9rrzLHzk SLb4p3HF2kCvQpSRVH+MVjlFnJhLp5li5AwyXuw11FAqhM7J7DRnkdjin0nIiCoOve46kq55+cvke pVH/ECtQaSLamPiMg8B8wG0muZ7Cuhk1hjgY4AJiu14rU/0ruemQ5flfFQKFDZ6nfXRZJJk27ozP9 Buk6Autw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyY6v-00000008Mwc-0Ndv; Tue, 16 Sep 2025 16:00:53 +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 1uyY6t-00000008Mvy-3IDf for linux-arm-kernel@lists.infradead.org; Tue, 16 Sep 2025 16:00:51 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 09553601A3; Tue, 16 Sep 2025 16:00:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F699C4CEEB; Tue, 16 Sep 2025 16:00:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758038450; bh=HMPTLgr233HLTCdKhCopfRE55dgfVIBSIEdZyziNLKA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JF93v5NA60LOG+PgpudZNJuSz0LE5SKMq9WONOWpdNgGgMULwHA/hD7WOCgQ6JiBE UpNSaB+1M7drHO6EyDcVW6vI/BrBEWM7c+HPdRgCwSs8OYJFEfLAbF/xiZpePwBpUU qvulcDKdS9utjgPAJO/A+pxn8THi5lxMqq3RUNDaUdO/VAaIRm0bbl8N5OnyK8fzHa p+PfZNUXyuVIU9sTuxk7CWoG4vUr8092gOjcKfXK+l1zXc8IvgW4p8CVTM44XCmtIR vWibHJT7JQ/p2bDvFsGyfXaXPpiNhhhaPagYGl8haxnzpB7eG1fg90LqKddfc5XfmA ZwCPIyPRFUFRw== 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 1uyY6q-00000006mMO-1LSP; Tue, 16 Sep 2025 16:00:48 +0000 Date: Tue, 16 Sep 2025 17:00:47 +0100 Message-ID: <86segm1j68.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 Subject: Re: [PATCH v2 01/25] irqdomain: Add firmware info reporting interface In-Reply-To: <20250916161438.00007ba0@huawei.com> References: <20250915085702.519996-1-maz@kernel.org> <20250915085702.519996-2-maz@kernel.org> <20250916161438.00007ba0@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 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 Tue, 16 Sep 2025 16:14:38 +0100, Jonathan Cameron wrote: > > On Mon, 15 Sep 2025 09:56:38 +0100 > Marc Zyngier wrote: > > > Allow an irqdomain callback to report firmware-provided information > > that is otherwise not available in a generic way. This is reported > > using a new data structure (struct irq_fwspec_info). > > > > This callback is optional and the only information that can be > > reported currently is the affinity of an interrupt. However, the > > containing structure is designed to be extensible, allowing other > > potentially relevant information to be reported in the future. > > > > Signed-off-by: Marc Zyngier > Hi Marc, > > > --- > > include/linux/irqdomain.h | 28 ++++++++++++++++++++++++++++ > > kernel/irq/irqdomain.c | 32 +++++++++++++++++++++++++++----- > > 2 files changed, 55 insertions(+), 5 deletions(-) > > > > diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h > > index 4a86e6b915dd6..34993bf8293c4 100644 > > --- a/include/linux/irqdomain.h > > +++ b/include/linux/irqdomain.h > > @@ -44,6 +44,24 @@ struct irq_fwspec { > > u32 param[IRQ_DOMAIN_IRQ_SPEC_PARAMS]; > > }; > > > > +/** > > + * struct irq_fwspec_info - firmware provided IRQ information structure > > + * > > + * @fwspec: Firmware-specific interrupt specifier > > Not aligning with what is in the structure that I can see. Ah crap, I missed that one. I'll stash another fix for the next version. Thanks, M. -- Without deviation from the norm, progress is not possible.