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)
Mon, Nov 4, 10:43 PM
Unknown Object (File)
Mon, Nov 4, 10:43 PM
Unknown Object (File)
Mon, Nov 4, 10:43 PM
Unknown Object (File)
Mon, Nov 4, 10:26 PM
Unknown Object (File)
Oct 13 2024, 6:21 AM
Unknown Object (File)
Sep 30 2024, 2:30 AM
Unknown Object (File)
Sep 30 2024, 2:21 AM
Unknown Object (File)
Sep 12 2024, 3:00 AM
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