This patch series adds the listed features that have been missing in upstream fastRPC driver. - Add missing bug fixes. - Add static PD restart support for audio and sensors PD using PDR framework. - Redesign and improve remote heap management. - Add fixes for unsigned PD. Unsigned PD can be enabled using userspace API: https://git.codelinaro.org/linaro/qcomlt/fastrpc/-/blob/master/src/fastrpc_apps_user.c?ref_type=heads#L1173 - Add check for untrusted applications and allow trusted processed to offload to system unsigned PD. https://git.codelinaro.org/srinivas.kandagatla/fastrpc-qcom/-/commit/dfd073681d6a02efa080c5066546ff80c609668a Changes in v2: - Added separate patch to add newlines in dev_err. - Added a bug fix in fastrpc capability function. - Added a new patch to save and restore interrupted context. - Fixed config dependency for PDR support. Changes in v3: - Dropped interrupted context patch. - Splitted few of the bug fix patches. - Added Fixes tag wherever applicable. - Updated proper commit message for few of the patches. Ekansh Gupta (9): misc: fastrpc: Add missing dev_err newlines misc: fastrpc: Fix DSP capabilities request misc: fastrpc: Fix memory corruption in DSP capabilities misc: fastrpc: Add static PD restart support misc: fastrpc: Redesign remote heap management misc: fastrpc: Fix unsigned PD support misc: fastrpc: Restrict untrusted app to attach to privileged PD misc: fastrpc: Restrict untrusted app to spawn signed PD misc: fastrpc: Add system unsigned PD support drivers/misc/Kconfig | 2 + drivers/misc/fastrpc.c | 635 +++++++++++++++++++++++++++++------- include/uapi/misc/fastrpc.h | 2 + 3 files changed, 526 insertions(+), 113 deletions(-) -- 2.43.0