Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/gic-v3: Enable Rockchip 3588001 erratum workaround for RK3588S

Commit a8707f553884 ("irqchip/gic-v3: Add Rockchip 3588001 erratum
workaround") mentioned RK3588S (the slimmed down variant of RK3588)
being affected, but did not check for its compatible value. Thus the
quirk is not applied on RK3588S. Since the GIC ITS node got added to the
upstream DT, boards using RK3588S are no longer booting without this
quirk being applied.

Fixes: 06cdac8e8407 ("arm64: dts: rockchip: add GIC ITS support to rk3588")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230703164129.193991-1-sebastian.reichel@collabora.com

authored by

Sebastian Reichel and committed by
Marc Zyngier
567f67ac 926846a7

+2 -1
+2 -1
drivers/irqchip/irq-gic-v3-its.c
··· 4744 4744 { 4745 4745 struct its_node *its = data; 4746 4746 4747 - if (!of_machine_is_compatible("rockchip,rk3588")) 4747 + if (!of_machine_is_compatible("rockchip,rk3588") && 4748 + !of_machine_is_compatible("rockchip,rk3588s")) 4748 4749 return false; 4749 4750 4750 4751 its->flags |= ITS_FLAGS_FORCE_NON_SHAREABLE;