mbox series

[v1,0/3] Add missing fixes to FastRPC driver

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

Message

Ekansh Gupta Aug. 22, 2024, 10:59 a.m. UTC
This patch series adds the listed bug fixes that have been missing
in upstream fastRPC driver.
- Store actual size of map and check it against the user passed size.
- Consider map user VA and actual size for map lookup.
- Skip refcount increment for DMA handles.

Ekansh Gupta (3):
  misc: fastrpc: Save actual DMA size in fastrpc_map structure
  misc: fastrpc: Fix fastrpc_map_lookup operation
  misc: fastrpc: Skip reference for DMA handles

 drivers/misc/fastrpc.c | 54 ++++++++++++++++++++++++++++--------------
 1 file changed, 36 insertions(+), 18 deletions(-)