From: Hyunki Koo Date: Fri, 15 Apr 2016 07:47:11 +0000 (+0900) Subject: [COMMON] irqchip: gic: add dmb(ish) in gic_handle_irq X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3471bd9998c29d8b5ab73c8e5a2f8ab3767cfca0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] irqchip: gic: add dmb(ish) in gic_handle_irq Change-Id: I09e180d1d7133d5c306531dd4db3ce8d3c0d176b Signed-off-by: Hyunki Koo Signed-off-by: Hosung Kim --- 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);