WSL2-Linux-Kernel/arch/arm64
Nishanth Menon 5e3bd996d2 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
commit de60edf1be upstream.

Though GIC ARE option is disabled for no GIC-v2 compatibility,
Cortex-A53 is free to implement the CPU interface as long as it
communicates with the GIC using the stream protocol. This requires
that the SoC integration mark out the PERIPHBASE[1] as reserved area
within the SoC. See longer discussion in [2] for further information.

Update the GIC register map to indicate offsets from PERIPHBASE based
on [3]. Without doing this, systems like kvm will not function with
gic-v2 emulation.

[1] https://developer.arm.com/documentation/ddi0500/e/system-control/aarch64-register-descriptions/configuration-base-address-register--el1
[2] https://lore.kernel.org/all/87k0e0tirw.wl-maz@kernel.org/
[3] https://developer.arm.com/documentation/ddi0500/e/generic-interrupt-controller-cpu-interface/gic-programmers-model/memory-map

Cc: stable@vger.kernel.org
Fixes: 8abae9389b ("arm64: dts: ti: Add support for AM642 SoC")
Reported-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220215201008.15235-5-nm@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:22:58 +02:00
..
boot arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs 2022-04-08 14:22:58 +02:00
configs drivers: bus: Delete CONFIG_SIMPLE_PM_BUS 2021-10-05 17:47:22 +02:00
crypto
hyperv arm64: hyperv: Initialize hypervisor on boot 2021-08-04 16:54:36 +00:00
include arm64: fix clang warning about TRAMP_VALIAS 2022-03-23 09:16:43 +01:00
kernel arm64: signal: nofpsimd: Do not allocate fp/simd context when not available 2022-04-08 14:22:57 +02:00
kvm arm64: Use the clearbhb instruction in mitigations 2022-03-11 12:22:35 +01:00
lib arm64: mte: DC {GVA,GZVA} shouldn't be used when DCZID_EL0.DZP == 1 2022-01-27 11:03:28 +01:00
mm arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones 2022-04-08 14:22:57 +02:00
net arm64/bpf: Remove 128MB limit for BPF JIT programs 2022-01-29 10:58:25 +01:00
tools arm64: Mitigate spectre style branch history side channels 2022-03-11 12:22:35 +01:00
xen
Kbuild arm64: hyperv: Add Hyper-V hypercall and register access utilities 2021-08-04 16:54:36 +00:00
Kconfig arm64: Ensure execute-only permissions are not allowed without EPAN 2022-03-16 14:23:43 +01:00
Kconfig.debug
Kconfig.platforms
Makefile arm64 updates for 5.15: 2021-09-01 15:04:29 -07:00