From: Greg KH <gregkh@linuxfoundation.org>
To: Bhupesh SHARMA <bhupesh.sharma@st.com>
Cc: "balbi@ti.com" <balbi@ti.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"laurent.pinchart@ideasonboard.com"
<laurent.pinchart@ideasonboard.com>,
spear-devel <spear-devel@list.st.com>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: [PATCH] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine
Date: Fri, 23 Mar 2012 07:57:05 -0700 [thread overview]
Message-ID: <20120323145705.GC11617@kroah.com> (raw)
In-Reply-To: <D5ECB3C7A6F99444980976A8C6D896384FA2E26B3C@EAPEX1MAIL1.st.com>
On Fri, Mar 23, 2012 at 05:31:19PM +0800, Bhupesh SHARMA wrote:
> Hi Felipe,
>
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@linuxfoundation.org]
> > Sent: Thursday, March 22, 2012 8:11 PM
> > To: Bhupesh SHARMA
> > Cc: linux-usb@vger.kernel.org; laurent.pinchart@ideasonboard.com;
> > spear-devel; linux-media@vger.kernel.org
> > Subject: Re: [PATCH] usb: gadget/uvc: Remove non-required locking from
> > 'uvc_queue_next_buffer' routine
> >
> > On Thu, Mar 22, 2012 at 10:20:37AM +0530, Bhupesh Sharma wrote:
> > > This patch removes the non-required spinlock acquire/release calls on
> > > 'queue_irqlock' from 'uvc_queue_next_buffer' routine.
> > >
> > > This routine is called from 'video->encode' function (which
> > translates to either
> > > 'uvc_video_encode_bulk' or 'uvc_video_encode_isoc') in 'uvc_video.c'.
> > > As, the 'video->encode' routines are called with 'queue_irqlock'
> > already held,
> > > so acquiring a 'queue_irqlock' again in 'uvc_queue_next_buffer'
> > routine causes
> > > a spin lock recursion.
> > >
> > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@st.com>
> > > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > > ---
> > > drivers/usb/gadget/uvc_queue.c | 4 +---
> > > 1 files changed, 1 insertions(+), 3 deletions(-)
> >
> > Please use scripts/get_maintainer.pl to determine who to send this to
> > (hint, it's not me...)
> >
>
> Can you please pick this USB webcam gadget/peripheral specific patch
> in your tree?
You didn't put the patch in your request. Hint, just resend it with the
proper information, digging patches out of old email threads is a major
pain when you are dealing with the patch load kernel maintainers do.
thanks,
greg k-h
prev parent reply other threads:[~2012-03-23 14:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 4:50 [PATCH] usb: gadget/uvc: Remove non-required locking from 'uvc_queue_next_buffer' routine Bhupesh Sharma
2012-03-22 12:35 ` Sergei Shtylyov
2012-03-22 14:40 ` Greg KH
2012-03-23 9:31 ` Bhupesh SHARMA
2012-03-23 10:00 ` Laurent Pinchart
2012-03-23 11:16 ` Bhupesh SHARMA
2012-03-23 14:57 ` Greg KH [this message]
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=20120323145705.GC11617@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=balbi@ti.com \
--cc=bhupesh.sharma@st.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=spear-devel@list.st.com \
/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.