Thread (39 messages) 39 messages, 5 authors, 2025-09-21

Re: [PATCH v2 01/25] irqdomain: Add firmware info reporting interface

From: Marc Zyngier <maz@kernel.org>
Date: 2025-09-16 16:00:50
Also in: linux-acpi, lkml

On Tue, 16 Sep 2025 16:14:38 +0100,
Jonathan Cameron [off-list ref] wrote:
On Mon, 15 Sep 2025 09:56:38 +0100
Marc Zyngier [off-list ref] wrote:
quoted
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 <maz@kernel.org>
Hi Marc,
quoted
---
 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help