diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-05-18 23:05:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 20:21:30 (GMT) |
commit | bc88d2eba5e19d10dd546e428314909d889b3b6a (patch) | |
tree | 354465451aeaf0d1fd06ec82a44a13509334afa0 /drivers/video/sbuslib.h | |
parent | 1624ae1c19e227096ba85bfc389d9b99cb6f7dde (diff) | |
download | linux-bc88d2eba5e19d10dd546e428314909d889b3b6a.tar.xz |
USB: xhci: Limit bus sg_tablesize to 62 TRBs.
When a scatter-gather list is enqueued to the xHCI driver, it translates
each entry into a transfer request block (TRB). Only 63 TRBs can be
used per ring segment, and there must be one additional TRB reserved to
make sure the hardware does not think the ring is empty (so the enqueue
pointer doesn't equal the dequeue pointer). Limit the bus sg_tablesize
to 62 TRBs.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/video/sbuslib.h')
0 files changed, 0 insertions, 0 deletions