Skip to content

Commit 04d80db

Browse files
Heyi GuoMarc Zyngier
authored andcommitted
irqchip/gic-v3-its: Fix access width for gicr_syncr
GICR_SYNCR is a 32bit register, so it is better to access it with 32bit access width, though we have not seen any real problem. Signed-off-by: Heyi Guo <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 47beed5 commit 04d80db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-gic-v3-its.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ static void lpi_write_config(struct irq_data *d, u8 clr, u8 set)
13211321

13221322
static void wait_for_syncr(void __iomem *rdbase)
13231323
{
1324-
while (gic_read_lpir(rdbase + GICR_SYNCR) & 1)
1324+
while (readl_relaxed(rdbase + GICR_SYNCR) & 1)
13251325
cpu_relax();
13261326
}
13271327

0 commit comments

Comments
 (0)