[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251128103428.1119696-1-ekansh.gupta@oss.qualcomm.com>
Date: Fri, 28 Nov 2025 16:04:26 +0530
From: Ekansh Gupta <ekansh.gupta@....qualcomm.com>
To: srini@...nel.org, linux-arm-msm@...r.kernel.org
Cc: gregkh@...uxfoundation.org, quic_bkumar@...cinc.com,
linux-kernel@...r.kernel.org, quic_chennak@...cinc.com,
dri-devel@...ts.freedesktop.org, arnd@...db.de,
dmitry.baryshkov@....qualcomm.com
Subject: [PATCH v2 0/2] misc: fastrpc: Refactor and add userspace buffer support
This series improves the FastRPC driver by first refactoring mmap and
munmap logic into helper functions, and then adding support for mapping
userspace-allocated buffers to the DSP.
Patch 1 introduces helper functions for DSP-side operations, improving
code readability and preparing for future enhancements. Patch 2 builds
on this by enabling applications to share memory allocated in userspace
(via rpcmem or DMABUF) with the DSP through SMMU, improving flexibility
and performance.
No functional changes are introduced in the first patch; the second
patch adds the new feature.
Patch [v1]: https://lore.kernel.org/all/20250704083726.1901705-1-ekansh.gupta@oss.qualcomm.com/
Changes in v2:
- Split change into meaningful patches.
- Replaced uintptr_t with u64.
- Fixed commit message.
Ekansh Gupta (2):
misc: fastrpc: Refactor mmap and munmap logic into helper functions
misc: fastrpc: Support mapping userspace-allocated buffers
drivers/misc/fastrpc.c | 190 ++++++++++++++++++++++++++++++++---------
1 file changed, 151 insertions(+), 39 deletions(-)
--
2.34.1
Powered by blists - more mailing lists