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
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
Unknown Object (File)
Sat, Apr 27, 4:14 AM
Unknown Object (File)
Fri, Apr 26, 2:39 AM
Unknown Object (File)
Sat, Apr 20, 11:43 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 Not Applicable
Unit
Tests Not Applicable