#
4cca1530 |
| 02-Feb-2010 |
Alexander Motin <mav@FreeBSD.org> |
- Give ATA/SATA SIMs info about ATAPI packet size, supported by device. - Make ATA XPT to reject longer SCSI CDBs then supported by device, or any SCSI CDBs, if device doesn't support ATAPI.
|
#
ed70cffd |
| 29-Jan-2010 |
Alexander Motin <mav@FreeBSD.org> |
Reset port on disconnect event, to abort any running requests.
|
#
83c5d981 |
| 28-Jan-2010 |
Alexander Motin <mav@FreeBSD.org> |
MFp4: Large set of CAM inprovements.
- Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows to remove duplicate code from many
MFp4: Large set of CAM inprovements.
- Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows to remove duplicate code from many drivers. - Any bus, attached before CAM completed it's boot-time initialization, will equally join to the process, delaying boot if needed. - New kern.cam.boot_delay loader tunable should help controllers that are still unable to register their buses in time (such as slow USB/ PCCard/ CardBus devices), by adding one more event to wait on boot. - To allow synchronization between different CAM levels, concept of requests priorities was extended. Priorities now split between several "run levels". Device can be freezed at specified level, allowing higher priority requests to pass. For example, no payload requests allowed, until PMP driver enable port. ATA XPT negotiate transfer parameters, periph driver configure caching and so on. - Frozen requests are no more counted by request allocation scheduler. It fixes deadlocks, when frozen low priority payload requests occupying slots, required by higher levels to manage theit execution. - Two last changes were holding proper ATA reinitialization and error recovery implementation. Now it is done: SATA controllers and Port Multipliers now implement automatic hot-plug and should correctly recover from timeouts and bus resets. - Improve SCSI error recovery for devices on buses without automatic sense reporting, such as ATAPI or USB. For example, it allows CAM to wait, while CD drive loads disk, instead of immediately return error status. - Decapitalize diagnostic messages and make them more readable and sensible. - Teach PMP driver to limit maximum speed on fan-out ports. - Make boot wait for PMP scan completes, and make rescan more reliable. - Fix pass driver, to return CCB to user level in case of error. - Increase number of retries in cd driver, as device may return several UAs.
show more ...
|
#
6c35bbee |
| 19-Jan-2010 |
Alexander Motin <mav@FreeBSD.org> |
MFC r201222: Usually these controllers are able to automatically decode command code to get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As
MFC r201222: Usually these controllers are able to automatically decode command code to get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As soon as this info any way provided by CAM, give controller specific instructions.
show more ...
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|
#
723bd8c6 |
| 29-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
Usually these controllers are able to automatically decode command code to get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As soon as this
Usually these controllers are able to automatically decode command code to get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As soon as this info any way provided by CAM, give controller specific instructions.
show more ...
|
#
67c3bd26 |
| 09-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r200223: Explicitly acknowledge MSI completion, as required by SiI3124 datasheet. It makes MSI working there. Later (and cheaper) PCIe chips (3132/3531) still randomly crashing system in few seco
MFC r200223: Explicitly acknowledge MSI completion, as required by SiI3124 datasheet. It makes MSI working there. Later (and cheaper) PCIe chips (3132/3531) still randomly crashing system in few seconds of high MSI rates, generating something inaporopriate, like NMI or "Fatal trap 30".
show more ...
|
#
0d8f2099 |
| 09-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r200217: SiI3124 has no SNotification register. Handle Asynchronous Notifications there without it as good as possible.
|
#
1535d59d |
| 09-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
Increase Max Read Request Size for PCIe chips from 512 to 1024 bytes. It gives those beasts additional 10% of write bandwidth.
|
#
30053681 |
| 07-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
Explicitly acknowledge MSI completion, as required by SiI3124 datasheet. It makes MSI working there. Later (and cheaper) PCIe chips (3132/3531) still randomly crashing system in few seconds of high M
Explicitly acknowledge MSI completion, as required by SiI3124 datasheet. It makes MSI working there. Later (and cheaper) PCIe chips (3132/3531) still randomly crashing system in few seconds of high MSI rates, generating something inaporopriate, like NMI or "Fatal trap 30".
show more ...
|
#
d095fa04 |
| 07-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
SiI3124 has no SNotification register. Handle Asynchronous Notifications there without it as good as possible.
|
#
03b5c374 |
| 02-Dec-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r199747, r199799, r199821: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision negoti
MFC r199747, r199799, r199821: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision negotiation for both SATA and PATA SIMs. - Make ahci(4) and siis(4) to use submitted maximum tag number, when scheduling requests. It allows to support NCQ on devices with lower tags count then controller supports. - Make PMP driver to report attached devices connection speeds. - Implement ATA mode negotiation between user settings, device and controller capabilities. - Improve ATA mode/SATA revision control.
show more ...
|
#
b447e682 |
| 26-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFp4: Improve ATA mode/SATA revision control.
|
#
c8039fc6 |
| 24-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFp4: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision negotiation for both SATA and P
MFp4: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision negotiation for both SATA and PATA SIMs. - Make ahci(4) and siis(4) to use submitted maximum tag number, when scheduling requests. It allows to support NCQ on devices with lower tags count then controller supports. - Make PMP driver to report attached devices connection speeds. - Implement ATA mode negotiation between user settings, device and controller capabilities.
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
7c1a88d4 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r199333: Do not require payload data to be aligned. It is not mentioned in datasheet and works fine in practice.
|
#
99695a07 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r199178: - Move tagged queueing control from ADA to ATA XPT. It allows to control device command queue length correctly. First step to support < 32 tags. - Limit queue for non-tagged devices by
MFC r199178: - Move tagged queueing control from ADA to ATA XPT. It allows to control device command queue length correctly. First step to support < 32 tags. - Limit queue for non-tagged devices by 2 slots for ahci(4) and siis(4). - Implement quirk matching for ATA devices. - Move xpt_schedule_dev_sendq() from header to source file. - Move delayed queue shrinking to the more expected place - element freeing. - Remove some SCSIsms in ATA.
show more ...
|
#
f629df57 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r199132: Organize device IDs and add some more of them.
|
#
ecc2f2f4 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r198896: Do not unarm callout on request completion and change slot selection algorithm as done in ahci(4). This saves some CPU time on high request rates.
|
#
d54c3c63 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r198852: - Rework timeout handling, to make it more graceful for devices sharing controller port (with PMP). Wait for other commands completion/timeout before initiating recovery. - Handle timeou
MFC r198852: - Rework timeout handling, to make it more graceful for devices sharing controller port (with PMP). Wait for other commands completion/timeout before initiating recovery. - Handle timeouts and fatal errors with port hard-reset. The rest of recovery will be done by XPT on receiving async event. More gracefull per-device soft-reset recovery can be implemented later.
show more ...
|
#
e587ad07 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r198426: Reimplement device reset sequence in more controller-specific way.
|
#
2ab5a453 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r198321 Freeze device queue on error to permit periph driver to do proper recovery.
|
#
01007372 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r197838: On command timeout handle frozen command first, to not run it inside XXX_end_transaction().
|
#
db581aa0 |
| 17-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
MFC r198322: Report real max_target = 15. SIM doesn't need to know that target 15 is PMP. It is XPT business.
|
#
5319fb62 |
| 16-Nov-2009 |
Alexander Motin <mav@FreeBSD.org> |
Do not require payload data to be aligned. It is not mentioned in datasheet and works fine in practice.
|
#
874108ae |
| 12-Nov-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
MFC @199204
|