From: Hans de Goede <hdegoede@redhat.com>
To: Ricardo Ribalda <ribalda@chromium.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH v6 0/5] media: uvcvideo: Two +1 fixes for async controls
Date: Mon, 9 Dec 2024 12:01:16 +0100 [thread overview]
Message-ID: <e3316372-d109-4d2e-ad2b-8989babdf546@redhat.com> (raw)
In-Reply-To: <20241203-uvc-fix-async-v6-0-26c867231118@chromium.org>
Hi,
On 3-Dec-24 10:20 PM, Ricardo Ribalda wrote:
> This patchset fixes two +1 bugs with the async controls for the uvc driver.
>
> They were found while implementing the granular PM, but I am sending
> them as a separate patches, so they can be reviewed sooner. They fix
> real issues in the driver that need to be taken care.
>
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Ricardo, Thank you for your patches.
I have merged patches 1-4 into:
https://gitlab.freedesktop.org/linux-media/users/uvc/-/commits/next/
now.
Regards,
Hans
> ---
> Changes in v6:
> - Swap order of patches
> - Use uvc_ctrl_set_handle again
> - Move loaded=0 to uvc_ctrl_status_event()
> - Link to v5: https://lore.kernel.org/r/20241202-uvc-fix-async-v5-0-6658c1fe312b@chromium.org
>
> Changes in v5:
> - Move set handle to the entity_commit
> - Replace uvc_ctrl_set_handle with get/put_handle.
> - Add a patch to flush the cache of async controls.
> - Link to v4: https://lore.kernel.org/r/20241129-uvc-fix-async-v4-0-f23784dba80f@chromium.org
>
> Changes in v4:
> - Fix implementation of uvc_ctrl_set_handle.
> - Link to v3: https://lore.kernel.org/r/20241129-uvc-fix-async-v3-0-ab675ce66db7@chromium.org
>
> Changes in v3:
> - change again! order of patches.
> - Introduce uvc_ctrl_set_handle.
> - Do not change ctrl->handle if it is not NULL.
>
> Changes in v2:
> - Annotate lockdep
> - ctrl->handle != handle
> - Change order of patches
> - Move documentation of mutex
> - Link to v1: https://lore.kernel.org/r/20241127-uvc-fix-async-v1-0-eb8722531b8c@chromium.org
>
> ---
> Ricardo Ribalda (5):
> media: uvcvideo: Only save async fh if success
> media: uvcvideo: Remove redundant NULL assignment
> media: uvcvideo: Remove dangling pointers
> media: uvcvideo: Annotate lock requirements for uvc_ctrl_set
> media: uvcvideo: Flush the control cache when we get an event
>
> drivers/media/usb/uvc/uvc_ctrl.c | 83 ++++++++++++++++++++++++++++++++++------
> drivers/media/usb/uvc/uvc_v4l2.c | 2 +
> drivers/media/usb/uvc/uvcvideo.h | 9 ++++-
> 3 files changed, 82 insertions(+), 12 deletions(-)
> ---
> base-commit: 291a8d98186f0a704cb954855d2ae3233971f07d
> change-id: 20241127-uvc-fix-async-2c9d40413ad8
>
> Best regards,
next prev parent reply other threads:[~2024-12-09 11:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-03 21:20 Ricardo Ribalda
2024-12-03 21:20 ` [PATCH v6 1/5] media: uvcvideo: Only save async fh if success Ricardo Ribalda
2024-12-03 21:20 ` [PATCH v6 2/5] media: uvcvideo: Remove redundant NULL assignment Ricardo Ribalda
2024-12-03 21:20 ` [PATCH v6 3/5] media: uvcvideo: Remove dangling pointers Ricardo Ribalda
2024-12-04 0:10 ` Ricardo Ribalda
2024-12-19 0:19 ` Laurent Pinchart
2024-12-03 21:20 ` [PATCH v6 4/5] media: uvcvideo: Annotate lock requirements for uvc_ctrl_set Ricardo Ribalda
2024-12-03 21:20 ` [PATCH v6 5/5] media: uvcvideo: Flush the control cache when we get an event Ricardo Ribalda
2024-12-09 11:03 ` Hans de Goede
2024-12-09 11:31 ` Ricardo Ribalda
2024-12-09 15:24 ` Hans de Goede
2024-12-19 0:31 ` Laurent Pinchart
2024-12-09 11:01 ` Hans de Goede [this message]
2024-12-19 0:37 ` [PATCH v6 0/5] media: uvcvideo: Two +1 fixes for async controls Laurent Pinchart
2024-12-19 9:27 ` Hans de Goede
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e3316372-d109-4d2e-ad2b-8989babdf546@redhat.com \
--to=hdegoede@redhat.com \
--cc=guennadi.liakhovetski@intel.com \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab+samsung@kernel.org \
--cc=mchehab@kernel.org \
--cc=ribalda@chromium.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®