mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add missing fixes to FastRPC driver
@ 2025-08-06 11:51 Ling Xu
  2025-08-06 11:51 ` [PATCH v2 1/4] misc: fastrpc: Save actual DMA size in fastrpc_map structure Ling Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ling Xu @ 2025-08-06 11:51 UTC (permalink / raw)
  To: srini, amahesh, arnd, gregkh, sumit.semwal, christian.koenig,
	thierry.escande, quic_vgattupa
  Cc: quic_kuiw, ekansh.gupta, dri-devel, linux-arm-msm, linux-media,
	linaro-mm-sig, linux-kernel, Ling Xu

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 buf for map lookup.
- Fix possible map leak in fastrpc_put_args.
- Skip refcount increment for DMA handles.
Patch [v1]: https://lore.kernel.org/all/20240822105933.2644945-1-quic_ekangupt@quicinc.com/

Changes in v2:
  - Fix possible map leak in fastrpc_put_args.
  - Remove take_ref argument.

Ling Xu (4):
  misc: fastrpc: Save actual DMA size in fastrpc_map structure
  misc: fastrpc: Fix fastrpc_map_lookup operation
  misc: fastrpc: fix possible map leak in fastrpc_put_args
  misc: fastrpc: Skip reference for DMA handles

 drivers/misc/fastrpc.c | 88 ++++++++++++++++++++++++++++--------------
 1 file changed, 58 insertions(+), 30 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-06 23:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-06 11:51 [PATCH v2 0/4] Add missing fixes to FastRPC driver Ling Xu
2025-08-06 11:51 ` [PATCH v2 1/4] misc: fastrpc: Save actual DMA size in fastrpc_map structure Ling Xu
2025-08-06 11:51 ` [PATCH v2 2/4] misc: fastrpc: Fix fastrpc_map_lookup operation Ling Xu
2025-08-06 11:51 ` [PATCH v2 3/4] misc: fastrpc: fix possible map leak in fastrpc_put_args Ling Xu
2025-08-06 11:51 ` [PATCH v2 4/4] misc: fastrpc: Skip reference for DMA handles Ling Xu
2025-08-06 23:19   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®