<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/scsi/libata-scsi.c, branch docs-5.3</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.3</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.3'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2006-08-10T11:31:37+00:00</updated>
<entry>
<title>Move libata to drivers/ata.</title>
<updated>2006-08-10T11:31:37+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2006-08-10T11:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c6fd280766a050b13360d7c2d59a3d6bd3a27d9a'/>
<id>urn:sha1:c6fd280766a050b13360d7c2d59a3d6bd3a27d9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'upstream-fixes' into upstream</title>
<updated>2006-08-09T05:19:18+00:00</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2006-08-09T05:19:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3f066887595de490c411762ce58a31412b09e939'/>
<id>urn:sha1:3f066887595de490c411762ce58a31412b09e939</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[PATCH] libata: clear sdev-&gt;locked on door lock failure</title>
<updated>2006-08-09T05:16:27+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>htejun@gmail.com</email>
</author>
<published>2006-08-08T05:08:59+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=22aac0896b1b0b8cabaf00714c55dd12f25d5738'/>
<id>urn:sha1:22aac0896b1b0b8cabaf00714c55dd12f25d5738</id>
<content type='text'>
SCSI EH locks door if sdev-&gt;locked is set.  Sometimes door lock
command fails continuously (e.g. when medium is not present) and as
libata uses EH to acquire sense data, this easily creates a loop where
a failed lock door invokes EH and EH issues lock door on completion.

This patch clears sdev-&gt;locked on door lock failure to break this
loop.  This problem has been spotted and diagnosed by Unicorn Chang
&lt;uchang@tw.ibm.com&gt;.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] libata: Add support for SATA attachment to SAS adapters</title>
<updated>2006-08-09T04:08:39+00:00</updated>
<author>
<name>Brian King</name>
<email>brking@us.ibm.com</email>
</author>
<published>2006-08-07T19:27:31+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=80289167fd3ebaeb7b2641e69cbec44b61165fe7'/>
<id>urn:sha1:80289167fd3ebaeb7b2641e69cbec44b61165fe7</id>
<content type='text'>
The following patch enhances libata to allow SAS device drivers
to utilize libata to talk to SATA devices. It introduces some
new APIs which allow libata to be used without allocating a
virtual scsi host.

New APIs:

ata_sas_port_alloc - Allocate an ata_port
ata_sas_port_init - Initialize an ata_port (probe device, etc)
ata_sas_port_destroy - Free an ata_port allocated by ata_sas_port_alloc
ata_sas_slave_configure - configure scsi device
ata_sas_queuecmd - queue a scsi command, similar to ata_scsi_queuecomand

These new APIs can be used either directly by a SAS LLDD or could be used
by the SAS transport class.

Possible usage for a SAS LLDD would be:

scsi_scan_host
	target_alloc
		ata_sas_port_alloc
	slave_alloc
		ata_sas_port_init
	slave_configure
		ata_sas_slave_configure

Commands received by the LLDD for SATA devices would call ata_sas_queuecmd.

Device teardown would occur with:

slave_destroy
	port_disable
target_destroy
	ata_sas_port_destroy

Signed-off-by: Brian King &lt;brking@us.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] libata: cosmetic changes to PM functions</title>
<updated>2006-07-29T08:04:55+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>htejun@gmail.com</email>
</author>
<published>2006-07-26T07:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3c5100c1c40cc5e27b4da4a736994c76d93392a0'/>
<id>urn:sha1:3c5100c1c40cc5e27b4da4a736994c76d93392a0</id>
<content type='text'>
Unify pm_message_t argument to the new-style @mesg.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] libata: reimplement per-dev PM</title>
<updated>2006-07-06T02:16:28+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>htejun@gmail.com</email>
</author>
<published>2006-07-03T07:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d6f26d1f1f1128a896f38a7f8426daed0a1205a2'/>
<id>urn:sha1:d6f26d1f1f1128a896f38a7f8426daed0a1205a2</id>
<content type='text'>
Reimplement per-dev PM.  The original implementation directly put the
device into suspended mode and didn't synchronize w/ EH operations
including hotplug.  This patch reimplements ata_scsi_device_suspend()
and ata_scsi_device_resume() such that they request EH to perform the
respective operations.  Both functions synchronize with hotplug such
that it doesn't operate on detached devices.

Suspend waits for completion but resume just issues request and
returns.  This allows parallel wake up of devices and thus speeds up
system resume.

Due to sdev detach synchronization, it's not feasible to separate out
EH requesting from sdev handling; thus, ata_device_suspend/resume()
are removed and everything is implemented in the respective
libata-scsi functions.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] libata: implement ATA_EHI_RESUME_LINK</title>
<updated>2006-07-06T02:16:27+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>htejun@gmail.com</email>
</author>
<published>2006-07-03T07:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=28324304350e23db24d679c55de3f06a5b1e40aa'/>
<id>urn:sha1:28324304350e23db24d679c55de3f06a5b1e40aa</id>
<content type='text'>
Implement ATA_EHI_RESUME_LINK, which indicates that the link needs to
be resumed.  This used to be implied by ATA_EHI_HOTPLUGGED.  However,
hotplug isn't the only event which requires link resume and separating
this out allows other places to request link resume.  This
differentiation also allows better debounce timing selection.

This patch converts user scan to use ATA_EHI_RESUME_LINK.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] libata: add ap-&gt;pflags and move core dynamic flags to it</title>
<updated>2006-07-06T01:51:42+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>htejun@gmail.com</email>
</author>
<published>2006-06-28T16:29:30+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b51e9e5db0e36239f786692f1cac6e435ed30c66'/>
<id>urn:sha1:b51e9e5db0e36239f786692f1cac6e435ed30c66</id>
<content type='text'>
ap-&gt;flags is way too clamped.  Separate out core dynamic flags to
ap-&gt;pflags.  ATA_FLAG_DISABLED is a dynamic flag but left alone as
it's referenced by a lot of LLDs and it's gonna be removed once all
LLDs are converted to new EH.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Remove redundant NULL checks before [kv]free - in drivers/</title>
<updated>2006-06-28T00:32:48+00:00</updated>
<author>
<name>Jesper Juhl</name>
<email>jesper.juhl@gmail.com</email>
</author>
<published>2006-06-27T09:55:06+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8f7607803717e9d045965b210cd16a25d80cd04b'/>
<id>urn:sha1:8f7607803717e9d045965b210cd16a25d80cd04b</id>
<content type='text'>
Remove redundant NULL chck before kfree + tiny CodingStyle cleanup for
drivers/

Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] libata: Add ata_scsi_dev_disabled</title>
<updated>2006-06-23T03:46:45+00:00</updated>
<author>
<name>Brian King</name>
<email>brking@us.ibm.com</email>
</author>
<published>2006-06-12T19:54:17+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=99ba9e093d058f6dff54f475136018e2e281d50f'/>
<id>urn:sha1:99ba9e093d058f6dff54f475136018e2e281d50f</id>
<content type='text'>
Separate out parts of ata_scsi_find_dev to be reused in
future SAS/SATA patches.

Acked-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;

Signed-off-by: Brian King &lt;brking@us.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
</content>
</entry>
</feed>
