Searched hist:"31 d2da53e18aa0b332fe5bb663e30b01276191ac" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/ |
| H A D | scif.c | 31d2da53e18aa0b332fe5bb663e30b01276191ac Mon Jan 25 14:52:41 UTC 2021 Volodymyr Babchuk <volodymyr_babchuk@epam.com> drivers: scif: update base address in scif_uart_init()
Prior this patch function scif_uart_init() didn't called io_pa_or_va() to determine correct base address for the device. This worked fine because in most cases OP-TEE address space is identity mapped. But, this breaks if are trying to enable ASLR, because SCIF MMIO range is no more 1:1 mapped.
To fix this we need to use io_pa_or_va() as all other drivers do.
Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org>
|