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 29, 10:20 PM
Unknown Object (File)
Wed, May 29, 10:20 PM
Unknown Object (File)
Wed, May 29, 10:19 PM
Unknown Object (File)
Tue, May 28, 8:46 AM
Unknown Object (File)
Thu, May 23, 6:43 PM
Unknown Object (File)
Thu, May 23, 4:22 PM
Unknown Object (File)
Fri, May 17, 1:15 PM
Unknown Object (File)
Wed, May 8, 5: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