From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 12745126C02; Tue, 16 Sep 2025 16:00:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758038451; cv=none; b=NqFqr1kF8dNM4M7I3BrD5eVlW8RSc2ONv3suY+Mbr5nv0+daWQ9gLO9E+LxfbUKSpBqu063IzLzCWOIC0OkrM6FAKeO5Xan4zCgzc3rLkzqigSzqloA1JeBXTYcbaQWHNCJagrSoIts3N00V1aEGvOzn6q81vLhEkSTquhtpoBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758038451; c=relaxed/simple; bh=HMPTLgr233HLTCdKhCopfRE55dgfVIBSIEdZyziNLKA=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=bvDUIudy9Mq6X2pbogmKoDtkv8SLfrpZSiZliu0QQ+DYlR9RrZPlAM5BIdGIit5BxZrrlUalVpR2npxf9GOzSjleYm1yxO42LgaJqjxklUXubEucsAHjLeiqvFoYId5YpZ6+u9xDuoyly4XvY8VAX4czgiP0fhC7NrO4DGxu9/k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JF93v5NA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JF93v5NA" 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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.