mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
irqchip/gic-v3: Add Renesas R-Car Gen4 erratum workaround
Renesas R-Car S4/V4H/V4M GIC600 integration has address width for AXI or APB interface configured to 32 bit, it can therefore access only the first 4 GiB of physical address space. This information comes from R-Car V4H Interface Specification sheet; there is currently no technical update number assigned to this limitation. Further input from hardware engineer indicates that this limitation also applies to R-Car S4 and V4M. Name the limitation GEN4GICITS1, and add a driver quirk to mitigate this limitation. The quirk is keyed on the combination of the GIC implementation and the platform identification in the device tree. Co-developed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Marc Zyngier <maz@kernel.org> Acked-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260707203743.88299-5-marek.vasut+renesas@mailbox.org
This commit is contained in:
parent
ee83126141
commit
a881882748
|
|
@ -352,6 +352,7 @@ stable kernels.
|
|||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| Qualcomm Tech. | Kryo4xx Gold | N/A | ARM64_ERRATUM_1286807 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| Renesas | S4/V4H/V4M | N/A | RENESAS_ERRATUM_GEN4GICITS1 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| Rockchip | RK3588 | #3588001 | ROCKCHIP_ERRATUM_3588001 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
|
|
|
|||
|
|
@ -1382,6 +1382,15 @@ config NVIDIA_CARMEL_CNP_ERRATUM
|
|||
|
||||
If unsure, say Y.
|
||||
|
||||
config RENESAS_ERRATUM_GEN4GICITS1
|
||||
bool "Renesas R-Car Gen4: GIC600 can not access physical addresses above 4 GiB"
|
||||
default y
|
||||
help
|
||||
The Renesas R-Car Gen4 S4/V4H/V4M GIC600 SoC integrations have AXI
|
||||
addressing limited to the first 32-bit of physical address space.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
config ROCKCHIP_ERRATUM_3568002
|
||||
bool "Rockchip 3568002: GIC600 can not access physical addresses higher than 4GB"
|
||||
default y
|
||||
|
|
|
|||
|
|
@ -4891,6 +4891,11 @@ static bool __maybe_unused its_enable_quirk_hip09_162100801(void *data)
|
|||
}
|
||||
|
||||
static const char * const dma_32bit_impaired_platforms[] = {
|
||||
#ifdef CONFIG_RENESAS_ERRATUM_GEN4GICITS1
|
||||
"renesas,r8a779f0",
|
||||
"renesas,r8a779g0",
|
||||
"renesas,r8a779h0",
|
||||
#endif
|
||||
#ifdef CONFIG_ROCKCHIP_ERRATUM_3568002
|
||||
"rockchip,rk3566",
|
||||
"rockchip,rk3568",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user