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

From: neil . armstrong
Date: Fri Feb 02 2024 - 03:18:28 EST


Hi,

On 02/02/2024 07:40, Ekansh Gupta wrote:
This patch series adds the listed features that have been missing
in upstream fastRPC driver.

- 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.

Could you precise:
- Which workload are you fixing
- Which platforms are concerned
- Which platforms were tested

So far I've been trying to run the "getserial" on SM8550-QRD and SM8650-QRD without
success, would those changes fix this ?
Is there any chance we could get an open-source minimal implementation of a fastRPC SDK using
the open-source Hexagon LLVM like we have for the AIC100 ?
It would definitely help validating the upstream fastRPC implementation.

Thanks,
Neil


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(-)