android_kernel_motorola_sm6375/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tejas Prajapati 691ddd437f msm: camera: reqmgr: reader writer locks to avoid memory faults
Shared memory is initialized by CRM and used by
other drivers; with CRM not active other drivers
would fail to access the shared memory if
memory manager is deinit. Reader Writer locks can
prevent the open/close/ioctl calls from other drivers
if CRM open/close is already being processed.

Issue observed with the below sequence if drivers
are opened from UMD directly without this change.
CRM Open successful,ICP open successful,
CRM close in progress, ICP open successful,
mem mgr deinit and CRM close successful,
ICP tries to access HFI memory and result in crash.

This change helps to serialze the calls and prevents
issue.

CRs-Fixed: 3019488
Change-Id: I464411576a5a04f5d0b402c403ce8a1d4df7dad0
Signed-off-by: Tejas Prajapati <quic_tpraja@quicinc.com>
2022-01-07 17:22:12 +05:30
..
cam_cdm msm: camera: cdm: Fix deadlock issue in CDM handle error 2021-11-15 17:08:25 +05:30
cam_core msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_cpas msm: camera: cpas: Support OT enablement through Fuse 2021-08-03 19:16:23 +05:30
cam_cust Revert "Revert "msm: camera: req_mgr: Enhance camera v4l2 subdev shutdown sequence"" 2021-05-09 11:56:02 -07:00
cam_fd msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_icp msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_isp msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_jpeg msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_lrme msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_ope msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_req_mgr msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_sensor_module msm: camera: reqmgr: reader writer locks to avoid memory faults 2022-01-07 17:22:12 +05:30
cam_smmu msm: camera: smmu: Unmap secure buffers in secure camera use case 2021-08-13 16:31:21 +05:30
cam_sync msm: camera: sync: Prevent OOB access of sync name 2021-08-20 07:35:58 +00:00
cam_utils Merge "msm: camera: common: Change judgement condition" into camera-kernel.lnx.4.0 2021-07-21 23:26:06 -07:00
camera_main.c msm: camera: isp: Add support for SFE HW layer in ISP driver 2020-10-06 21:16:33 -07:00
camera_main.h msm: camera: isp: Add support for SFE HW layer in ISP driver 2020-10-06 21:16:33 -07:00
Makefile msm: camera: isp: Add support for SFE HW layer in ISP driver 2020-10-06 21:16:33 -07:00