diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2024-03-05 18:39:18 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-03-18 12:20:01 +0100 |
commit | 9eec61df55c51415409c7cc47e9a1c8de94a0522 (patch) | |
tree | d9e5bde64e72de3c15d64133f0b3df60105e7b2e /block/bsg.c | |
parent | ca5b0b717b75d0f86f7f5dfe18369781bec742ad (diff) | |
download | linux-stable-9eec61df55c51415409c7cc47e9a1c8de94a0522.tar.gz linux-stable-9eec61df55c51415409c7cc47e9a1c8de94a0522.tar.bz2 linux-stable-9eec61df55c51415409c7cc47e9a1c8de94a0522.zip |
irqchip/renesas-rzg2l: Flush posted write in irq_eoi()
The irq_eoi() callback of the RZ/G2L interrupt chip clears the relevant
interrupt cause bit in the TSCR register by writing to it.
This write is not sufficient because the write is posted and therefore not
guaranteed to immediately clear the bit. Due to that delay the CPU can
raise the just handled interrupt again.
Prevent this by reading the register back which causes the posted write to
be flushed to the hardware before the read completes.
Fixes: 3fed09559cd8 ("irqchip: Add RZ/G2L IA55 Interrupt Controller driver")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions