All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: Jai Luthra <jai.luthra@ideasonboard.com>,
	Stefan Wahren <wahrenst@gmx.net>,
	Dave Stevenson <dave.stevenson@raspberrypi.com>,
	Phil Elwell <phil@raspberrypi.com>,
	Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>,
	bcm-kernel-feedback-list@broadcom.com
Cc: Martin Wetterwald <martin@wetterwald.eu>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Kieran Bingham <kieran.bingham@ideasonboard.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	linux-rpi-kernel@lists.infradead.org,
	linux-media@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v5 01/11] platform/raspberrypi: vchiq-mmal: Reset buffers_with_vpu on port_enable
Date: Fri, 13 Nov 2026 19:28:16 -0800	[thread overview]
Message-ID: <fbf90cda-d622-4cb6-b576-9576800534fa@broadcom.com> (raw)
In-Reply-To: <20261112-b4-vc-sm-cma-v5-1-d25e3b687e71@ideasonboard.com>



On 11/12/2026 3:17 AM, Jai Luthra wrote:
> From: Dave Stevenson <dave.stevenson@raspberrypi.com>
> 
> Should we go through the timeout failure case with port_disable
> not returning all buffers for whatever reason, the
> buffers_with_vpu counter gets left at a non-zero value, which
> will cause reference counting issues should the instance be
> reused.
> 
> Reset the count when the port is enabled again, but before
> any buffers have been sent to the VPU.
> 
> Fixes: 70ec64ccdaac ("staging: bcm2835-camera: Ensure all buffers are returned on disable")
> Cc: stable@vger.kernel.org
> Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
> Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, 
thanks!
-- 
Florian


  reply	other threads:[~2026-11-14  3:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 11:17 [PATCH v5 00/11] platform/raspberrypi: Support vc-sm-cma and prepare for bcm2835-isp driver Jai Luthra
2026-11-12 11:17 ` [PATCH v5 01/11] platform/raspberrypi: vchiq-mmal: Reset buffers_with_vpu on port_enable Jai Luthra
2026-11-14  3:28   ` Florian Fainelli [this message]
2026-11-12 11:18 ` [PATCH v5 02/11] platform/raspberrypi: vchiq: Store audio device in driver management struct Jai Luthra
2026-11-14  3:28   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 03/11] platform/raspberrypi: Add VideoCore shared memory support Jai Luthra
2026-11-14  3:28   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 04/11] platform/raspberrypi: vchiq-mmal: Use vc-sm-cma to support zero copy Jai Luthra
2026-11-12 11:18 ` [PATCH v5 05/11] platform/raspberrypi: vchiq-mmal: Support sending data to MMAL ports Jai Luthra
2026-11-12 11:18 ` [PATCH v5 06/11] platform/raspberrypi: vchiq: Register vc-sm-cma as a platform driver Jai Luthra
2026-11-14  3:25   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 07/11] platform/raspberrypi: vchiq-mmal: Include missing headers Jai Luthra
2026-11-14  3:26   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 08/11] platform/raspberrypi: vchiq-mmal: Move headers to include/linux Jai Luthra
2026-11-14  3:26   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 09/11] platform/raspberrypi: vchiq-mmal: Support ISP parameters and stats Jai Luthra
2026-11-14  3:26   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 10/11] platform/raspberrypi: vchiq-mmal: Support bayer and gray formats Jai Luthra
2026-11-14  3:26   ` Florian Fainelli
2026-11-12 11:18 ` [PATCH v5 11/11] platform/raspberrypi: vchiq: Add helpers for vchiq driver data Jai Luthra
2026-11-14  3:26   ` Florian Fainelli

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=fbf90cda-d622-4cb6-b576-9576800534fa@broadcom.com \
    --to=florian.fainelli@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jai.luthra@ideasonboard.com \
    --cc=kernel-list@raspberrypi.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=martin@wetterwald.eu \
    --cc=phil@raspberrypi.com \
    --cc=stable@vger.kernel.org \
    --cc=wahrenst@gmx.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.