<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ata, branch v2.6.26.8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/ata?h=v2.6.26.8</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/ata?h=v2.6.26.8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-10-22T21:13:19Z</updated>
<entry>
<title>libata: fix EH action overwriting in ata_eh_reset()</title>
<updated>2008-10-22T21:13:19Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-10-13T23:19:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dcbe5f2d841ed58a102195a7ded37fd7acdb7a52'/>
<id>urn:sha1:dcbe5f2d841ed58a102195a7ded37fd7acdb7a52</id>
<content type='text'>
Commit a674050e068a2919908730279f0b731ae6d2e005 upstream

ehc-&gt;i.action got accidentally overwritten to ATA_EH_HARD/SOFTRESET in
ata_eh_reset().  The original intention was to clear reset action
which wasn't selected.  This can cause unexpected behavior when other
EH actions are scheduled together with reset.  Fix it.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Cc: Chuck Ebbert &lt;cebbert@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>libata: always do follow-up SRST if hardreset returned -EAGAIN</title>
<updated>2008-10-22T21:13:18Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-10-13T23:21:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dd5d2d841e954134a06ea6b6e414b90b9b80b4e5'/>
<id>urn:sha1:dd5d2d841e954134a06ea6b6e414b90b9b80b4e5</id>
<content type='text'>
commit 5dbfc9cb59d4ad75199949d7dd8a8c6d7bc518df upstream

As an optimization, follow-up SRST used to be skipped if
classification wasn't requested even when hardreset requested it via
-EAGAIN.  However, some hardresets can't wait for device readiness and
skipping SRST can cause timeout or other failures during revalidation.
Always perform follow-up SRST if hardreset returns -EAGAIN.  This
makes reset paths more predictable and thus less error-prone.

While at it, move hardreset error checking such that it's done right
after hardreset is finished.  This simplifies followup SRST condition
check a bit and makes the reset path easier to modify.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Cc: Chuck Ebbert &lt;cebbert@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>sata_mv: don't issue two DMA commands concurrently</title>
<updated>2008-09-08T11:44:32Z</updated>
<author>
<name>Tejun Heo</name>
<email>htejun@gmail.com</email>
</author>
<published>2008-08-13T11:24:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a52f94cf0b2a82420921257f97674756adb9c760'/>
<id>urn:sha1:a52f94cf0b2a82420921257f97674756adb9c760</id>
<content type='text'>
commit 4bdee6c5103696a2729d3db2f235d202191788e4 upstream

sata_mv allowed issuing two DMA commands concurrently which the
hardware allows.  Unfortunately, libata core layer isn't ready for
this yet and spews ugly warning message and malfunctions on this.
Don't allow concurrent DMA commands for now.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Cc: Martin Michlmayr &lt;tbm@cyrius.com&gt;
Cc: Mark Lord &lt;liml@rtr.ca&gt;
Cc: Artem Bokhan &lt;aptem@ngs.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>libata-acpi: don't call sleeping function from invalid context</title>
<updated>2008-07-11T13:42:03Z</updated>
<author>
<name>Zhang Rui</name>
<email>rui.zhang@intel.com</email>
</author>
<published>2008-07-11T13:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3c1e3896344063273715b332b1c0534deb9b286c'/>
<id>urn:sha1:3c1e3896344063273715b332b1c0534deb9b286c</id>
<content type='text'>
The problem is introduced by commit
664d080c41463570b95717b5ad86e79dc1be0877.

acpi_evaluate_integer is a sleeping function,
and it should not be called with spin_lock_irqsave.
https://bugzilla.redhat.com/show_bug.cgi?id=451399

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>Added Targa Visionary 1000 IDE adapter to pata_sis.c</title>
<updated>2008-07-11T13:38:24Z</updated>
<author>
<name>Kai Krakow</name>
<email>kai@kaishome.de</email>
</author>
<published>2008-07-06T12:22:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=edb804713ffb660ddad5dda5fb8f2addea7ad8c6'/>
<id>urn:sha1:edb804713ffb660ddad5dda5fb8f2addea7ad8c6</id>
<content type='text'>
This enables short 40-wire detection for my laptop thus
enabling UDMA/100.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>libata-acpi: filter out DIPM enable</title>
<updated>2008-07-11T13:38:23Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-07-06T14:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b344991ace21896a83694c86d132b8494a29f3be'/>
<id>urn:sha1:b344991ace21896a83694c86d132b8494a29f3be</id>
<content type='text'>
Some BIOSen enable DIPM via _GTF which causes command timeouts under
certain configuration.  This didn't occur on 2.6.25 because 2.6.25
defaulted to SRST, so _GTF wasn't executed during boot probe, so ahci
host reset disabled DIPM and as _GTF wasn't executed after SRST, DIPM
wasn't enabled.  On 2.6.26, hardreset is used during probe and after
probe _GTF is executed enabling DIPM and thus the failures.

This patch could theoretically disable DIPM on machines which used to
have it enabled on 2.6.25 but AFAIK ahci is currently the only driver
which uses SATA ACPI hierarchy (_SDD) and as the host reset would have
always disabled DIPM, this shouldn't happen.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ahci: give another shot at clearing all bits in irq_stat</title>
<updated>2008-07-05T20:05:37Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-07-05T04:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d28f87aa87ce8b196349d7c306a7e6fe3abd7155'/>
<id>urn:sha1:d28f87aa87ce8b196349d7c306a7e6fe3abd7155</id>
<content type='text'>
Commit ea0c62f7cf70f13a67830471b613337bd0c9a62e tried to clear all
bits in irq_stat but it didn't actually achieve that as irq_stat was
anded with port_map right after read.  This patch makes ahci driver
always use the unmasked value to clear irq_status.

While at it, add explanation on the peculiarities of ahci IRQ
clearing.

This was spotted by Linus Torvalds.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>sata_mv: safer logic for limit_warnings</title>
<updated>2008-07-04T13:07:12Z</updated>
<author>
<name>Mark Lord</name>
<email>liml@rtr.ca</email>
</author>
<published>2008-06-19T01:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c7843e8f565f624b0cff7cad1370fad4cb84dfbc'/>
<id>urn:sha1:c7843e8f565f624b0cff7cad1370fad4cb84dfbc</id>
<content type='text'>
There is a miniscule chance that two separate host controllers
might be in sata_mv at the same time and manage to decrement
the static limit_warnings variable below zero.

Fix the comparison to deal with it.

Signed-off-by: Mark Lord &lt;mlord@pobox.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>libata-sff: improve HSM violation reporting</title>
<updated>2008-07-04T13:06:02Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-06-27T16:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a836d3e882161c562b3ddacee5d8842a033c5b2c'/>
<id>urn:sha1:a836d3e882161c562b3ddacee5d8842a033c5b2c</id>
<content type='text'>
Improve SFF HSM violation reporting such that each HSM violation can
be distinguished using ehi_desc.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ahci: always clear all bits in irq_stat</title>
<updated>2008-07-04T13:05:59Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2008-06-27T16:49:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ea0c62f7cf70f13a67830471b613337bd0c9a62e'/>
<id>urn:sha1:ea0c62f7cf70f13a67830471b613337bd0c9a62e</id>
<content type='text'>
Some AHCI controllers (ICH7 was reported) set pending bit in
HOST_IRQ_STAT for non-existent ports and when it's not cleared falls
into IRQ storm.  Always clear full irq_stat instead of only the bits
that are handled.  As nothing changes for recognized ports, the risk
of breaking things is pretty low.

Reported and verified by Philipp Thomas in the following suse
bugzilla.

https://bugzilla.novell.com/attachment.cgi?id=215692

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Cc: Philipp Thomas &lt;pth@novell.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
</feed>
