soc: apple: Add RTKit IPC library
Apple SoCs such as the M1 come with multiple embedded co-processors running proprietary firmware. Communication with those is established over a simple mailbox using the RTKit IPC protocol. This cannot be implemented inside the mailbox subsystem since on top of communication over channels we also need support for starting, hibernating and resetting these co-processors. We also need to handle shared memory allocations differently depending on the co-processor and don't want to split that across multiple drivers. Reviewed-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Sven Peter <sven@svenpeter.dev>
Showing
- drivers/soc/apple/Kconfig 13 additions, 0 deletionsdrivers/soc/apple/Kconfig
- drivers/soc/apple/Makefile 3 additions, 0 deletionsdrivers/soc/apple/Makefile
- drivers/soc/apple/rtkit-crashlog.c 154 additions, 0 deletionsdrivers/soc/apple/rtkit-crashlog.c
- drivers/soc/apple/rtkit-internal.h 62 additions, 0 deletionsdrivers/soc/apple/rtkit-internal.h
- drivers/soc/apple/rtkit.c 958 additions, 0 deletionsdrivers/soc/apple/rtkit.c
- include/linux/soc/apple/rtkit.h 155 additions, 0 deletionsinclude/linux/soc/apple/rtkit.h
Please register or sign in to comment