diff options
author | sam <sam@FreeBSD.org> | 2008-03-20 16:19:25 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-03-20 16:19:25 +0000 |
commit | 1906c8de600574d9fb77a2d5760a9f09bd2fe6d5 (patch) | |
tree | 52505d59404b1e19473df0d19c16200000764b76 /sys/compat/linux/linux_futex.c | |
parent | de73f6b678cf8f5836987c1992865893e3db34f9 (diff) | |
download | FreeBSD-src-1906c8de600574d9fb77a2d5760a9f09bd2fe6d5.zip FreeBSD-src-1906c8de600574d9fb77a2d5760a9f09bd2fe6d5.tar.gz |
Workaround design botch in usb: blindly mixing bus_dma with PIO does not
work on architectures with a write-back cache as the PIO writes end up
in the cache which the sync(BUS_DMASYNC_POSTREAD) in usb_transfer_complete
then discards; compensate in the xfer methods that do PIO by pushing the
writes out of the cache before usb_transfer_complete is called.
This fixes USB on xscale and likely other places.
Sponsored by: hobnob
Reviewed by: cognet, imp
MFC after: 1 month
Diffstat (limited to 'sys/compat/linux/linux_futex.c')
0 files changed, 0 insertions, 0 deletions