From 28c57924344de20c03a9a098505d8f2bdcf91b3b Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Mon, 14 Sep 2020 09:30:32 -0700 Subject: [PATCH] arm64: smp: Undo flushing of caches from local_cpu_stop Upon a panic, the cache flushes are handled by the software layers that collect the ramdumps. Hence doing it from the kernel is no longer necessary and can be removed. Change-Id: I83860fb4361e42aea69f0f5cc75aaff5c3c4e3b0 Signed-off-by: Raghavendra Rao Ananta --- arch/arm64/kernel/smp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index c14043988b22..a1e734bf2ad3 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -868,7 +868,6 @@ static void local_cpu_stop(void) set_cpu_online(cpu, false); - flush_cache_all(); local_daif_mask(); sdei_mask_local_cpu(); cpu_park_loop();