From: Guillaume La Roque <glaroque@baylibre.com>
To: Thomas Gleixner <tglx@linutronix.de>,
vigneshr@ti.com, Nishanth Menon <nm@ti.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
Tero Kristo <kristo@kernel.org>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Guillaume La Roque <glaroque@baylibre.com>
Subject: [PATCH 1/2] kernel: irq: msi: Export symbols for TI SCI INTA MSI module compilation
Date: Mon, 07 Jul 2025 17:35:57 +0200 [thread overview]
Message-ID: <20250707-timsi-v1-1-80ae43b2c550@baylibre.com> (raw)
In-Reply-To: <20250707-timsi-v1-0-80ae43b2c550@baylibre.com>
Export MSI domain management functions to allow the TI SCI INTA MSI
driver to be compiled as a module. The following symbols are now
available for module use:
- msi_domain_insert_msi_desc
- msi_domain_free_msi_descs_range
- msi_setup_device_data
- msi_create_irq_domain
- msi_domain_alloc_irqs_all_locked
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
kernel/irq/msi.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 9febe797a5f6..4af232b6796b 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -163,6 +163,7 @@ int msi_domain_insert_msi_desc(struct device *dev, unsigned int domid,
return msi_insert_desc(dev, desc, domid, init_desc->msi_index);
}
+EXPORT_SYMBOL_GPL(msi_domain_insert_msi_desc);
static bool msi_desc_match(struct msi_desc *desc, enum msi_desc_filter filter)
{
@@ -235,6 +236,7 @@ void msi_domain_free_msi_descs_range(struct device *dev, unsigned int domid,
msi_domain_free_descs(dev, &ctrl);
}
+EXPORT_SYMBOL_GPL(msi_domain_free_msi_descs_range);
/**
* msi_domain_add_simple_msi_descs - Allocate and initialize MSI descriptors
@@ -342,6 +344,7 @@ int msi_setup_device_data(struct device *dev)
devres_add(dev, md);
return 0;
}
+EXPORT_SYMBOL_GPL(msi_setup_device_data);
/**
* __msi_lock_descs - Lock the MSI descriptor storage of a device
@@ -910,6 +913,7 @@ struct irq_domain *msi_create_irq_domain(struct fwnode_handle *fwnode,
{
return __msi_create_irq_domain(fwnode, info, 0, parent);
}
+EXPORT_SYMBOL_GPL(msi_create_irq_domain);
/**
* msi_create_parent_irq_domain - Create an MSI-parent interrupt domain
@@ -1472,6 +1476,7 @@ int msi_domain_alloc_irqs_all_locked(struct device *dev, unsigned int domid, int
return msi_domain_alloc_locked(dev, &ctrl);
}
+EXPORT_SYMBOL_GPL(msi_domain_alloc_irqs_all_locked);
static struct msi_map __msi_domain_alloc_irq_at(struct device *dev, unsigned int domid,
unsigned int index,
--
2.34.1
next prev parent reply other threads:[~2025-07-07 15:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-07 15:35 [PATCH 0/2] Enable TI SCI INTA MSI as loadable module Guillaume La Roque
2025-07-07 15:35 ` Guillaume La Roque [this message]
2025-07-18 20:57 ` [PATCH 1/2] kernel: irq: msi: Export symbols for TI SCI INTA MSI module compilation Thomas Gleixner
2025-07-22 8:03 ` Guillaume La Roque
2025-07-07 15:35 ` [PATCH 2/2] soc: ti: ti_sci_inta_msi: Enable module compilation support Guillaume La Roque
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250707-timsi-v1-1-80ae43b2c550@baylibre.com \
--to=glaroque@baylibre.com \
--cc=kristo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=ssantosh@kernel.org \
--cc=tglx@linutronix.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox