From 1994d98dc3bcbb9dea85db2b58118a59ac2652f5 Mon Sep 17 00:00:00 2001 From: Gary King Date: Thu, 19 Aug 2010 14:08:38 -0700 Subject: [PATCH] [ARM] tegra: smp: add barrier before raising GIC IPI IRQ since the GIC registers are device memory and the IPI data is stored in normal memory, a simple dmb is insufficient to ensure that the data will be visible to the IPI-receiving processor prior to the IPI handler running Change-Id: Idaddd9f225d00ebd3a8d656fa75c401323b80138 Signed-off-by: Gary King --- arch/arm/mach-tegra/include/mach/smp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-tegra/include/mach/smp.h b/arch/arm/mach-tegra/include/mach/smp.h index 8b42dab79a70..cd6a3fc567f1 100644 --- a/arch/arm/mach-tegra/include/mach/smp.h +++ b/arch/arm/mach-tegra/include/mach/smp.h @@ -17,6 +17,7 @@ */ static inline void smp_cross_call(const struct cpumask *mask) { + dsb(); gic_raise_softirq(mask, 1); } -- 2.34.1