| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
active I/O to several disks (copying large file on ZFS) causes timeout after
just a few seconds of run. Single port 88SX6111 seems like not affected.
Skip reading transferred bytes count for these controllers. It works for
88SX6111, but 88SX6145 always returns zero there. Haven't tested others,
but better to be safe.
|
|
|
|
|
|
|
|
|
|
|
| |
- SMBus Controller
- SATA Controller
- HD Audio Controller
- Watchdog Controller
Thanks to Seth Heasley (seth.heasley@intel.com) for providing us code.
MFC after 3 days
|
|
|
|
|
|
| |
- SATA controller
- Watchdog timer
- SMBus controller
|
|
|
|
|
|
|
|
|
|
|
|
| |
These controllers consist of two Marvell 88SE9128 6Gbps SATA chips and
PLX PCIe bridge. As result, they seem to be agree to work with ahci(4)
as usual HBAs. The only noticed issue is that RAID BIOS disables all
drive caches during boot, though `camcontrol cmd ...` is able to fix that.
Those who wants RAID functionality can still use closed proprietary driver
from HighPoint site.
MFC after: 1 week
|
|
|
|
|
|
| |
PR: kern/152926
Submitted by: Mike Tancsa <mike@sentex.net>
MFC after: 1 week
|
|
|
|
| |
Submitted by: Artem Belevich
|
|
|
|
| |
I/O length on underruns, that often happens for some SCSI commands.
|
| |
|
|
|
|
|
|
|
| |
port multiplier some command triggers false positive timeout, but then
completes normally.
MFC after: 2 weeks
|
|
|
|
|
| |
Add Intel Cougar Point PCH SATA Controller DeviceIDs. Correct some existing
entries for Intel Ibex Peak (5 Series/3400 Series) PCH SATA controllers.
|
|
|
|
|
| |
GEOM. This information needed for proper soft-RAID's on-disk metadata
reading and writing.
|
|
|
|
| |
unreliable under load. Linux does the same.
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 4130
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 3424
|
| |
|
| |
|
|
|
|
| |
and reset it on resume.
|
| |
|
|
|
|
|
|
|
| |
- device initiated power management (some devices support only this way);
- Automatic Partial to Slumber Transition (more power saving);
- DMA auto-activation (expected to slightly improve performance).
More features could be added later, when hardware supports.
|
|
|
|
| |
Enforce PMA bit clearing when PMP detached to avoid further scan timeouts.
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
- Do not try to enable CCC if it is not supported.
|
|
|
|
|
|
| |
With FBS enabled, we have no idea what command caused timeout.
Implement same logic as in siis(4) - wait for other commands
complete or timeout and then give some more time.
|
|
|
|
| |
It allows to save a bit more power (about 0.5W on 2 unused ports of ICH8M).
|
|
|
|
|
| |
- Make ATA XPT to reject longer SCSI CDBs then supported by device, or
any SCSI CDBs, if device doesn't support ATAPI.
|
| |
|
|
|
|
|
| |
several devices beyond Port Multiplier to work simultaneously, substantially
increasing performance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
| |
Limit early revisions from 6Gb/s to 3Gb/s by default, or they negotiate
only 1.5Gbps, when 3Gb/s devices connected.
Add dummy driver for PATA part of these controllers, preventing generic
driver attach them. It causes system freeze when SATA controller used after
PATA was touched.
|
|
|
|
|
|
|
| |
register, nVidia chipsets have different oppinion, requiring every interrupt
to be acknowledged there.
While there, add interrupt descriptions in multi-vector MSI mode.
|
| |
|
|
|
|
|
|
| |
causes additional MSIs messages sent if several ports asked for attention
same time. Time window before clearing is not important, as these interrupts
are level triggered by interrupt source.
|
|
|
|
|
| |
capability by snooping SDB FIS receive area. It should be even faster
then regular way, but less reliable.
|
|
|
|
| |
Improve ATA mode/SATA revision control.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
AHCI for some reason, even when declaring so. Let atajmicron configure
them for us and provide PATA support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and Marvell handled. Instead of trying to attach two different drivers to
single device, wrapping each call, make one of them (atajmicron, atamarvell)
attach do device solely, but create child device for AHCI driver,
passing it all required resources. It is quite easy, as none of
resources are shared, except IRQ.
As result, it:
- makes drivers operation more independent and straitforward,
- allows to use new ahci(4) driver with such devices, adding support for
new features, such as PMP and NCQ, same time keeping legacy PATA support,
- will allow to just drop old ataahci driver, when it's time come.
|
|
|
|
| |
Check SNCQ HBA capability bit when reporting NCQ support to CAM.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
Add set of chip IDs, known to support AHCI.
|
|
|
|
|
|
|
| |
- 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.
- Add workaround for ATI SB600/SB700 PMP probe related bug, to speedup boot.
|
|
|
|
| |
ATAPI errors may set IF bit together with TFE.
|
|
|
|
|
| |
Report real max_target = 15. SIM doesn't need to know that target 15 is PMP.
It is XPT business.
|
|
|
|
|
|
|
|
|
|
|
| |
On error, freeze device queue, to allow periph driver to do proper recovery.
Freeze SIM queue only in some cases, when it is needed to protect SIM.
Implement better command timeout detection logic for non-queued commands.
This fixes false positives when command with short timeout waiting for the
long one. For example, when hald tastes CD during burning process.
Read and clear SERR register on interrupt.
|
|
|
|
|
|
| |
XXX_end_transaction().
Submitted by: avg
|
|
|
|
| |
behind other reads.
|
|
|
|
| |
Submitted by: scottl@
|