Searched hist:"4 e6eecf693e86b44f8fd5ba31d93ab06e7668d8c" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/include/drivers/ |
| H A D | gic.h | 4e6eecf693e86b44f8fd5ba31d93ab06e7668d8c Wed Mar 30 06:36:33 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: decrease register size for gicv2
The mapped size for GIC distributor and cpu registers is currently defined to the size used for GICv3. GICv2 doesn't need such large sizes, in fact some platforms has the distributor and cpu registers next to each other in the physical memory map. This causes an overlap that can be confusing. Fix this by selecting a smaller size when a GICv2 is used instead.
It should be noted GICC_DIR is at offset 0x1000 in the cpu interface so this register will not be accessible, but this should not be a problem since OP-TEE doesn't use that register.
Reviewed-by: Vishnu Banavath <vishnu.banavath@arm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|