[COMMON] irqchip: gic: add dmb(ish) in gic_handle_irq
authorHyunki Koo <hyunki00.koo@samsung.com>
Fri, 15 Apr 2016 07:47:11 +0000 (16:47 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Mon, 14 May 2018 05:04:20 +0000 (14:04 +0900)
Change-Id: I09e180d1d7133d5c306531dd4db3ce8d3c0d176b
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
drivers/irqchip/irq-gic.c

index 04cb3c0a4c6f825c4beee34aea59664031aedf7b..1dfd032bc19803528d95f4e3e5df6403f4f9c0bb 100644 (file)
@@ -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);