From 3471bd9998c29d8b5ab73c8e5a2f8ab3767cfca0 Mon Sep 17 00:00:00 2001 From: Hyunki Koo Date: Fri, 15 Apr 2016 16:47:11 +0900 Subject: [PATCH] [COMMON] irqchip: gic: add dmb(ish) in gic_handle_irq Change-Id: I09e180d1d7133d5c306531dd4db3ce8d3c0d176b Signed-off-by: Hyunki Koo Signed-off-by: Hosung Kim --- drivers/irqchip/irq-gic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 04cb3c0a4c6f..1dfd032bc198 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -378,6 +378,8 @@ static void __exception_irq_entry gic_handle_irq(struct pt_regs *regs) irqstat = readl_relaxed(cpu_base + GIC_CPU_INTACK); irqnr = irqstat & GICC_IAR_INT_ID_MASK; + dmb(ish); + if (likely(irqnr > 15 && irqnr < 1020)) { if (static_key_true(&supports_deactivate)) writel_relaxed(irqstat, cpu_base + GIC_CPU_EOI); -- 2.20.1