[PATCH 1/6] irqchip/al-fic: use full node name and raise init log level

From: Eliav Farber

Date: Thu Sep 24 2026 - 02:24:50 EST


Use node->full_name instead of node->name in the driver's log messages
so that they identify the specific FIC instance, e.g.:

interrupt-controller@fd803000 initialized successfully in Legacy mode (parent-irq=3)

Raise the successful-initialization message from pr_debug to pr_info, as
this single boot-time printout is useful when dynamic debug is not
enabled at this stage of boot. While here, fix a small typo in the
al_fic_wire_init() comment.

Signed-off-by: Eliav Farber <farbere@xxxxxxxxxx>
---
drivers/irqchip/irq-al-fic.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/irqchip/irq-al-fic.c b/drivers/irqchip/irq-al-fic.c
index d10ac9b63c99..efa7f2b62d00 100644
--- a/drivers/irqchip/irq-al-fic.c
+++ b/drivers/irqchip/irq-al-fic.c
@@ -180,7 +180,7 @@ static int al_fic_register(struct device_node *node,
* @name: name of the fic
* @parent_irq: interrupt of parent
*
- * This API will configure the fic hardware to to work in wire mode.
+ * This API will configure the fic hardware to work in wire mode.
* In wire mode, fic hardware is generating a wire ("wired") interrupt.
* Interrupt can be generated based on positive edge or level - configuration is
* to be determined based on connected hardware to this fic.
@@ -216,8 +216,8 @@ static struct al_fic *al_fic_wire_init(struct device_node *node,
goto err_free;
}

- pr_debug("%s initialized successfully in Legacy mode (parent-irq=%u)\n",
- fic->name, parent_irq);
+ pr_info("%s initialized successfully in Legacy mode (parent-irq=%u)\n",
+ fic->name, parent_irq);

return fic;

@@ -236,30 +236,30 @@ static int __init al_fic_init_dt(struct device_node *node,

if (!parent) {
pr_err("%s: unsupported - device require a parent\n",
- node->name);
+ node->full_name);
return -EINVAL;
}

base = of_iomap(node, 0);
if (!base) {
- pr_err("%s: fail to map memory\n", node->name);
+ pr_err("%s: fail to map memory\n", node->full_name);
return -ENOMEM;
}

parent_irq = irq_of_parse_and_map(node, 0);
if (!parent_irq) {
- pr_err("%s: fail to map irq\n", node->name);
+ pr_err("%s: fail to map irq\n", node->full_name);
ret = -EINVAL;
goto err_unmap;
}

fic = al_fic_wire_init(node,
base,
- node->name,
+ node->full_name,
parent_irq);
if (IS_ERR(fic)) {
pr_err("%s: fail to initialize irqchip (%lu)\n",
- node->name,
+ node->full_name,
PTR_ERR(fic));
ret = PTR_ERR(fic);
goto err_irq_dispose;
--
2.47.3