]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(ti): synchronize access to secure proxy threads
authorAndrew Davis <afd@ti.com>
Mon, 13 Mar 2023 18:56:27 +0000 (13:56 -0500)
committerAndrew Davis <afd@ti.com>
Thu, 30 Mar 2023 15:19:21 +0000 (10:19 -0500)
commit312eec3ecde9837f61fc0d7b46b4197ec2257ee7
tree7c45ac1497b2d316abb47b993e098c162a562718
parent3aa8d49ada6fa6d6e36cce9c4e28489340c754bc
feat(ti): synchronize access to secure proxy threads

When communicating with the system controller over secure proxy we clear
a thread, write our message, then wait for a response. This must not be
interrupted by a different transfer on the same thread. Take a lock
during this sequence to prevent contention.

Signed-off-by: Andrew Davis <afd@ti.com>
Change-Id: I7789f017fde7180ab6b4ac07458464b967c8e580
plat/ti/k3/common/drivers/ti_sci/ti_sci.c