mbox series

[v5,0/7] Add missing fixes to FastRPC driver

Message ID 20240611103442.27198-1-quic_ekangupt@quicinc.com
Headers show
Series Add missing fixes to FastRPC driver | expand

Message

Ekansh Gupta June 11, 2024, 10:34 a.m. UTC
This patch series adds the listed bug fixes that have been missing
in upstream fastRPC driver.
- Fix DSP capabilities request.
- Fix issues in audio daemon attach operation.
- Restrict untrusted app to attach to privilegeded PD.

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.

Changes in v4:
- Dropped untrusted process and system unsigned PD patches.
- Updated proper commit message for few of the patches.
- Splitted patches in more meaningful way.
- Added helped functions for fastrpc_req_mmap.

Changes in v5:
- Dropped PDR patch. It will be shared in a separate patch series.
- Dropped fastrpc_req_mmap and remote_heap specific changes from this
  series. These patches will be shared separately as a new patch series.
- Changed patch series subject as this series is no longer carrying any
  new feature changes.

Ekansh Gupta (7):
  misc: fastrpc: Add missing dev_err newlines
  misc: fastrpc: Fix DSP capabilities request
  misc: fastrpc: Copy the complete capability structure to user
  misc: fastrpc: Avoid updating PD type for capability request
  misc: fastrpc: Fix memory leak in audio daemon attach operation
  misc: fastrpc: Fix ownership reassignment of remote heap
  misc: fastrpc: Restrict untrusted app to attach to privileged PD

 drivers/misc/fastrpc.c      | 51 +++++++++++++++++++++++++++----------
 include/uapi/misc/fastrpc.h |  3 +++
 2 files changed, 40 insertions(+), 14 deletions(-)

Comments

Srinivas Kandagatla June 11, 2024, 11:54 a.m. UTC | #1
Thanks for Patches,

Please send the patches in correct order, fixes will follow enhancements.



--srini

On 11/06/2024 11:34, Ekansh Gupta wrote:
> This patch series adds the listed bug fixes that have been missing
> in upstream fastRPC driver.
> - Fix DSP capabilities request.
> - Fix issues in audio daemon attach operation.
> - Restrict untrusted app to attach to privilegeded PD.
> 
> 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.
> 
> Changes in v4:
> - Dropped untrusted process and system unsigned PD patches.
> - Updated proper commit message for few of the patches.
> - Splitted patches in more meaningful way.
> - Added helped functions for fastrpc_req_mmap.
> 
> Changes in v5:
> - Dropped PDR patch. It will be shared in a separate patch series.
> - Dropped fastrpc_req_mmap and remote_heap specific changes from this
>    series. These patches will be shared separately as a new patch series.
> - Changed patch series subject as this series is no longer carrying any
>    new feature changes.
> 
> Ekansh Gupta (7):
>    misc: fastrpc: Add missing dev_err newlines
>    misc: fastrpc: Fix DSP capabilities request
>    misc: fastrpc: Copy the complete capability structure to user
>    misc: fastrpc: Avoid updating PD type for capability request
>    misc: fastrpc: Fix memory leak in audio daemon attach operation
>    misc: fastrpc: Fix ownership reassignment of remote heap
>    misc: fastrpc: Restrict untrusted app to attach to privileged PD
> 
>   drivers/misc/fastrpc.c      | 51 +++++++++++++++++++++++++++----------
>   include/uapi/misc/fastrpc.h |  3 +++
>   2 files changed, 40 insertions(+), 14 deletions(-)
>
Srinivas Kandagatla June 11, 2024, 11:56 a.m. UTC | #2
On Tue, 11 Jun 2024 16:04:33 +0530, Ekansh Gupta wrote:
> This patch series adds the listed bug fixes that have been missing
> in upstream fastRPC driver.
> - Fix DSP capabilities request.
> - Fix issues in audio daemon attach operation.
> - Restrict untrusted app to attach to privilegeded PD.
> 
> 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.
> 
> [...]

Applied, thanks!

[1/7] misc: fastrpc: Add missing dev_err newlines
      commit: 372eb825c2040b81b6c20b8ff662a6a551f236f9

Best regards,