Searched hist:224498 (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/sys/dev/ahci/ | ||
H A D | ahci.h | diff 224498 Fri Jul 29 18:50:52 MDT 2011 mav In some cases, at least on Marvell 88SE912x controllers, Current Command Slot field of the PxCMD register may point to an empty command slot. That breaks command timeout detection logic, making impossible to find what command actually caused timeout, and leading to infinite wait. Workaround that by checking whether pointed command slot is really used and can timeout in its time. And if not, fallback to the dumb algorithm used with FBS -- let all commands to time out and then fail all of them. Approved by: re (kib) MFC after: 1 week |
H A D | ahci.c | diff 224498 Fri Jul 29 18:50:52 MDT 2011 mav In some cases, at least on Marvell 88SE912x controllers, Current Command Slot field of the PxCMD register may point to an empty command slot. That breaks command timeout detection logic, making impossible to find what command actually caused timeout, and leading to infinite wait. Workaround that by checking whether pointed command slot is really used and can timeout in its time. And if not, fallback to the dumb algorithm used with FBS -- let all commands to time out and then fail all of them. Approved by: re (kib) MFC after: 1 week |
Completed in 121 milliseconds