All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Greg KH (gregkh@linuxfoundation.org)" <gregkh@linuxfoundation.org>
To: "Schmid, Carsten" <Carsten_Schmid@mentor.com>
Cc: USB list <linux-usb@vger.kernel.org>,
	Mathias Nyman <mathias.nyman@linux.intel.com>
Subject: Re: [PATCH for 4.14] xhci: add xhci_get_virt_ep() helper
Date: Mon, 26 Jul 2021 11:19:53 +0200	[thread overview]
Message-ID: <YP5+ORjnkKnwWRrt@kroah.com> (raw)
In-Reply-To: <3c42fbd4599a4a3e8b065418592973d9@SVR-IES-MBX-03.mgc.mentorg.com>

On Mon, Jul 26, 2021 at 09:11:30AM +0000, Schmid, Carsten wrote:
> From 804d2db49c8db94ff4652f13826a2c74dac33941 Mon Sep 17 00:00:00 2001
> From: Mathias Nyman <mathias.nyman@linux.intel.com>
> Date: Fri, 29 Jan 2021 15:00:22 +0200
> Subject: [PATCH] xhci: add xhci_get_virt_ep() helper
> 
> [commit b1adc42d440df3233255e313a45ab7e9b2b74096 upstream]
> 
> In several event handlers we need to find the right endpoint
> structure from slot_id and ep_index in the event.
> 
> Add a helper for this, check that slot_id and ep_index are valid.
> 
> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
> Link: https://lore.kernel.org/r/20210129130044.206855-6-mathias.nyman@linux.intel.com
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Carsten Schmid <carsten_schmid@mentor.com>
> ---
> Rationale:
> From mail thread " Possible race in 4.14 xhci stack"
> Searched for fix that Mathias Nyman mentioned.
> Fix didn't apply on 4.14 directly, needed some small adaption.
> Result provided here.
> @Greg: Patch is for 4.14, not tested if applies on other kernels.

I can not just apply this to 4.14, it also needs to go into 4.19 and 5.4
and 5.10 as you can not upgrade to a newer kernel and get a regression,
right?

Can you also provide patches for those kernels as well so that I can
take this one?

And also, you forgot to cc: the stable@vger.kernel.org mailing list :(

thanks,

greg k-h

  reply	other threads:[~2021-07-26  9:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26  9:11 [PATCH for 4.14] xhci: add xhci_get_virt_ep() helper Schmid, Carsten
2021-07-26  9:19 ` Greg KH (gregkh@linuxfoundation.org) [this message]
2021-07-26  9:32   ` Schmid, Carsten
2021-07-26 10:05 ` Greg KH (gregkh@linuxfoundation.org)
2021-07-26 10:13   ` Schmid, Carsten
2021-07-26 10:16     ` Greg KH (gregkh@linuxfoundation.org)
2021-07-26 12:22       ` Schmid, Carsten
2021-07-26 12:26         ` Felipe Balbi
2021-07-26 12:51           ` Greg KH (gregkh@linuxfoundation.org)
2021-07-26 12:59         ` Greg KH (gregkh@linuxfoundation.org)

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=YP5+ORjnkKnwWRrt@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Carsten_Schmid@mentor.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.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.