Searched hist:a7400fcded79455d5979451f034f48bd6fc0dd0c (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | virtualization.c | a7400fcded79455d5979451f034f48bd6fc0dd0c Wed Feb 07 11:55:25 UTC 2024 Jens Wiklander <jens.wiklander@linaro.org> core: arm: fix lock in virt_add_cookie_to_current_guest()
Prior to this patch was virt_add_cookie_to_current_guest() only masking interrupts while adding a shared memory cookie to the list of cookies. Proper locking is needed to serialize access to the cookie list, replace the interrupt masking with a cpu_spin_lock_xsave().
Fixes: a65dd3a6b64d ("core: spmc: support virtualization with SPMC at S-EL1") Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
|