Skip to content

Commit 6c2ab2a

Browse files
legoatermpe
authored andcommitted
powerpc/xive: Ease debugging of xive_irq_set_affinity()
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 14be098 commit 6c2ab2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/sysdev/xive/common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ static int xive_irq_set_affinity(struct irq_data *d,
713713
u32 target, old_target;
714714
int rc = 0;
715715

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

718718
/* Is this valid ? */
719719
if (cpumask_any_and(cpumask, cpu_online_mask) >= nr_cpu_ids)
@@ -758,7 +758,7 @@ static int xive_irq_set_affinity(struct irq_data *d,
758758
return rc;
759759
}
760760

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

764764
/* Give up previous target */

0 commit comments

Comments
 (0)