[tip: irq/core] irqchip/sifive-plic: Improve boot prints for multiple PLIC instances
From: tip-bot2 for Anup Patel
Date: Sat May 30 2020 - 03:46:44 EST
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 0e375f51017bcc86c23979118b10445c424ef5ad
Gitweb: https://git.kernel.org/tip/0e375f51017bcc86c23979118b10445c424ef5ad
Author: Anup Patel <anup.patel@xxxxxxx>
AuthorDate: Mon, 18 May 2020 14:44:41 +05:30
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Mon, 25 May 2020 10:38:25 +01:00
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 <anup.patel@xxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
Acked-by: Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20200518091441.94843-4-anup.patel@xxxxxxx
---
drivers/irqchip/irq-sifive-plic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-sifive-plic.c b/drivers/irqchip/irq-sifive-plic.c
index 6c54abf..d9c53f8 100644
--- a/drivers/irqchip/irq-sifive-plic.c
+++ b/drivers/irqchip/irq-sifive-plic.c
@@ -380,8 +380,8 @@ done:
plic_cpuhp_setup_done = true;
}
- pr_info("mapped %d interrupts with %d handlers for %d contexts.\n",
- nr_irqs, nr_handlers, nr_contexts);
+ pr_info("%pOFP: mapped %d interrupts with %d handlers for"
+ " %d contexts.\n", node, nr_irqs, nr_handlers, nr_contexts);
set_handle_irq(plic_handle_irq);
return 0;