Skip to content

Commit 0e375f5

Browse files
avpatelMarc Zyngier
authored andcommitted
irqchip/sifive-plic: Improve boot prints for multiple PLIC instances
We improve PLIC banner to help distinguish multiple PLIC instances in boot time prints. Signed-off-by: Anup Patel <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Palmer Dabbelt <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2234ae8 commit 0e375f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/irqchip/irq-sifive-plic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,8 @@ static int __init plic_init(struct device_node *node,
380380
plic_cpuhp_setup_done = true;
381381
}
382382

383-
pr_info("mapped %d interrupts with %d handlers for %d contexts.\n",
384-
nr_irqs, nr_handlers, nr_contexts);
383+
pr_info("%pOFP: mapped %d interrupts with %d handlers for"
384+
" %d contexts.\n", node, nr_irqs, nr_handlers, nr_contexts);
385385
set_handle_irq(plic_handle_irq);
386386
return 0;
387387

0 commit comments

Comments
 (0)