• S
    xhci: Add Intel U1/U2 timeout policy. · e3567d2c
    Sarah Sharp 提交于
    All Intel xHCI host controllers support USB 3.0 Link Power Management.
    
    The Panther Point xHCI host controller needs the xHCI driver to
    calculate the U1 and U2 timeout values, because it will blindly accept a
    MEL that would cause scheduling issues.
    
    The Lynx Point xHCI host controller will reject MEL values that are too
    high, but internally it implements the same algorithm that is needed for
    Panther Point xHCI.
    
    Simplify the code paths by just having the xHCI driver calculate what
    the U1/U2 timeouts should be.  Comments on the policy are in the code.
    Signed-off-by: NSarah Sharp <sarah.a.sharp@linux.intel.com>
    e3567d2c
xhci.c 136.2 KB