• E
    xHCI: add cmd_ring_state · c181bc5b
    Elric Fu 提交于
    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
    7ed603ec "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.
    Signed-off-by: NElric Fu <elricfu1@gmail.com>
    Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
    Tested-by: NMiroslav Sabljic <miroslav.sabljic@avl.com>
    Cc: stable@vger.kernel.org
    c181bc5b
xhci.c 136.8 KB