RE: [PATCH v1 00/16] Add missing features to FastRPC driver

From: Wu, Wentong
Date: Thu Feb 22 2024 - 02:04:06 EST


> From: Ekansh Gupta <quic_ekangupt@xxxxxxxxxxx>
> This patch series adds the listed features that have been missing in
> upstream fastRPC driver.

Thanks for the patch, and is there any latency data on driver side?

BR,
Wentong
>
> - Redesign and improve remote heap management.
> - Add static PD restart support for audio and sensors PD using
> PDR framework.
> - Add changes to support multimode invocation ioctl request. This
> ioctl call facilitates multiple types of requests from user including
> CRC check, performance counters, shared context bank usage, etc.
> This series also carries patch to save and restore interrupted
> context.
> - Add early wakeup support to allow DSP user to send early response
> to CPU and improve fastrpc performance.
> - Add polling mode support with which driver polls on memory to avoid
> CPU from going to low power modes.
> - Add notifications frameworks to provide users with the DSP PD status
> notifications.
> - Add a control mechanism to allow users to clean up DSP user PD
> - Add wakelock management support
> - Add DSP signalling support
> - Add check for untrusted applications and allow trusted processed to
> offload to system unsigned PD.
>
> Ekansh Gupta (16):
> misc: fastrpc: Redesign remote heap management
> misc: fastrpc: Add support for unsigned PD
> misc: fastrpc: Add static PD restart support
> misc: fastrpc: Add fastrpc multimode invoke request support
> misc: fastrpc: Add CRC support for remote buffers
> misc: fastrpc: Capture kernel and DSP performance counters
> misc: fastrpc: Add support to save and restore interrupted
> misc: fastrpc: Add support to allocate shared context bank
> misc: fastrpc: Add early wakeup support for fastRPC driver
> misc: fastrpc: Add polling mode support for fastRPC driver
> misc: fastrpc: Add DSP PD notification support
> misc: fastrpc: Add support for users to clean up DSP user PD
> misc: fastrpc: Add wakelock management support
> misc: fastrpc: Add DSP signal support
> misc: fastrpc: Restrict untrusted apk to spawn privileged PD
> misc: fastrpc: Add system unsigned PD support
>
> drivers/misc/fastrpc.c | 1949 +++++++++++++++++++++++++++++++----
> include/uapi/misc/fastrpc.h | 112 ++
> 2 files changed, 1844 insertions(+), 217 deletions(-)
>
> --
> 2.17.0
>