Home
last modified time | relevance | path

Searched hist:c8e08212b85169a00b9b914b69d87529e14bdb6b (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/services/std_svc/lfa/
H A Dlfa_main.cc8e08212b85169a00b9b914b69d87529e14bdb6b Tue Oct 14 15:37:02 UTC 2025 Varun Wadekar <vwadekar@nvidia.com> feat(lfa): allow LFA_PRIME from one CPU at a time

LFA_PRIME is a single-threaded operation that is not pinned
to a specific CPU. The implementation must support calls being
issued from different CPUs, even for several calls to prime
the same component. However, those calls must not happen
concurrently.

This patch introduces a spinlock across the LFA_PRIME call to
support this requirement. In case of concurrent calls, the
LFA_BUSY error code is returned to the caller.

Change-Id: I0574a155ea66b527e26b0dd73272a103e4f936b1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>