Page MenuHomeFreeBSD

scmi: Add scmi_token_reserve helper
AcceptedPublic

Authored by cristian.marussi_arm.com on Mon, Nov 4, 8:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 11:28 PM
Unknown Object (File)
Sat, Nov 9, 7:50 AM
Unknown Object (File)
Sat, Nov 9, 4:55 AM
Unknown Object (File)
Fri, Nov 8, 9:16 PM
Unknown Object (File)
Fri, Nov 8, 6:42 PM
Unknown Object (File)
Fri, Nov 8, 3:44 PM
Unknown Object (File)
Thu, Nov 7, 9:37 AM
Subscribers

Details

Reviewers
andrew
br
Group Reviewers
arm64
Summary

During normal operation, the SCMI stack, upon each transmission attempt,
takes care to automatically pick an appropriate, monotonically increasing,
sequence number to fill-in the token field in the egressing message.

This does not cope well with the alternative scenario in which, instead,
a complete and fully formed message is provided upfront: in such a case the
SCMI stack will have to use the already provided sequence number, embedded
in the message, to track such transaction.

Add a method to attempt to reserve a specific sequence number to be used
when a fully firmed (raw) message is handled.

Tested on: Arm Morello Board
Sponsored by: Arm ltd
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60368
Build 57252: arc lint + arc unit