Skip to content

Fix privacy issue for MEI CSI

Wentong Wu linux-media 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

1. switch CSI_PRIVACY_ON to notif.cont.cont == CSI_PRIVACY_ON

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: ivsc: csi: don't count privacy on as errordrivers/media/pci/intel/ivsc/mei_csi.c+5 -10 replies
2/3media: ivsc: csi: add separate lock for v4l2 control handlerdrivers/media/pci/intel/ivsc/mei_csi.c+7 -10 replies
3/3media: ivsc: csi: remove privacy status in struct mei_csidrivers/media/pci/intel/ivsc/mei_csi.c+3 -70 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchJason Chen
1/3T-b
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Fix privacy issue for MEI CSI

Currently if starting stream goes with privacy mode on, the whole pipeline will fail because MEI CSI counts privacy mode on as error. In fact, the ongoing MEI command is well executed by firmware as well even if privacy mode is turned on. The status (-1) of command response is just to indicate current privacy on status instead of failed to execute command by firmware. This patch set changes the behavior to notify privacy mode on via v4l2 privacy controlinstead of fail the ongoing MEI command.

This patch set adds one dedicated lock for v4l2 control handler to avoid dead locking issue as well. And the useless privacy status in struct mei_csi is removed to make code clean.

---
v1 -> v2:
1. switch CSI_PRIVACY_ON to notif.cont.cont == CSI_PRIVACY_ON

Wentong Wu (3):
media: ivsc: csi: don't count privacy on as error
media: ivsc: csi: add separate lock for v4l2 control handler
media: ivsc: csi: remove privacy status in struct mei_csi

 drivers/media/pci/intel/ivsc/mei_csi.c | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1