<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ata/libata-scsi.c, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-01-09T00:14:58Z</updated>
<entry>
<title>ata: add ata port runtime PM callbacks</title>
<updated>2012-01-09T00:14:58Z</updated>
<author>
<name>Lin Ming</name>
</author>
<published>2011-12-05T01:20:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ee4f3933930abf5cc34f8e9d69fe0e08c18f602'/>
<id>urn:sha1:9ee4f3933930abf5cc34f8e9d69fe0e08c18f602</id>
<content type='text'>
Add ata port runtime suspend/resume/idle callbacks.
Set -&gt;eh_noresume to skip the runtime PM calls on scsi host
in the error handler to avoid dead lock.

Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ata: make ata port as parent device of scsi host</title>
<updated>2012-01-09T00:14:57Z</updated>
<author>
<name>Lin Ming</name>
</author>
<published>2011-12-05T01:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a6d6a2ddabbd32c07f6a38b659e5f3db319fa5a'/>
<id>urn:sha1:9a6d6a2ddabbd32c07f6a38b659e5f3db319fa5a</id>
<content type='text'>
Currently, the device tree of ata port and scsi host looks as below,

        /sys/devices/pci0000:00/0000:00:1f.2    (ahci controller)
        |-- ata1                                (ata port)
        |-- host0                               (scsi host)
           |-- target0:0:0                      (scsi target)
               |-- 0:0:0:0                      (disk)

This patch makes ata port as parent device of scsi host, then it becomes

        /sys/devices/pci0000:00/0000:00:1f.2    (ahci controller)
        |-- ata1                                (ata port)
            |-- host0                           (scsi host)
                |-- target0:0:0                 (scsi target)
                    |-- 0:0:0:0                 (disk)

With this change, the ata port runtime PM is easier.
For example, the ata port runtime suspend will happen as,

disk suspend --&gt; scsi target suspend --&gt; scsi host suspend --&gt; ata port
suspend.

Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Lin Ming &lt;ming.m.lin@intel.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>[libata] libata-scsi.c: Add function parameter documentation</title>
<updated>2011-11-09T06:32:27Z</updated>
<author>
<name>Marcos Paulo de Souza</name>
</author>
<published>2011-11-01T01:50:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d2dd054295e26dad0a84e2fe2029a1428242f8b'/>
<id>urn:sha1:6d2dd054295e26dad0a84e2fe2029a1428242f8b</id>
<content type='text'>
Add the documentation of parameters of ata_change_queue_depth to silence the warning of make xmldocs

Signed-off-by: Marcos paulo de Souza &lt;marcos.mage@gmail.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>ide/ata: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed</title>
<updated>2011-10-31T23:31:37Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-17T19:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38789fda295689689d064c0157bc363b1837b5e6'/>
<id>urn:sha1:38789fda295689689d064c0157bc363b1837b5e6</id>
<content type='text'>
They were getting this implicitly by an include of module.h
from device.h -- but we are going to clean that up and break
that include chain, so include export.h explicitly now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] libsas,libata: fix -&gt;change_queue_{depth|type} for sata devices</title>
<updated>2011-10-02T17:30:30Z</updated>
<author>
<name>Dan Williams</name>
</author>
<published>2011-09-20T22:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6e67035a9edd79b8b202c159d5bec560bb9c358'/>
<id>urn:sha1:f6e67035a9edd79b8b202c159d5bec560bb9c358</id>
<content type='text'>
Pass queue_depth change requests to libata, and prevent queue_type
changes for ATA devices.

Otherwise:
1/ we do not honor the libata specific restrictions on the queue depth
2/ libsas drivers that do not set sdev-&gt;tagged_supported are unable to
   change the queue_depth of ata devices via sysfs

Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Acked-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>ata: Convert ata_&lt;foo&gt;_printk(KERN_&lt;LEVEL&gt; to ata_&lt;foo&gt;_&lt;level&gt;</title>
<updated>2011-07-23T21:57:36Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2011-04-15T22:51:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9a79dfec239568bdbf778242f8fcd10bcc5b9e2'/>
<id>urn:sha1:a9a79dfec239568bdbf778242f8fcd10bcc5b9e2</id>
<content type='text'>
Saves text by removing nearly duplicated text format strings by
creating ata_&lt;foo&gt;_printk functions and printf extension %pV.

ata defconfig size shrinks ~5% (~8KB), allyesconfig ~2.5% (~13KB)

Format string duplication comes from:

 #define ata_link_printk(link, lv, fmt, args...) do { \
       if (sata_pmp_attached((link)-&gt;ap) || (link)-&gt;ap-&gt;slave_link)    \
               printk("%sata%u.%02u: "fmt, lv, (link)-&gt;ap-&gt;print_id,   \
                      (link)-&gt;pmp , ##args); \
       else \
               printk("%sata%u: "fmt, lv, (link)-&gt;ap-&gt;print_id , ##args); \
       } while(0)

Coalesce long formats.

$ size drivers/ata/built-in.*
   text	   data	    bss	    dec	    hex	filename
 544969	  73893	 116584	 735446	  b38d6	drivers/ata/built-in.allyesconfig.ata.o
 558429	  73893	 117864	 750186	  b726a	drivers/ata/built-in.allyesconfig.dev_level.o
 141328	  14689	   4220	 160237	  271ed	drivers/ata/built-in.defconfig.ata.o
 149567	  14689	   4220	 168476	  2921c	drivers/ata/built-in.defconfig.dev_level.o

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
</content>
</entry>
<entry>
<title>libata/sas: only set FROZEN flag if new EH is supported</title>
<updated>2011-06-23T20:41:26Z</updated>
<author>
<name>Nishanth Aravamudan</name>
</author>
<published>2011-06-16T15:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f1e046ad3370d22d39529103667354eb50abc08'/>
<id>urn:sha1:3f1e046ad3370d22d39529103667354eb50abc08</id>
<content type='text'>
On 16.06.2011 [08:28:39 -0500], Brian King wrote:
&gt; On 06/16/2011 02:51 AM, Tejun Heo wrote:
&gt; &gt; On Wed, Jun 15, 2011 at 04:34:17PM -0700, Nishanth Aravamudan wrote:
&gt; &gt;&gt;&gt; That looks like the right thing to do. For ipr's usage of
&gt; &gt;&gt;&gt; libata, we don't have the concept of a port frozen state, so this flag
&gt; &gt;&gt;&gt; should really never get set. The alternate way to fix this would be to
&gt; &gt;&gt;&gt; only set ATA_PFLAG_FROZEN in ata_port_alloc if ap-&gt;ops-&gt;error_handler
&gt; &gt;&gt;&gt; is not NULL.
&gt; &gt;&gt;
&gt; &gt;&gt; It seemed like ipr is as you say, but I wasn't sure if it was
&gt; &gt;&gt; appropriate to make the change above in the common libata-scis code or
&gt; &gt;&gt; not. I don't want to break some other device on accident.
&gt; &gt;&gt;
&gt; &gt;&gt; Also, I tried your suggestion, but I don't think that can happen in
&gt; &gt;&gt; ata_port_alloc? ata_port_alloc is allocated ap itself, and it seems like
&gt; &gt;&gt; ap-&gt;ops typically gets set only after ata_port_alloc returns?
&gt; &gt;
&gt; &gt; Maybe we can test error_handler in ata_sas_port_start()?
&gt;
&gt; Good point. Since libsas is converted to the new eh now, we would need to have
&gt; this test.

Commit 7b3a24c57d2eeda8dba9c205342b12689c4679f9 ("ahci: don't enable
port irq before handler is registered") caused a regression for CD-ROMs
attached to the IPR SATA bus on Power machines:

  ata_port_alloc: ENTER
  ata_port_probe: ata1: bus probe begin
  ata1.00: ata_dev_read_id: ENTER
  ata1.00: failed to IDENTIFY (I/O error, err_mask=0x40)
  ata1.00: ata_dev_read_id: ENTER
  ata1.00: failed to IDENTIFY (I/O error, err_mask=0x40)
  ata1.00: limiting speed to UDMA7:PIO5
  ata1.00: ata_dev_read_id: ENTER
  ata1.00: failed to IDENTIFY (I/O error, err_mask=0x40)
  ata1.00: disabled
  ata_port_probe: ata1: bus probe end
  scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured

The FROZEN flag added in that commit is only cleared by the new EH code,
which is not used by ipr. Clear this flag in the SAS code if we don't
support new EH.

Reported-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-2.6.40/core' of git://git.kernel.dk/linux-2.6-block</title>
<updated>2011-05-25T16:14:07Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-05-25T16:14:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=798ce8f1cca29dcc3f4b55947f611f4ffb32ac2b'/>
<id>urn:sha1:798ce8f1cca29dcc3f4b55947f611f4ffb32ac2b</id>
<content type='text'>
* 'for-2.6.40/core' of git://git.kernel.dk/linux-2.6-block: (40 commits)
  cfq-iosched: free cic_index if cfqd allocation fails
  cfq-iosched: remove unused 'group_changed' in cfq_service_tree_add()
  cfq-iosched: reduce bit operations in cfq_choose_req()
  cfq-iosched: algebraic simplification in cfq_prio_to_maxrq()
  blk-cgroup: Initialize ioc-&gt;cgroup_changed at ioc creation time
  block: move bd_set_size() above rescan_partitions() in __blkdev_get()
  block: call elv_bio_merged() when merged
  cfq-iosched: Make IO merge related stats per cpu
  cfq-iosched: Fix a memory leak of per cpu stats for root group
  backing-dev: Kill set but not used var in  bdi_debug_stats_show()
  block: get rid of on-stack plugging debug checks
  blk-throttle: Make no throttling rule group processing lockless
  blk-cgroup: Make cgroup stat reset path blkg-&gt;lock free for dispatch stats
  blk-cgroup: Make 64bit per cpu stats safe on 32bit arch
  blk-throttle: Make dispatch stats per cpu
  blk-throttle: Free up a group only after one rcu grace period
  blk-throttle: Use helper function to add root throtl group to lists
  blk-throttle: Introduce a helper function to fill in device details
  blk-throttle: Dynamically allocate root group
  blk-cgroup: Allow sleeping while dynamically allocating a group
  ...
</content>
</entry>
<entry>
<title>libata: Use Maximum Write Same Length to report discard size limit</title>
<updated>2011-05-20T00:46:01Z</updated>
<author>
<name>Martin K. Petersen</name>
</author>
<published>2011-05-18T02:13:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f4e206666f834340b69ddb43f86de3851c8675a'/>
<id>urn:sha1:5f4e206666f834340b69ddb43f86de3851c8675a</id>
<content type='text'>
Previously we used Maximum Unmap LBA Count in the Block Limits VPD to
signal the maximum number of sectors we could handle in a single Write
Same command.

Starting with SBC3r26 the Block Limits VPD has an explicit limit on the
number of blocks in a Write Same. This means we can stop abusing a field
related to the Unmap command and let our SAT use the proper value in the
VPD (Maximum Write Same Length).

Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
Signed-off-by: Jeff Garzik &lt;jgarzik@pobox.com&gt;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>SATA: enable non-queueable flush flag</title>
<updated>2011-05-06T17:36:25Z</updated>
<author>
<name>shaohua.li@intel.com</name>
</author>
<published>2011-05-06T17:35:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=900e599eb0c16390ff671652a44e0ea90532220e'/>
<id>urn:sha1:900e599eb0c16390ff671652a44e0ea90532220e</id>
<content type='text'>
Enable non-queueable flush flag for SATA.

Stable: 2.6.39 only

Cc: stable@kernel.org
Signed-off-by: Shaohua Li &lt;shaohua.li@intel.com&gt;
Acked-by: Tejun Heo &lt;tj@kernel.org&gt;
Acked-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;jaxboe@fusionio.com&gt;
</content>
</entry>
</feed>
