Re: [PATCH] irqchip/riscv-imsic: Fix output text of base address
From: Anup Patel
Date: Mon Sep 09 2024 - 06:56:00 EST
On Mon, Sep 9, 2024 at 2:26 PM Andrew Jones <ajones@xxxxxxxxxxxxxxxx> wrote:
>
> The "per-CPU IDs ... at base ..." info log is outputting a physical
> address, not a PPN.
>
> Fixes: 027e125acdba ("irqchip/riscv-imsic: Add device MSI domain support for platform devices")
> Signed-off-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
LGTM.
Reviewed-by: Anup Patel <anup@xxxxxxxxxxxxxx>
Regards,
Anup
> ---
> drivers/irqchip/irq-riscv-imsic-platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-riscv-imsic-platform.c b/drivers/irqchip/irq-riscv-imsic-platform.c
> index 11723a763c10..c5ec66e0bfd3 100644
> --- a/drivers/irqchip/irq-riscv-imsic-platform.c
> +++ b/drivers/irqchip/irq-riscv-imsic-platform.c
> @@ -340,7 +340,7 @@ int imsic_irqdomain_init(void)
> imsic->fwnode, global->hart_index_bits, global->guest_index_bits);
> pr_info("%pfwP: group-index-bits: %d, group-index-shift: %d\n",
> imsic->fwnode, global->group_index_bits, global->group_index_shift);
> - pr_info("%pfwP: per-CPU IDs %d at base PPN %pa\n",
> + pr_info("%pfwP: per-CPU IDs %d at base address %pa\n",
> imsic->fwnode, global->nr_ids, &global->base_addr);
> pr_info("%pfwP: total %d interrupts available\n",
> imsic->fwnode, num_possible_cpus() * (global->nr_ids - 1));
> --
> 2.46.0
>