projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14be098
)
powerpc/xive: Ease debugging of xive_irq_set_affinity()
author
Cédric Le Goater
<clg@kaod.org>
Thu, 1 Jul 2021 13:27:22 +0000
(15:27 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 10 Aug 2021 13:14:57 +0000
(23:14 +1000)
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
arch/powerpc/sysdev/xive/common.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/sysdev/xive/common.c
b/arch/powerpc/sysdev/xive/common.c
index
420d96d
..
823f9fe
100644
(file)
--- a/
arch/powerpc/sysdev/xive/common.c
+++ b/
arch/powerpc/sysdev/xive/common.c
@@
-713,7
+713,7
@@
static int xive_irq_set_affinity(struct irq_data *d,
u32 target, old_target;
int rc = 0;
- pr_de
vel("xive_irq_set_affinity: irq %d\n", d->
irq);
+ pr_de
bug("%s: irq %d/%x\n", __func__, d->irq, hw_
irq);
/* Is this valid ? */
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,
return rc;
}
- pr_de
vel
(" target: 0x%x\n", target);
+ pr_de
bug
(" target: 0x%x\n", target);
xd->target = target;
/* Give up previous target */