<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/ata, branch v4.9-rc2</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>ahci: qoriq: Revert "ahci: qoriq: Disable NCQ on ls2080a SoC"</title>
<updated>2016-09-30T08:28:51+00:00</updated>
<author>
<name>Tang Yuantian</name>
<email>Yuantian.Tang@nxp.com</email>
</author>
<published>2016-09-30T06:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1ce788d24268a33513d832d9030ceab93f1c2ce2'/>
<id>1ce788d24268a33513d832d9030ceab93f1c2ce2</id>
<content type='text'>
This reverts commit 640847298e2b7f19 ("ahci: qoriq: Disable NCQ
on ls2080a SoC")

The erratum has been fixed in ls2080a v2.0 and later soc.
In reality, customer will not get any ls2080a v1.0 soc. Neither apply
to any products. So reverting this commit won't create any side effect.

Blacklisting v2.0 could also be a option, but that needs to check the
soc version which is not suitable in the driver.

Signed-off-by: Tang Yuantian &lt;yuantian.tang@nxp.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 640847298e2b7f19 ("ahci: qoriq: Disable NCQ
on ls2080a SoC")

The erratum has been fixed in ls2080a v2.0 and later soc.
In reality, customer will not get any ls2080a v1.0 soc. Neither apply
to any products. So reverting this commit won't create any side effect.

Blacklisting v2.0 could also be a option, but that needs to check the
soc version which is not suitable in the driver.

Signed-off-by: Tang Yuantian &lt;yuantian.tang@nxp.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pata_at91: Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR</title>
<updated>2016-09-22T15:48:46+00:00</updated>
<author>
<name>Harman Kalra</name>
<email>harman4linux@gmail.com</email>
</author>
<published>2016-09-21T19:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=70a19b7e406da9dc5cea20fedba443374a5cae70'/>
<id>70a19b7e406da9dc5cea20fedba443374a5cae70</id>
<content type='text'>
Signed-off-by: Harman Kalra &lt;harman4linux@gmail.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Harman Kalra &lt;harman4linux@gmail.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ata: Replace BUG() with BUG_ON().</title>
<updated>2016-09-22T15:46:52+00:00</updated>
<author>
<name>Harman Kalra</name>
<email>harman4linux@gmail.com</email>
</author>
<published>2016-09-21T19:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=02d9d3cbac53bd59fe18fc32adc7bc7cde1037ae'/>
<id>02d9d3cbac53bd59fe18fc32adc7bc7cde1037ae</id>
<content type='text'>
Replace BUG() with BUG_ON().
Caught by coccinelle.

Signed-off-by: Harman Kalra &lt;harman4linux@gmail.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace BUG() with BUG_ON().
Caught by coccinelle.

Signed-off-by: Harman Kalra &lt;harman4linux@gmail.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ata: sata_mv: Replacing dma_pool_alloc and memset with a single call dma_pool_zalloc.</title>
<updated>2016-09-20T20:07:16+00:00</updated>
<author>
<name>Harman Kalra</name>
<email>harman4linux@gmail.com</email>
</author>
<published>2016-09-20T19:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6ec76070f17993aa9ac0344330b971783d10c9c2'/>
<id>6ec76070f17993aa9ac0344330b971783d10c9c2</id>
<content type='text'>
Replacing dma_pool_alloc and memset with a single call to dma_pool_zalloc

Signed-off-by: Harman Kalra &lt;harman4linux@gmail.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replacing dma_pool_alloc and memset with a single call to dma_pool_zalloc

Signed-off-by: Harman Kalra &lt;harman4linux@gmail.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libata: Some drives failing on SCT Write Same</title>
<updated>2016-09-09T19:21:21+00:00</updated>
<author>
<name>Shaun Tancheff</name>
<email>shaun@tancheff.com</email>
</author>
<published>2016-09-09T16:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0ce1b18c42a5b1613ad84d3bf93ee4f5bb3f8b33'/>
<id>0ce1b18c42a5b1613ad84d3bf93ee4f5bb3f8b33</id>
<content type='text'>
Restrict support SCT Write Same to devices which also support ZAC where
support is required.

Reported-by: Mike Krinkin &lt;krinkin.m.u@gmail.com&gt;
Signed-off-by: Shaun Tancheff &lt;shaun.tancheff@seagate.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restrict support SCT Write Same to devices which also support ZAC where
support is required.

Reported-by: Mike Krinkin &lt;krinkin.m.u@gmail.com&gt;
Signed-off-by: Shaun Tancheff &lt;shaun.tancheff@seagate.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ahci: use pci_alloc_irq_vectors</title>
<updated>2016-09-06T16:38:17+00:00</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2016-09-05T15:21:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0b9e2988ab2261fd6d4a0039edf81ed1e3662be8'/>
<id>0b9e2988ab2261fd6d4a0039edf81ed1e3662be8</id>
<content type='text'>
Use the new pci_alloc_irq_vectors API to allocate MSI-X and MSI vectors.
The big advantage over the old code is that we can use the same API for
MSI and MSI-X, and that we don't need to store the MSI-X vector mapping
in driver-private data structures.

This first conversion keeps the probe order as-is: MSI-X multi vector,
MSI multi vector, MSI single vector, MSI-X single vector and last a
single least legacy interrupt line.  There is one small change of
behavior: we now check the "MSI Revert to Single Message" flag for
MSI-X in addition to MSI.

Because the API to find the Linux IRQ number for a MSI/MSI-X vector
is PCI specific, but libahaci is bus-agnostic I had to a
get_irq_vector function pointer to struct ahci_host_priv.  The
alternative would be to move the multi-vector case of ahci_host_activate
to ahci.c and just call ata_host_activate directly from the others
users of ahci_host_activate.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the new pci_alloc_irq_vectors API to allocate MSI-X and MSI vectors.
The big advantage over the old code is that we can use the same API for
MSI and MSI-X, and that we don't need to store the MSI-X vector mapping
in driver-private data structures.

This first conversion keeps the probe order as-is: MSI-X multi vector,
MSI multi vector, MSI single vector, MSI-X single vector and last a
single least legacy interrupt line.  There is one small change of
behavior: we now check the "MSI Revert to Single Message" flag for
MSI-X in addition to MSI.

Because the API to find the Linux IRQ number for a MSI/MSI-X vector
is PCI specific, but libahaci is bus-agnostic I had to a
get_irq_vector function pointer to struct ahci_host_priv.  The
alternative would be to move the multi-vector case of ahci_host_activate
to ahci.c and just call ata_host_activate directly from the others
users of ahci_host_activate.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into for-4.9</title>
<updated>2016-09-06T16:35:56+00:00</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2016-09-06T16:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2536524a91fe5c5a9fddd282fd4e79ee0976aefe'/>
<id>2536524a91fe5c5a9fddd282fd4e79ee0976aefe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pata_ninja32: Avoid corrupting status flags</title>
<updated>2016-08-30T15:59:47+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2016-08-30T15:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9ebae9e4bcd7dff22536af8a969d8f66e6f23900'/>
<id>9ebae9e4bcd7dff22536af8a969d8f66e6f23900</id>
<content type='text'>
Ninja32 needs to set some flags to indicate it does 32bit IO. However it currently assigns this which
loses the initializing flag and causes a warning spew. Fix it to use a logical or as is intended.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Tested-by: Ellmar Stelnberger &lt;estellnb@elstel.org&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ninja32 needs to set some flags to indicate it does 32bit IO. However it currently assigns this which
loses the initializing flag and causes a warning spew. Fix it to use a logical or as is intended.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Tested-by: Ellmar Stelnberger &lt;estellnb@elstel.org&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libata: SCT Write Same handle ATA_DFLAG_PIO</title>
<updated>2016-08-25T15:26:48+00:00</updated>
<author>
<name>Shaun Tancheff</name>
<email>shaun@tancheff.com</email>
</author>
<published>2016-08-22T04:23:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7d36dd00ab8d57134cce86ad4febc2f5bbdf3e72'/>
<id>7d36dd00ab8d57134cce86ad4febc2f5bbdf3e72</id>
<content type='text'>
Use non DMA write log when ATA_DFLAG_PIO is set.

Signed-off-by: Shaun Tancheff &lt;shaun.tancheff@seagate.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use non DMA write log when ATA_DFLAG_PIO is set.

Signed-off-by: Shaun Tancheff &lt;shaun.tancheff@seagate.com&gt;
Reviewed-by: Hannes Reinecke &lt;hare@suse.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libata: SCT Write Same / DSM Trim</title>
<updated>2016-08-25T15:26:48+00:00</updated>
<author>
<name>Shaun Tancheff</name>
<email>shaun@tancheff.com</email>
</author>
<published>2016-08-24T18:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ef2d7392c4ece5c3cd12a6c7ca9366cd8f189aff'/>
<id>ef2d7392c4ece5c3cd12a6c7ca9366cd8f189aff</id>
<content type='text'>
Correct handling of devices with sector_size other that 512 bytes.

In the case of a 4Kn device sector_size it is possible to describe a much
larger DSM Trim than the current fixed default of 512 bytes.

This patch assumes the minimum descriptor is sector_size and fills out
the descriptor accordingly.

The ACS-2 specification is quite clear that the DSM command payload is
sized as number of 512 byte transfers so a 4Kn device will operate
correctly without this patch.

Signed-off-by: Shaun Tancheff &lt;shaun.tancheff@seagate.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct handling of devices with sector_size other that 512 bytes.

In the case of a 4Kn device sector_size it is possible to describe a much
larger DSM Trim than the current fixed default of 512 bytes.

This patch assumes the minimum descriptor is sector_size and fills out
the descriptor accordingly.

The ACS-2 specification is quite clear that the DSM command payload is
sized as number of 512 byte transfers so a 4Kn device will operate
correctly without this patch.

Signed-off-by: Shaun Tancheff &lt;shaun.tancheff@seagate.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
