arm64: smp: Don't directly call arch_smp_send_reschedule() for wakeup
authorDouglas Anderson <dianders@chromium.org>
Mon, 2 Oct 2023 16:45:30 +0000 (09:45 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 6 Oct 2023 11:35:01 +0000 (12:35 +0100)
In commit 2b2d0a7a96ab ("arm64: smp: Remove dedicated wakeup IPI") we
started using a scheduler IPI to avoid a dedicated reschedule. When we
did this, we used arch_smp_send_reschedule() directly rather than
calling smp_send_reschedule(). The only difference is that calling
arch_smp_send_reschedule() directly avoids tracing. Presumably we
_don't_ want to avoid tracing here, so switch to
smp_send_reschedule().

Fixes: 2b2d0a7a96ab ("arm64: smp: Remove dedicated wakeup IPI")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/smp.c

index 061c69160f90f7f6d96038eac54b3111f5c5937b..16ead57a583d5f3cd8d0d4aa5799f9076abf1521 100644 (file)
@@ -1061,7 +1061,7 @@ void arch_send_wakeup_ipi(unsigned int cpu)
         * We use a scheduler IPI to wake the CPU as this avoids the need for a
         * dedicated IPI and we can safely handle spurious scheduler IPIs.
         */
-       arch_smp_send_reschedule(cpu);
+       smp_send_reschedule(cpu);
 }
 #endif