<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/scsi/isci/phy.h, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2021-04-13T05:39:12Z</updated>
<entry>
<title>scsi: isci: Remove unnecessary struct declaration</title>
<updated>2021-04-13T05:39:12Z</updated>
<author>
<name>Wan Jiabing</name>
<email>wanjiabing@vivo.com</email>
</author>
<published>2021-04-06T10:59:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8350e19658c1632874888971052a5ace92dae7c5'/>
<id>urn:sha1:8350e19658c1632874888971052a5ace92dae7c5</id>
<content type='text'>
struct sci_phy_proto was already defined on line 142. The declaration here
is unnecessary. Remove it.

Link: https://lore.kernel.org/r/20210406105913.676746-1-wanjiabing@vivo.com
Signed-off-by: Wan Jiabing &lt;wanjiabing@vivo.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>isci: kill sci_phy_protocol and sci_request_protocol</title>
<updated>2012-05-17T19:27:11Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2012-02-01T08:44:14Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c79dd80d73017a88a2c2ae46e7d5303cba6a32e0'/>
<id>urn:sha1:c79dd80d73017a88a2c2ae46e7d5303cba6a32e0</id>
<content type='text'>
Holdovers from the initial driver cleanup, replace with enum sas_protocol.

Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] isci: debug, provide state-enum-to-string conversions</title>
<updated>2012-02-29T22:23:15Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2012-02-10T09:18:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d7a0ccdd9bd78b5b74d2963ec7ab67c9d896902a'/>
<id>urn:sha1:d7a0ccdd9bd78b5b74d2963ec7ab67c9d896902a</id>
<content type='text'>
Debugging the driver requires tracing the state transtions and tracing
state names is less work than decoding numbers.

Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] isci: kill iphy-&gt;isci_port lookups</title>
<updated>2012-02-29T21:05:05Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2012-01-04T07:26:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c132f692085ac624d7c8123df781846c8dcb3166'/>
<id>urn:sha1:c132f692085ac624d7c8123df781846c8dcb3166</id>
<content type='text'>
This field is a holdover from the OS abstraction conversion.  The stable
phy to port lookups are done via iphy-&gt;ownining_port under scic_lock.
After this conversion to use port-&gt;lldd_port the only volatile lookup is
the initial lookup in isci_port_formed().  After that point any lookup
via a successfully notified domain_device is guaranteed to be valid
until the domain_device is destroyed.

Delete -&gt;start_complete as it is only set once and is set as a
consequence of the port going link up, by definition of getting a port
formed event the port is "ready".

While we are correcting port lookups also move the asd_sas_port table
out from under the isci_port.  This is to preclude any temptation to use
container_of() to convert an asd_sas_port to an isci_port, the
association is dynamic and under libsas control.

Tested-by: Maciej Trela &lt;maciej.trela@intel.com&gt;
[dmilburn@redhat.com: fix i686 compile error]
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>isci: kill 'get/set' macros</title>
<updated>2011-07-03T11:04:52Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2011-07-01T09:25:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=34a991587a5cc9f78960c2c9beea217866458c41'/>
<id>urn:sha1:34a991587a5cc9f78960c2c9beea217866458c41</id>
<content type='text'>
Most of these simple dereference macros are longer than their open coded
equivalent.  Deleting enum sci_controller_mode is thrown in for good
measure.

Reported-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>isci: retire scic_sds_ and scic_ prefixes</title>
<updated>2011-07-03T11:04:52Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2011-07-01T02:14:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=89a7301f21fb00e753089671eb9e4132aab8ea08'/>
<id>urn:sha1:89a7301f21fb00e753089671eb9e4132aab8ea08</id>
<content type='text'>
The distinction between scic_sds_ scic_ and sci_ are no longer relevant
so just unify the prefixes on sci_.  The distinction between isci_ and
sci_ is historically significant, and useful for comparing the old
'core' to the current Linux driver. 'sci_' represents the former core as
well as the routines that are closer to the hardware and protocol than
their 'isci_' brethren. sci == sas controller interface.

Also unwind the 'sds1' out of the parameter structs.

Reported-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>isci: unify isci_port and scic_sds_port</title>
<updated>2011-07-03T11:04:52Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2011-06-29T20:09:25Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ffe191c92ff195d73f9130b1490045ca2dd4c5e0'/>
<id>urn:sha1:ffe191c92ff195d73f9130b1490045ca2dd4c5e0</id>
<content type='text'>
Remove the distinction between these two implementations and unify on
isci_port (local instances named iport).  The duplicate '-&gt;owning_port' and
'-&gt;isci_port' in both isci_phy and isci_remote_device will be fixed in a later
patch... this is just the straightforward rename/unification.

Reported-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>isci: unify isci_phy and scic_sds_phy</title>
<updated>2011-07-03T11:04:52Z</updated>
<author>
<name>Dan Williams</name>
<email>dan.j.williams@intel.com</email>
</author>
<published>2011-06-28T22:05:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=852809559e4680ba4768262a6c3d21454fcd460e'/>
<id>urn:sha1:852809559e4680ba4768262a6c3d21454fcd460e</id>
<content type='text'>
They are one in the same object so remove the distinction.  The near
duplicate fields (owning_port, and isci_port) will be cleaned up
after the scic_sds_port isci_port unification.

Reported-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>isci: additional state machine cleanup</title>
<updated>2011-07-03T11:04:50Z</updated>
<author>
<name>Edmund Nadolski</name>
<email>edmund.nadolski@intel.com</email>
</author>
<published>2011-06-02T00:10:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=12ef65444de9d387a383b9991960848bed5bbe74'/>
<id>urn:sha1:12ef65444de9d387a383b9991960848bed5bbe74</id>
<content type='text'>
Additional state machine cleanups:

 o Remove static functions sci_state_machine_exit_state() and
   sci_state_machine_enter_state()
 o Combines sci_base_state_machine_construct() and
   sci_base_state_machine_start() into a single function,
   sci_init_sm()
 o Remove sci_base_state_machine_stop() which is unused.
 o Kill state_machine.[ch]

Signed-off-by: Edmund Nadolski &lt;edmund.nadolski@intel.com&gt;
[fixed too large to inline functions]
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
<entry>
<title>isci: state machine cleanup</title>
<updated>2011-07-03T11:04:50Z</updated>
<author>
<name>Edmund Nadolski</name>
<email>edmund.nadolski@intel.com</email>
</author>
<published>2011-06-02T00:10:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e301370ac553a9a0ac0d1d25e769b86cf60395b3'/>
<id>urn:sha1:e301370ac553a9a0ac0d1d25e769b86cf60395b3</id>
<content type='text'>
This cleans up several areas of the state machine mechanism:

 o Rename sci_base_state_machine_change_state to sci_change_state
 o Remove sci_base_state_machine_get_state function
 o Rename 'state_machine' struct member to 'sm' in client structs
 o Shorten the name of request states
 o Shorten state machine state names as follows:
        SCI_BASE_CONTROLLER_STATE_xxx to SCIC_xxx
        SCI_BASE_PHY_STATE_xxx to SCI_PHY_xxx
        SCIC_SDS_PHY_STARTING_SUBSTATE_xxx to SCI_PHY_SUB_xxx
        SCI_BASE_PORT_STATE_xxx to SCI_PORT_xxx and
        SCIC_SDS_PORT_READY_SUBSTATE_xxx to SCI_PORT_SUB_xxx
        SCI_BASE_REMOTE_DEVICE_STATE_xxx to SCI_DEV_xxx
        SCIC_SDS_STP_REMOTE_DEVICE_READY_SUBSTATE_xxx to SCI_STP_DEV_xxx
        SCIC_SDS_SMP_REMOTE_DEVICE_READY_SUBSTATE_xxx to SCI_SMP_DEV_xxx
        SCIC_SDS_REMOTE_NODE_CONTEXT_xxx_STATE to SCI_RNC_xxx

Signed-off-by: Edmund Nadolski &lt;edmund.nadolski@intel.com&gt;
Signed-off-by: Dave Jiang &lt;dave.jiang@intel.com&gt;
Signed-off-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
</content>
</entry>
</feed>
