Page MenuHomeFreeBSD

scmi: Add scmi_token_reserve helper
ClosedPublic

Authored by cristian.marussi_arm.com on Nov 4 2024, 8:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 14, 4:26 AM
Unknown Object (File)
Fri, Apr 10, 5:20 PM
Unknown Object (File)
Fri, Apr 3, 3:53 AM
Unknown Object (File)
Wed, Apr 1, 5:04 PM
Unknown Object (File)
Mar 13 2026, 3:18 PM
Unknown Object (File)
Mar 13 2026, 12:51 AM
Unknown Object (File)
Feb 28 2026, 7:09 AM
Unknown Object (File)
Jan 14 2026, 8:23 AM
Subscribers

Details

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