Home
last modified time | relevance | path

Searched hist:"7 c4883ae8da0fe4d35029a55f24248b3af688b34" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dgic.c7c4883ae8da0fe4d35029a55f24248b3af688b34 Thu Nov 30 10:56:47 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: gic: make GICR base optional

The physical address of the redistributor was, before this patch, always
used, regardless of whether affinity routing is enabled or otherwise not
needed.

Using the redistributor is optional if gic_init_donate_sgi_to_ns() isn't
called. So allow the GICR base address to be passed as zero if
gic_init_donate_sgi_to_ns() isn't called. However,
gic_init_donate_sgi_to_ns() will panic if called without a previously
configured GICR base address.

Fixes: 05089e5f9a56 ("core: gic: use redistributor CPU interface")
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>