|
|
Subscribe / Log in / New account

misc: fastrpc: Add invokeV2 to support new features

From:  Ekansh Gupta <quic_ekangupt-AT-quicinc.com>
To:  <srinivas.kandagatla-AT-linaro.org>, <linux-arm-msm-AT-vger.kernel.org>
Subject:  [PATCH v2 0/5] misc: fastrpc: Add invokeV2 to support new features
Date:  Mon, 27 Jan 2025 10:12:34 +0530
Message-ID:  <20250127044239.578540-1-quic_ekangupt@quicinc.com>
Cc:  <gregkh-AT-linuxfoundation.org>, <quic_bkumar-AT-quicinc.com>, <linux-kernel-AT-vger.kernel.org>, <quic_chennak-AT-quicinc.com>, <dri-devel-AT-lists.freedesktop.org>, <arnd-AT-arndb.de>
Archive-link:  Article

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/20241007084518.3649876-1-quic...

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

-- 
2.34.1




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds