Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-10] src/sys/dev/usb
Module Name: src
Committed By: martin
Date: Tue Feb 6 12:18:56 UTC 2024
Modified Files:
src/sys/dev/usb [netbsd-10]: ehci.c ehcireg.h
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #585):
sys/dev/usb/ehcireg.h: revision 1.38
sys/dev/usb/ehci.c: revision 1.321
Fix DMA sync flags in ehci_append_sqtd
Ensure proper alignment/padding of EHCI hardware descriptors.
These descriptor structs are embedded in structs that contain additional
context for software. With a non cache coherent device and non-padded
descriptors, the device may issue a read/modify/write past the end of
the descriptor, clobbering software state in the process. This was the
root cause of multiple crashes on evbppc with a non cache coherent EHCI.
To generate a diff of this commit:
cvs rdiff -u -r1.315.2.2 -r1.315.2.3 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.37 -r1.37.50.1 src/sys/dev/usb/ehcireg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index