TF-A QuestionTag
ActivePublic

Members

  • This project does not have any members.

Watchers

  • This project does not have any watchers.

Recent Activity

Today

raghuncstate added a comment to T334: Barrier in sprt_queue.c.

Thanks guys! The dmbish() is not a huge deal. Just get a little nervous when i see barriers and don't completely understand why it is there. :)

Tue, May 21, 10:14 PM · TF-A Question, Trusted Firmware A
soby-mathew added a comment to T334: Barrier in sprt_queue.c.

Ah, You are right. Having taken a look at it again, yes, the SP-> SPM communication is register based and this spm_response_add() is invoked by SPM to push to a buffer within EL3 (its not a shared buffer between different ELs). I suspect the shared buffer primitives were written with shared buffer scenario in mind and the current prototype implementation does not optimize it for the case when the buffer is within EL3.

Tue, May 21, 9:03 PM · TF-A Question, Trusted Firmware A
raghuncstate added a comment to T334: Barrier in sprt_queue.c.

Thanks Paul, Soby.
spm_response_*() currently cannot invoked by any secure partition since the responses[] array is in EL3 space. Is this not the case ? or is it the expectation that the responses array will be mapped to secure EL0 some time in the future? I don't see how a secure partition can invoke spm_response_* other than through an SMC, in which case we are already in EL3 context and dont require the dmbish(), as Paul pointed. I understand your argument for sprt_queue_*, since they are invoked by EL3 and the secure partition.

Tue, May 21, 4:33 PM · TF-A Question, Trusted Firmware A
soby-mathew added a comment to T334: Barrier in sprt_queue.c.

Who is the lockless reader for spm_response_add() and spm_response_get()?

Tue, May 21, 3:23 PM · TF-A Question, Trusted Firmware A
pbeesley-arm added a comment to T334: Barrier in sprt_queue.c.

Apologies for the delay. I've had a look into the spm_buffers.c file and I understand your query is around the dmbish() that's performed shortly before releasing the lock in both spm_response_add() and spm_response_get().

Tue, May 21, 1:57 PM · TF-A Question, Trusted Firmware A
pbeesley-arm updated subscribers of T334: Barrier in sprt_queue.c.
Tue, May 21, 12:40 PM · TF-A Question, Trusted Firmware A

Mon, May 13

raghuncstate added a comment to T334: Barrier in sprt_queue.c.

anything ?

Mon, May 13, 6:58 PM · TF-A Question, Trusted Firmware A

Wed, May 8

raghuncstate added a comment to T334: Barrier in sprt_queue.c.

Thanks. Missed the lockless reader of the queue. Who is the lockless reader for spm_response_add() and spm_response_get()?

Wed, May 8, 11:40 PM · TF-A Question, Trusted Firmware A
antonio-nino-diaz-arm added a comment to T334: Barrier in sprt_queue.c.

A secure partition may be reading from the queue from CPU1 at the same time as CPU0 pushes a new request. If this happens, it is needed that the stores are seen in the same order by all observers of the system.

Wed, May 8, 2:54 PM · TF-A Question, Trusted Firmware A
soby-mathew assigned T334: Barrier in sprt_queue.c to pbeesley-arm.
Wed, May 8, 9:50 AM · TF-A Question, Trusted Firmware A

Sun, May 5

raghuncstate updated the task description for T334: Barrier in sprt_queue.c.
Sun, May 5, 9:09 PM · TF-A Question, Trusted Firmware A
raghuncstate triaged T334: Barrier in sprt_queue.c as Normal priority.
Sun, May 5, 9:07 PM · TF-A Question, Trusted Firmware A

Mar 22 2019

joannafarley-arm changed the visibility for TF-A Question.
Mar 22 2019, 6:15 PM
joannafarley-arm renamed T267: Example task/Issue 1 for TF-A from Example task/Issue for TF-A to Example task/Issue 1 for TF-A.
Mar 22 2019, 4:00 PM · TF-A Info, TF-A General, TF-A Enhancement, TF-A Duplicate, TF-A Docs, TF-A Question, TF-A Bug, Trusted Firmware A
joannafarley-arm updated the task description for T267: Example task/Issue 1 for TF-A.
Mar 22 2019, 1:46 PM · TF-A Info, TF-A General, TF-A Enhancement, TF-A Duplicate, TF-A Docs, TF-A Question, TF-A Bug, Trusted Firmware A
joannafarley-arm updated the task description for T267: Example task/Issue 1 for TF-A.
Mar 22 2019, 1:41 PM · TF-A Info, TF-A General, TF-A Enhancement, TF-A Duplicate, TF-A Docs, TF-A Question, TF-A Bug, Trusted Firmware A
joannafarley-arm renamed T267: Example task/Issue 1 for TF-A from Test task/Issue for TF-A to Example task/Issue for TF-A.
Mar 22 2019, 12:11 PM · TF-A Info, TF-A General, TF-A Enhancement, TF-A Duplicate, TF-A Docs, TF-A Question, TF-A Bug, Trusted Firmware A
joannafarley-arm renamed T267: Example task/Issue 1 for TF-A from Test task for TF-A to Test task/Issue for TF-A.
Mar 22 2019, 12:01 PM · TF-A Info, TF-A General, TF-A Enhancement, TF-A Duplicate, TF-A Docs, TF-A Question, TF-A Bug, Trusted Firmware A
joannafarley-arm added projects to T267: Example task/Issue 1 for TF-A: TF-A Bug, TF-A Question.
Mar 22 2019, 11:58 AM · TF-A Info, TF-A General, TF-A Enhancement, TF-A Duplicate, TF-A Docs, TF-A Question, TF-A Bug, Trusted Firmware A
joannafarley-arm renamed TF-A Question from Question to TF-A Question.
Mar 22 2019, 11:44 AM
joannafarley-arm set the color for TF-A Question to Violet.
Mar 22 2019, 11:42 AM