Module Name: src Committed By: riastradh Date: Sun Mar 13 11:29:55 UTC 2022
Modified Files: src/sys/dev/usb: xhci.c Log Message: xhci(4): Restore synchronous abort. In revision 1.155, I made the logic to abort the hardware asynchronous, under the misapprehension that it is necessary for ubm_abortx not to release the bus lock. Not only is this not necessary, but it is harmful to for the logic to be asynchronous because the caller assumes the hardware won't use any DMA buffers by the time ubm_abortx has returned so it is safe to recycle them -- which is false if we don't synchronously wait for the hardware to stop. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/dev/usb/xhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.