Skip to content

Commit

Permalink
powerpc/xive: Ease debugging of xive_irq_set_affinity()
Browse files Browse the repository at this point in the history
pr_debug() is easier to activate and it helps to know how the kernel
configures the HW when tweaking the IRQ subsystem.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-5-clg@kaod.org
  • Loading branch information
Cédric Le Goater authored and Michael Ellerman committed Aug 10, 2021
1 parent 14be098 commit 6c2ab2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/sysdev/xive/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ static int xive_irq_set_affinity(struct irq_data *d,
u32 target, old_target;
int rc = 0;

pr_devel("xive_irq_set_affinity: irq %d\n", d->irq);
pr_debug("%s: irq %d/%x\n", __func__, d->irq, hw_irq);

/* Is this valid ? */
if (cpumask_any_and(cpumask, cpu_online_mask) >= nr_cpu_ids)
Expand Down Expand Up @@ -758,7 +758,7 @@ static int xive_irq_set_affinity(struct irq_data *d,
return rc;
}

pr_devel(" target: 0x%x\n", target);
pr_debug(" target: 0x%x\n", target);
xd->target = target;

/* Give up previous target */
Expand Down

0 comments on commit 6c2ab2a

Please sign in to comment.