diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 20:58:09 +0900 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 20:58:09 +0900 |
commit | e318049949b07152d851dbfebbd93e560af45ebe (patch) | |
tree | cbc322c94717c9ac5d7e2c48a9f690a2e0145b81 /scripts/makelst | |
parent | 7b70fc039824bc7303e4007a5f758f832de56611 (diff) |
[PATCH] libata-eh-fw: implement freeze/thaw
Freezing is performed atomic w.r.t. host_set->lock and once frozen
LLDD is not allowed to access the port or any qc on it. Also, libata
makes sure that no new qc gets issued to a frozen port.
A frozen port is thawed after a reset operation completes
successfully, so reset methods must do its job while the port is
frozen. During initialization all ports get frozen before requesting
IRQ, so reset methods are always invoked on a frozen port.
Optional ->freeze and ->thaw operations notify LLDD that the port is
being frozen and thawed, respectively. LLDD can disable/enable
hardware interrupt in these callbacks if the controller's IRQ mask can
be changed dynamically. If the controller doesn't allow such
operation, LLDD can check for frozen state in the interrupt handler
and ack/clear interrupts unconditionally while frozen.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'scripts/makelst')
0 files changed, 0 insertions, 0 deletions