Page MenuHomeFreeBSD

scmi: Extend and refactor SCMI shmem support
ClosedPublic

Authored by cristian.marussi_arm.com on Dec 13 2023, 6:37 PM.
Tags
None
Referenced Files
F84429877: D43041.diff
Thu, May 23, 6:43 PM
F84420543: D43041.diff
Thu, May 23, 4:22 PM
Unknown Object (File)
Fri, May 17, 1:15 PM
Unknown Object (File)
Wed, May 8, 5:43 PM
Unknown Object (File)
Wed, May 8, 5:42 PM
Unknown Object (File)
Wed, May 8, 1:20 PM
Unknown Object (File)
Wed, May 1, 8:10 PM
Unknown Object (File)
Sun, Apr 28, 3:16 PM
Subscribers

Details

Summary

Add a few new common public scmi_shmem methods to be used to handle SCMI
shared memory areas from multiple transports; while doing that review
the shared memory accesses to read only the SMT header fields strictly
relevant to the SCMI message processing.

Move all the SCMI shmem related code to the existing scmi_shmem.c file
and add a new dedicated scmi_shmem.h header.

Introduce some commonly needed message header manipulation macros.

Tested-on: ARM Morello Board
Sponsored by: Arm Ltd

Diff Detail

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