Miscellaneous irqchip driver fixes:

 - Fix potential loss of interrupt in the renesas-rzg2l irqchip driver
   (Biju Das)

 - Fix a series of mostly corner case & error handling bugs
   in the gic-v5 irqchip driver (Lorenzo Pieralisi)

 - Fix hardware probing on the ast2700-intc irqchip driver
   (Michael Pesa)

 - Fix endianness bug on the Realtek Interrupt Controller
   (Rustam Adilov)

 - Fix incorrect sleeping allocation in critical section
   in the ast2700-intc irqchip driver (Ryan Chen)

 - Fix two bugs in the GICv5 irqchip driver: clear IRQ affinity
   properly on teardown, and fix IRQ serialization bug on
   disabling the IRQ (Sascha Bischoff)

Signed-off-by: Ingo Molnar <mingo@kernel.org>
irqchip/irq-realtek-rtl: Use readl_be()/writel_be() instead of readl()/writel()

When CONFIG_SWAP_IO_SPACE is enabled, readl() performs a swap from little
endian device to big endian CPU and vice versa for writel().

This is incorrect for Realtek Interrupt controller as that is a big endian
device and so the LE to BE conversions are unwanted.

Fix this by converting the MMIO accesses to readl_be() and writel_be().

Fixes: 9f3a0f34b84a ("irqchip: Add support for Realtek RTL838x/RTL839x interrupt controller")
Signed-off-by: Rustam Adilov <adilov@disroot.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Carlo Szelinsky <github@szelinsky.de>
Link: https://patch.msgid.link/20260820162017.28507-1-adilov@disroot.org
1 file changed