https://github.com/torvalds/linux
Revision 36f21329d217016f0f212f0752ae595b4a76754d authored by Sarah Sharp on 09 October 2009, 19:28:41 UTC, committed by Greg Kroah-Hartman on 14 October 2009, 21:54:43 UTC
When the EHCI driver falls behind in its scheduling, the active stream's
first empty microframe may be in the past with respect to the current
microframe.  The code attempts to move the starting microframe ("start") N
number of microframes forward, where N is the interval of endpoint.
However, stream->interval is a copy of the endpoint's bInterval, which is
designated in frames for FS devices, and microframes for HS devices.
Convert stream->interval to microframes before using it to move the
starting microframe forward.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent 12148da
History
Tip revision: 36f21329d217016f0f212f0752ae595b4a76754d authored by Sarah Sharp on 09 October 2009, 19:28:41 UTC
USB: ehci: Fix IST boundary checking interval math.
Tip revision: 36f2132
File Mode Size
Kconfig -rw-r--r-- 9.4 KB
Kconfig.debug -rw-r--r-- 1014 bytes
Makefile -rw-r--r-- 1.7 KB
allocpercpu.c -rw-r--r-- 4.8 KB
backing-dev.c -rw-r--r-- 17.4 KB
bootmem.c -rw-r--r-- 19.0 KB
bounce.c -rw-r--r-- 6.5 KB
debug-pagealloc.c -rw-r--r-- 2.5 KB
dmapool.c -rw-r--r-- 12.9 KB
fadvise.c -rw-r--r-- 3.3 KB
failslab.c -rw-r--r-- 1.3 KB
filemap.c -rw-r--r-- 65.1 KB
filemap_xip.c -rw-r--r-- 11.0 KB
fremap.c -rw-r--r-- 6.7 KB
highmem.c -rw-r--r-- 11.2 KB
hugetlb.c -rw-r--r-- 63.0 KB
hwpoison-inject.c -rw-r--r-- 988 bytes
init-mm.c -rw-r--r-- 538 bytes
internal.h -rw-r--r-- 7.2 KB
kmemcheck.c -rw-r--r-- 2.8 KB
kmemleak-test.c -rw-r--r-- 3.3 KB
kmemleak.c -rw-r--r-- 47.4 KB
ksm.c -rw-r--r-- 45.2 KB
maccess.c -rw-r--r-- 1.4 KB
madvise.c -rw-r--r-- 11.0 KB
memcontrol.c -rw-r--r-- 79.4 KB
memory-failure.c -rw-r--r-- 22.6 KB
memory.c -rw-r--r-- 91.4 KB
memory_hotplug.c -rw-r--r-- 20.9 KB
mempolicy.c -rw-r--r-- 61.4 KB
mempool.c -rw-r--r-- 8.9 KB
migrate.c -rw-r--r-- 26.3 KB
mincore.c -rw-r--r-- 5.7 KB
mlock.c -rw-r--r-- 16.3 KB
mm_init.c -rw-r--r-- 3.7 KB
mmap.c -rw-r--r-- 64.8 KB
mmu_context.c -rw-r--r-- 1.3 KB
mmu_notifier.c -rw-r--r-- 8.7 KB
mmzone.c -rw-r--r-- 1.8 KB
mprotect.c -rw-r--r-- 7.7 KB
mremap.c -rw-r--r-- 11.6 KB
msync.c -rw-r--r-- 2.4 KB
nommu.c -rw-r--r-- 45.7 KB
oom_kill.c -rw-r--r-- 16.4 KB
page-writeback.c -rw-r--r-- 36.4 KB
page_alloc.c -rw-r--r-- 138.8 KB
page_cgroup.c -rw-r--r-- 10.2 KB
page_io.c -rw-r--r-- 3.4 KB
page_isolation.c -rw-r--r-- 3.6 KB
pagewalk.c -rw-r--r-- 3.2 KB
percpu.c -rw-r--r-- 60.8 KB
prio_tree.c -rw-r--r-- 6.3 KB
quicklist.c -rw-r--r-- 2.4 KB
readahead.c -rw-r--r-- 14.9 KB
rmap.c -rw-r--r-- 34.7 KB
shmem.c -rw-r--r-- 69.0 KB
shmem_acl.c -rw-r--r-- 4.0 KB
slab.c -rw-r--r-- 116.8 KB
slob.c -rw-r--r-- 17.2 KB
slub.c -rw-r--r-- 112.2 KB
sparse-vmemmap.c -rw-r--r-- 4.3 KB
sparse.c -rw-r--r-- 16.3 KB
swap.c -rw-r--r-- 12.9 KB
swap_state.c -rw-r--r-- 10.4 KB
swapfile.c -rw-r--r-- 55.5 KB
thrash.c -rw-r--r-- 1.9 KB
truncate.c -rw-r--r-- 15.6 KB
util.c -rw-r--r-- 6.5 KB
vmalloc.c -rw-r--r-- 59.4 KB
vmscan.c -rw-r--r-- 80.4 KB
vmstat.c -rw-r--r-- 22.1 KB

back to top