irqchip/gic-v3: Remove pr_devel message containing smp_processor_id()

This call to smp_processor_id() forces gic_raise_softirq() to require
being called while preemption is disabled, which isn't an actual
requirement. When called without preemption disabled, smp_processor_id()
is thus used incorrectly and generates a warning splat with the relevant
kernel debug options enabled.

Get rid of the useless pr_devel message outright to fix the incorrect
smp_processor_id() usage.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
Sultan Alsawaf 2020-05-20 21:02:24 -07:00 committed by azrim
parent 9d017661f5
commit c8313af451
No known key found for this signature in database
GPG Key ID: 497F8FB059B45D1C

View File

@ -861,7 +861,6 @@ static void gic_send_sgi(u64 cluster_id, u16 tlist, unsigned int irq)
MPIDR_TO_SGI_AFFINITY(cluster_id, 1) |
tlist << ICC_SGI1R_TARGET_LIST_SHIFT);
pr_devel("CPU%d: ICC_SGI1R_EL1 %llx\n", smp_processor_id(), val);
gic_write_sgi1r(val);
}