mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: uvcvideo: Followup hwtimestamp patches
@ 2024-06-10 19:17 Ricardo Ribalda
  2024-06-10 19:17 ` [PATCH 1/2] media: uvcvideo: Fix hw timestamp handling for slow FPS Ricardo Ribalda
  2024-06-10 19:17 ` [PATCH 2/2] media: uvcvideo: Fix integer overflow calculating timestamp Ricardo Ribalda
  0 siblings, 2 replies; 5+ messages in thread
From: Ricardo Ribalda @ 2024-06-10 19:17 UTC (permalink / raw)
  To: Laurent Pinchart, Mauro Carvalho Chehab
  Cc: Hans Verkuil, linux-media, linux-kernel, Ricardo Ribalda,
	HungNien Chen, Sergey Senozhatsky, Tomasz Figa, stable

The series 
https://patchwork.linuxtv.org/project/linux-media/list/?series=12485
was all merged but one patch that Laurent found a bug in the index used.

When I tried the fixed patch I found an integer overflow in the
timestamp calculations. This bug can be triggered with slow framerates.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (2):
      media: uvcvideo: Fix hw timestamp handling for slow FPS
      media: uvcvideo: Fix integer overflow calculating timestamp

 drivers/media/usb/uvc/uvc_video.c | 33 ++++++++++++++++++++++++++++-----
 drivers/media/usb/uvc/uvcvideo.h  |  1 +
 2 files changed, 29 insertions(+), 5 deletions(-)
---
base-commit: ef1e48f725d30cb18d3f2d40c48f50f483080cf7
change-id: 20240610-hwtimestamp-followup-2489c5668b21

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>


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

end of thread, other threads:[~2024-06-16 23:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-10 19:17 [PATCH 0/2] media: uvcvideo: Followup hwtimestamp patches Ricardo Ribalda
2024-06-10 19:17 ` [PATCH 1/2] media: uvcvideo: Fix hw timestamp handling for slow FPS Ricardo Ribalda
2024-06-16 23:28   ` Laurent Pinchart
2024-06-10 19:17 ` [PATCH 2/2] media: uvcvideo: Fix integer overflow calculating timestamp Ricardo Ribalda
2024-06-16 23:30   ` Laurent Pinchart

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®