irqchip/gic-v3: Add Rockchip 3588001 erratum workaround
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 18 Apr 2023 14:21:08 +0000 (16:21 +0200)
committerMarc Zyngier <maz@kernel.org>
Tue, 18 Apr 2023 16:31:17 +0000 (17:31 +0100)
commita8707f5538846611c90116c14f72539ad5fb37da
tree3fd356d14a5f82c4cf7ad6a8a81f3ea74d85da2f
parent35727af2b15d98a2dd2811d631d3a3886111312e
irqchip/gic-v3: Add Rockchip 3588001 erratum workaround

Rockchip RK3588/RK3588s GIC600 integration does not support the
sharability feature. Rockchip assigned Erratum ID #3588001 for this
issue.

Note, that the 0x0201743b ID is not Rockchip specific and thus
there is an extra of_machine_is_compatible() check.

The flags are named FORCE_NON_SHAREABLE to be vendor agnostic,
since apparently similar integration design errors exist in other
platforms and they can reuse the same flag.

Co-developed-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Co-developed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Co-developed-by: Lucas Tanure <lucas.tanure@collabora.com>
Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230418142109.49762-2-sebastian.reichel@collabora.com
Documentation/arm64/silicon-errata.rst
arch/arm64/Kconfig
drivers/irqchip/irq-gic-v3-its.c