]> Git Repo - J-linux.git/commitdiff
irqchip/gic-v3: Enable Rockchip 3588001 erratum workaround for RK3588S
authorSebastian Reichel <[email protected]>
Mon, 3 Jul 2023 16:41:29 +0000 (18:41 +0200)
committerMarc Zyngier <[email protected]>
Mon, 3 Jul 2023 18:48:04 +0000 (19:48 +0100)
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 <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
drivers/irqchip/irq-gic-v3-its.c

index 5365bc3b1c497ea87e7fdbad0c0f6f2d70fb0444..e0c2b10d154d64586ac887102c988826f0fa3874 100644 (file)
@@ -4744,7 +4744,8 @@ static bool __maybe_unused its_enable_rk3588001(void *data)
 {
        struct its_node *its = data;
 
-       if (!of_machine_is_compatible("rockchip,rk3588"))
+       if (!of_machine_is_compatible("rockchip,rk3588") &&
+           !of_machine_is_compatible("rockchip,rk3588s"))
                return false;
 
        its->flags |= ITS_FLAGS_FORCE_NON_SHAREABLE;
This page took 0.061252 seconds and 4 git commands to generate.