Searched hist:b1eb945e7f8425f365861e1827eee5b018211eec (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/arch/arm/plat-k3/drivers/ |
| H A D | sa2ul.c | b1eb945e7f8425f365861e1827eee5b018211eec Tue Aug 27 14:00:37 UTC 2024 Manorit Chawdhry <m-chawdhry@ti.com> plat-k3: drivers: Change SA2UL_init service to service_init_crypto
Since commit 11d8578d93f0 ("core: arm: call call_driver_initcalls() late"), driver_init is deferred and thread_update_canaries tries to get random_stack_canaries which requires the TRNG driver to be setup. Since it was being setup as part of driver_init, it lead to crash on K3 platforms.
Change driver_init to service_init_crypto which is meant to be used for initialization of crypto operations. Also, for the TISCI services to be available before service_init_crypto, change init_ti_sci invocation to early_init_late.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
|
| /optee_os/core/arch/arm/plat-k3/ |
| H A D | main.c | b1eb945e7f8425f365861e1827eee5b018211eec Tue Aug 27 14:00:37 UTC 2024 Manorit Chawdhry <m-chawdhry@ti.com> plat-k3: drivers: Change SA2UL_init service to service_init_crypto
Since commit 11d8578d93f0 ("core: arm: call call_driver_initcalls() late"), driver_init is deferred and thread_update_canaries tries to get random_stack_canaries which requires the TRNG driver to be setup. Since it was being setup as part of driver_init, it lead to crash on K3 platforms.
Change driver_init to service_init_crypto which is meant to be used for initialization of crypto operations. Also, for the TISCI services to be available before service_init_crypto, change init_ti_sci invocation to early_init_late.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
|