Home
last modified time | relevance | path

Searched hist:"7 c9a7b0c779ef3bc3786895372cdc3671a111c78" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/plat-synquacer/
H A Drng_pta.c7c9a7b0c779ef3bc3786895372cdc3671a111c78 Sat Mar 02 17:07:48 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> plat-synquacer: use cpu_spin_lock_xsave() and friend

Change RNG PTA implementation for synquacer platform to use helper
functions cpu_spin_lock_xsave() and cpu_spin_unlock_xrestore() instead
of calling thread_mask_exceptions()/cpu_spin_lock() pair and
thread_set_exceptions()/cpu_spin_unlock() pair. This makes the
implementation more consistent.

No functional change.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>