Skip to content

misc: fastrpc: Add invokeV2 to support new features

Ekansh Gupta dri-devel linux-arm-msm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 19 repliesIn review
  2. v14 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Moved context specific pointers under invoke_ctx structure to avoid code duplicacy.
- Separated userspace and kernel data structures.
- Changed design to address existing problems.
- Added checks for reserved bits.
- Dropped performance counter changes for now. I will rework and rework and submit it separately.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5misc: fastrpc: Move fdlist to invoke context structuredrivers/misc/fastrpc.c+5 -111 reply
2/5misc: fastrpc: Introduce context params structuredrivers/misc/fastrpc.c+117 -213 replies
3/5misc: fastrpc: Add CRC support using invokeV2 requestdrivers/misc/fastrpc.c include/uapi/misc/fastrpc.h+70 -151 reply
4/5misc: fastrpc: Add polling mode support for fastRPC driverdrivers/misc/fastrpc.c include/uapi/misc/fastrpc.h+114 -119 replies
5/5misc: fastrpc: Modify context id mask to support polling modedrivers/misc/fastrpc.c+4 -45 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchDmitry Baryshkov
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] misc: fastrpc: Add invokeV2 to support new features

This patch series adds the listed features that have been missing in upstream fastRPC driver.

- Add changes to support new enhanced invocation ioctl request.
- Add support for CRC check.
- Add polling mode support.

Userspace change: https://github.com/quic/fastrpc/pull/134
Patch [v1]: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Moved context specific pointers under invoke_ctx structure to avoid code duplicacy.
- Separated userspace and kernel data structures.
- Changed design to address existing problems.
- Added checks for reserved bits.
- Dropped performance counter changes for now. I will rework and rework and submit it separately.

Ekansh Gupta (5):
misc: fastrpc: Move fdlist to invoke context structure
misc: fastrpc: Introduce context params structure
misc: fastrpc: Add CRC support using invokeV2 request
misc: fastrpc: Add polling mode support for fastRPC driver
misc: fastrpc: Modify context id mask to support polling mode

 drivers/misc/fastrpc.c      | 348 ++++++++++++++++++++++++++++++------
 include/uapi/misc/fastrpc.h |   8 +
 2 files changed, 302 insertions(+), 54 deletions(-)
Signature · 1 line
2.34.1