summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRustam Adilov <adilov@disroot.org>2026-08-20 21:20:17 +0500
committerThomas Gleixner <tglx@kernel.org>2026-08-20 18:34:59 +0200
commit58b34b72b64bfbfc5f8ad4d8f229942aff76597e (patch)
treefc05e226815699b87f5480d69f17fee47402c270 /tools/lib/python
parenta1ee1a1ca75b674f503c74eb8b3ca77612ba3c0c (diff)
downloadlinux-58b34b72b64bfbfc5f8ad4d8f229942aff76597e.tar.gz
linux-58b34b72b64bfbfc5f8ad4d8f229942aff76597e.zip
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
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions