<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ata/libahci.c, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-02-20T00:06:05Z</updated>
<entry>
<title>ata: add/use ata_taskfile::{error|status} fields</title>
<updated>2022-02-20T00:06:05Z</updated>
<author>
<name>Sergey Shtylyov</name>
</author>
<published>2022-02-15T18:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=efcef265fd83d9a68a68926abecb3e1dd3e260a8'/>
<id>urn:sha1:efcef265fd83d9a68a68926abecb3e1dd3e260a8</id>
<content type='text'>
Add the explicit error and status register fields to 'struct ata_taskfile'
using the anonymous *union*s ('struct ide_taskfile' had that for ages!) and
update the libata taskfile code accordingly. There should be no object code
changes resulting from that...

Signed-off-by: Sergey Shtylyov &lt;s.shtylyov@omp.ru&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
</content>
</entry>
<entry>
<title>ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones</title>
<updated>2022-01-05T10:33:01Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2021-12-21T07:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93c7711494f47f9c829321e2a8711671b02f6e4c'/>
<id>urn:sha1:93c7711494f47f9c829321e2a8711671b02f6e4c</id>
<content type='text'>
Drop pointless VPRINTK() calls for entering and existing interrupt
routines and convert the remaining calls to dev_dbg().

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
</content>
</entry>
<entry>
<title>ata: libata: add reset tracepoints</title>
<updated>2022-01-04T11:00:57Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2021-12-21T07:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8ec26d0f5bcdb864f771fb6d250d9ed3165eb61'/>
<id>urn:sha1:f8ec26d0f5bcdb864f771fb6d250d9ed3165eb61</id>
<content type='text'>
To follow the flow of control we should be using tracepoints, as
they will tie in with the actual I/O flow and deliver a better
overview about what it happening.
This patch adds tracepoints for hard reset, soft reset, and postreset
and adds them in the libata-eh control flow.
With that we can drop the reset DPRINTK calls in the various drivers.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
</content>
</entry>
<entry>
<title>ata: libata: Add ata_port_classify() helper</title>
<updated>2022-01-04T11:00:45Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2021-12-21T07:20:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c952a0dc9c3ced98c4c8aa7cd11c25c59157f1f'/>
<id>urn:sha1:6c952a0dc9c3ced98c4c8aa7cd11c25c59157f1f</id>
<content type='text'>
Add an ata_port_classify() helper to print out the results from
the device classification and remove the debugging statements
from ata_dev_classify().

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
</content>
</entry>
<entry>
<title>ata: libata: remove pointless debugging messages</title>
<updated>2022-01-04T11:00:35Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2021-12-21T07:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3b9db5f4fd1f65b44935d22b6fe0016aa62d5c0'/>
<id>urn:sha1:f3b9db5f4fd1f65b44935d22b6fe0016aa62d5c0</id>
<content type='text'>
Debugging messages in pci init functions or sg setup are pretty
much pointless, as the workflow pretty much decides what happened.
So drop them.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
</content>
</entry>
<entry>
<title>ata: libahci: Adjust behavior when StorageD3Enable _DSD is set</title>
<updated>2021-11-18T05:34:25Z</updated>
<author>
<name>Mario Limonciello</name>
</author>
<published>2021-11-12T20:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c5f641a5914ce0303b06bcfcd7674ee64aeebe9'/>
<id>urn:sha1:7c5f641a5914ce0303b06bcfcd7674ee64aeebe9</id>
<content type='text'>
The StorageD3Enable _DSD is used for the vendor to indicate that the disk
should be opted into or out of a different behavior based upon the platform
design.

For AMD's Renoir and Green Sardine platforms it's important that any
attached SATA storage has transitioned into DevSlp when s2idle is used.

If the disk is left in active/partial/slumber, then the system is not able
to resume properly.

When the StorageD3Enable _DSD is detected, check the system is using s2idle
and DevSlp is enabled and if so explicitly wait long enough for the disk to
enter DevSlp.

Cc: Nehal-bakulchandra Shah &lt;Nehal-bakulchandra.Shah@amd.com&gt;
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214091
Link: https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/power-management-for-storage-hardware-devices-intro
Signed-off-by: Mario Limonciello &lt;mario.limonciello@amd.com&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
</content>
</entry>
<entry>
<title>libata: libahci: declare ahci_shost_attr_group as static</title>
<updated>2021-11-11T23:05:47Z</updated>
<author>
<name>Damien Le Moal</name>
</author>
<published>2021-11-11T03:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b87bda1f29a91720a410ac0819866a3cf0df32d'/>
<id>urn:sha1:1b87bda1f29a91720a410ac0819866a3cf0df32d</id>
<content type='text'>
ahci_shost_attr_group is referenced only in drivers/ata/libahci.c.
Declare it as static.

Fixes: c3f69c7f629f ("scsi: ata: Switch to attribute groups")
Cc: Bart Van Assche &lt;bvanassche@acm.org&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>scsi: ata: Switch to attribute groups</title>
<updated>2021-10-17T01:45:52Z</updated>
<author>
<name>Bart Van Assche</name>
</author>
<published>2021-10-12T23:35:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3f69c7f629ff53c75f335754ea41426b8e095de'/>
<id>urn:sha1:c3f69c7f629ff53c75f335754ea41426b8e095de</id>
<content type='text'>
struct device supports attribute groups directly but does not support
struct device_attribute directly. Hence switch to attribute groups.

Link: https://lore.kernel.org/r/20211012233558.4066756-3-bvanassche@acm.org
Acked-by: Damien Le Moal &lt;damien.lemoal@opensource.wdc.com&gt;
Signed-off-by: Bart Van Assche &lt;bvanassche@acm.org&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>libata: Introduce ncq_prio_supported sysfs sttribute</title>
<updated>2021-08-18T13:19:39Z</updated>
<author>
<name>Damien Le Moal</name>
</author>
<published>2021-08-16T01:44:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f91b8f54874300a8e3c6c89f39ce5a74a449f2c'/>
<id>urn:sha1:5f91b8f54874300a8e3c6c89f39ce5a74a449f2c</id>
<content type='text'>
Currently, the only way a user can determine if a SATA device supports
NCQ priority is to try to enable the use of this feature using the
ncq_prio_enable sysfs device attribute. If enabling the feature fails,
it is because the device does not support NCQ priority. Otherwise, the
feature is enabled and success indicates that the device supports NCQ
priority.

Improve this odd interface by introducing the read-only
ncq_prio_supported sysfs device attribute to indicate if a SATA device
supports NCQ priority. The value of this attribute reflects the status
of device flag ATA_DFLAG_NCQ_PRIO, which is set only for devices
supporting NCQ priority.

Add this new sysfs attribute to the device attributes group of libahci
and libata-sata.

Signed-off-by: Damien Le Moal &lt;damien.lemoal@wdc.com&gt;
Link: https://lore.kernel.org/r/20210816014456.2191776-10-damien.lemoal@wdc.com
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>ata: ahci: Disable SXS for Hisilicon Kunpeng920</title>
<updated>2021-03-31T14:25:15Z</updated>
<author>
<name>Xingui Yang</name>
</author>
<published>2021-03-12T10:24:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=234e6d2c18f5b080cde874483c4c361f3ae7cffe'/>
<id>urn:sha1:234e6d2c18f5b080cde874483c4c361f3ae7cffe</id>
<content type='text'>
On Hisilicon Kunpeng920, ESP is set to 1 by default for all ports of
SATA controller. In some scenarios, some ports are not external SATA ports,
and it cause disks connected to these ports to be identified as removable
disks. So disable the SXS capability on the software side to prevent users
from mistakenly considering non-removable disks as removable disks and
performing related operations.

Signed-off-by: Xingui Yang &lt;yangxingui@huawei.com&gt;
Signed-off-by: Luo Jiaxing &lt;luojiaxing@huawei.com&gt;
Reviewed-by: John Garry &lt;john.garry@huawei.com&gt;
Link: https://lore.kernel.org/r/1615544676-61926-1-git-send-email-luojiaxing@huawei.com
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
</feed>
