Re: [ 28/52] xHCI: add cmd_ring_state

From: Ben Hutchings
Date: Sat Oct 06 2012 - 20:55:10 EST


On Thu, 2012-10-04 at 14:21 -0700, Greg Kroah-Hartman wrote:
> 3.4-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Elric Fu <elricfu1@xxxxxxxxx>
>
> commit c181bc5b5d5c79b71203cd10cef97f802fb6f9c1 upstream.
>
> Adding cmd_ring_state for command ring. It helps to verify
> the current command ring state for controlling the command
> ring operations.
>
> This patch should be backported to kernels as old as 3.0. The commit

I assume this still needs backporting for 3.0, since it wasn't included
in 3.0.45-rc1.

Ben.

> 7ed603ecf8b68ab81f4c83097d3063d43ec73bb8 "xhci: Add an assertion to
> check for virt_dev=0 bug." papers over the NULL pointer dereference that
> I now believe is related to a timed out Set Address command. This (and
> the four patches that follow it) contain the real fix that also allows
> VIA USB 3.0 hubs to consistently re-enumerate during the plug/unplug
> stress tests.
[...]

--
Ben Hutchings
You can't have everything. Where would you put it?

Attachment: signature.asc
Description: This is a digitally signed message part