[PATCH 0/2] irqchip/gicv3: use readl_poll_timeout_relaxed()

Mark Rutland mark.rutland at arm.com
Fri Apr 6 09:26:28 PDT 2018


The GICv3 code open-codes some IO polling loops, which a delay constructed as a
series of udelay(1) calls. We can make this simpler and more consistent by
using the readl_relaxed_poll_timeout() helper, so lets do so.

Thanks,
Mark.

Mark Rutland (2):
  irqchip/gic-v3-its: use readl_poll_timeout_relaxed()
  irqchip/gic-v3: use readl_poll_timeout_relaxed()

 drivers/irqchip/irq-gic-v3-its.c | 59 +++++++++++++++++-----------------------
 drivers/irqchip/irq-gic-v3.c     | 31 ++++++++-------------
 2 files changed, 37 insertions(+), 53 deletions(-)

-- 
2.11.0




More information about the linux-arm-kernel mailing list