Searched hist:"3399 e5c1aef7a0304a15542fbe86e7373072bb35" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/tee/ |
| H A D | entry_fast.c | 3399e5c1aef7a0304a15542fbe86e7373072bb35 Wed Dec 18 04:46:26 UTC 2024 Yuvraj Sakshith <ysakshith@gmail.com> core: arm: pass guest ID to SMC_ENABLE_ASYNC_NOTIF
notif_deliver_atomic_event() expects guest_id which is used to retrieve struct guest_partition* from virt_get_guest(). The guest_id passed is static (0), which causes trouble when OPTEE_SMC_ENABLE_ASYNC_NOTIF comes from a guest. When this happens, virt_get_guest() returns NULL which fails the assertion in get_notif_data() which exclusively checks for CONFIG_NS_VIRTUALIZATION.
Signed-off-by: Yuvraj Sakshith <ysakshith@gmail.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|