1、American National StandardDeveloped byfor Information Technology SAS Protocol Layer - 3(SPL-3)INCITS 492-2015INCITS 492-2015INCITS 492-2015American National Standardfor Information Technology SAS Protocol Layer - 3(SPL-3)SecretariatInformation Technology Industry CouncilApproved January 26, 2015Amer
2、ican National Standards Institute, Inc.AbstractThis standard specifies three transport protocols used over the SAS interconnect specified in SAS-3, oneto transport SCSI commands, another to transport Serial ATA commands to multiple SATA devices, anda third to support interface management. This stand
3、ard is intended to be used in conjunction with SASstandards, SCSI command set standards, and ATA command set standards.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards deve
4、loper.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allview
5、s and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing,
6、or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterp
7、retation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithd
8、rawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational S
9、tandards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2015 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic ret
10、rieval system or otherwise,without prior written permission of ITI, 1101 K Street NW, Suite 610, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may be re-quired for the implementation of the standard d
11、isclose such patents to the publisher. However, nei-ther the developers nor the publisher have undertaken a patent search in order to identify which, ifany, patents may apply to this standard. As of the date of publication of this standard, followingcalls for the identification of patents that may b
12、e required for the implementation of the standard,notice of one or more such claims has been received. By publication of this standard, no positionis taken with respect to the validity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a stat
13、ement of willingness to grant a license underthese rights on reasonable and nondiscriminatory terms and conditions to applicants desiring to ob-tain such a license. Details may be obtained from the publisher. No further patent search is con-ducted by the developer or publisher in respect to any stan
14、dard it processes. No representation ismade or implied that this is the only license that may be required to avoid infringement in the use ofthis standard.iContentsPageForeword xxxviiIntroduction . xlii1 Scope. 12 Normative references. 32.1 Normative references . 32.2 Approved references 32.3 Refere
15、nces under development . 32.4 Other references. 33 Definitions, symbols, abbreviations, keywords, and conventions 53.1 Definitions. 53.2 Symbols and abbreviations 273.2.1 Abbreviations 273.2.2 Units 293.2.3 Symbols 303.2.4 Mathematical operators 303.3 Keywords 303.4 Editorial conventions 313.5 Numer
16、ic and character conventions . 323.5.1 Numeric conventions 323.5.2 Units of measure. 333.5.3 Byte encoded character strings conventions 343.6 UML notation conventions 343.6.1 Notation conventions overview . 343.6.2 Constraint and note conventions 343.6.3 Class diagram conventions. 353.6.4 Object dia
17、gram conventions . 403.7 State machine conventions 423.7.1 State machine conventions overview 423.7.2 Transitions 433.7.3 Messages, requests, indications, confirmations, responses, and event notifications . 433.7.4 State machine counters, timers, and variables . 433.7.5 State machine arguments . 443
18、.8 Bit and byte ordering 443.9 Notation for procedures and functions 454 General 464.1 Architecture 464.1.1 Architecture overview 464.1.2 Physical links and phys. 484.1.3 Logical links 524.1.4 Narrow ports and wide ports . 524.1.5 Application clients and device servers 564.1.6 SAS devices 564.1.7 Ex
19、pander devices . 574.1.8 Service delivery subsystem 584.1.9 Domains 594.1.10 Expander device topologies 624.1.10.1 Expander device topology overview 624.1.10.2 Expander device topologies 634.1.11 Pathways 654.1.12 Connections 654.1.13 Persistent connections 67ii4.1.13.1 Persistent connection operati
20、on 674.1.13.2 Persistent connection support . 684.1.14 Advancing credit . 684.1.15 Broadcasts 684.2 Names and identifiers. 704.2.1 Names and identifiers overview 704.2.2 NAA IEEE Registered format identifier . 724.2.3 NAA Locally Assigned format identifier. 734.2.4 SAS address . 734.2.5 Hashed SAS a
21、ddresses 734.2.6 Device names and expander device SAS addresses . 744.2.7 Device names for SATA devices with world wide names . 754.2.8 Port names 754.2.9 Port identifiers and SAS port SAS addresses. 754.2.10 Phy identifiers . 764.3 State machines. 774.3.1 State machine overview 774.3.2 Transmit dat
22、a path 784.3.3 Receive data path . 834.3.4 State machines and SAS Device, SAS Port, and SAS Phy classes. 874.4 Events. 894.4.1 Reset sequences 894.4.2 Hard reset . 914.4.2.1 Hard reset overview 914.4.2.2 Additional hard reset processing by SAS ports .914.4.2.3 Additional hard reset processing by exp
23、ander ports . 914.4.3 I_T nexus loss. 914.4.4 Power loss expected. 924.5 Expander device model 934.5.1 Expander device model overview . 934.5.2 Expander ports 944.5.3 Expander connection manager (ECM) 954.5.4 Expander connection router (ECR). 954.5.5 Broadcast propagation processor (BPP) 964.5.6 Exp
24、ander device interfaces. 964.5.6.1 Expander device interface overview 964.5.6.2 Expander device interfaces detail . 984.5.6.3 ECM interface 994.5.6.4 ECR interface 1014.5.6.5 BPP interface 1034.5.7 Expander device routing . 1044.5.7.1 Routing attributes and routing methods 1044.5.7.2 Expander device
25、 topology routing attribute restrictions. 1054.5.7.3 Connection request routing . 1054.5.7.4 Expander route table . 1054.5.7.4.1 Expander route table overview 1054.5.7.4.2 Phy-based expander route table 1064.5.7.4.3 Expander-based expander route table 1074.5.8 Expander device reduced functionality .
26、 1074.5.9 Broadcast (Expander) handling 1084.6 Discover process 1084.6.1 Discover process overview . 1084.6.2 Starting the discover process (Broadcast (Change) handling) . 1084.6.3 Discover process traversal 1094.6.4 Discover process in a self-configuring expander device. 1114.6.5 Enabling multiplex
27、ing 1124.7 Configuration subprocess. 112iii4.7.1 Configuration subprocess overview 1124.7.2 Allowed expander device topologies. 1134.7.3 Externally configurable expander device route table optimization 1144.7.4 Externally configurable expander device expander route index order 1154.8 Zoning. 1224.8.
28、1 Zoning overview 1224.8.2 Zoning expander device requirements 1264.8.3 Zoning operation . 1294.8.3.1 Zone phy information. 1294.8.3.2 Zone groups 1314.8.3.3 Zone permission table . 1324.8.3.4 Zoning expander route table . 1344.8.3.5 Source zone group and destination zone group determination. 1354.8
29、.4 Zone phy information and link reset sequences . 1364.8.5 Broadcast processing in a zoning expander device with zoning enabled. 1394.8.6 Zone configuration 1404.8.6.1 Zone configuration overview . 1404.8.6.2 Lock step . 1404.8.6.3 Load step. 1414.8.6.4 Activate step 1424.8.6.5 Unlock step 1424.8.6
30、.6 Zone lock inactivity timer . 1434.8.6.7 Enable a zoning expander device . 1434.9 SAS device and expander device power conditions. 1434.10 Phy power conditions . 1444.10.1 Low phy power conditions. 1444.10.1.1 Low phy power conditions overview 1444.10.1.2 Active phy power condition 1444.10.1.3 Par
31、tial phy power condition . 1444.10.1.4 Slumber phy power condition 1444.10.1.5 End device low phy power conditions . 1454.10.1.6 Expander device low phy power conditions 1454.10.2 SATA phy power conditions 1464.11 Phy test functions . 1464.11.1 Phy test functions overview 1464.11.2 Transmit pattern
32、phy test function. 1474.12 Phy events 1474.13 Using POWER DISABLE signal to create a power on event 1524.13.1 Using POWER DISABLE signal to create a power on event overview. 1524.13.2 Discovering POWER DISABLE signal support . 1524.13.3 Using a management device server to control the POWER DISABLE s
33、ignal 1535 Phy layer 1545.1 Phy layer overview . 1545.2 8b10b coding 1545.2.1 8b10b coding overview . 1545.2.2 8b10b coding notation conventions 1545.3 Character encoding and decoding 1555.3.1 Introduction . 1555.3.2 Bit transmission order . 1555.3.3 Character transmission order 1555.3.4 Frame trans
34、mission order . 1565.3.5 Running disparity (RD) 1565.3.6 Data characters. 1565.3.7 Control characters. 1625.3.8 Encoding characters in the transmitter . 1635.3.9 Decoding characters in the receiver . 163iv5.4 Dwords, primitives, data dwords, and invalid dwords. 1645.5 Bit order 1645.6 Out of band (O
35、OB) signals . 1665.6.1 OOB signals overview. 1665.6.2 Transmission of OOB signals . 1665.6.3 Receiver detection of OOB signals . 1675.6.4 SATA port selection signal 1695.6.5 Phy power conditions 1705.7 Phy capabilities bits 1705.8 BMC coding 1745.8.1 BMC coding overview . 1745.8.2 TTIU bit cell enco
36、ding in the transmitter . 1755.8.3 TTIU bit transmission order. 1765.8.4 TTIU bit cell decoding in the receiver 1765.9 Train_Tx-SNW TTIUs . 1775.9.1 Train_Tx-SNW TTIU format 1775.9.2 Control/Status TTIU 1785.9.3 Error Response TTIU 1825.10 Phy reset sequences 1845.10.1 Phy reset sequences overview .
37、 1845.10.2 SATA phy reset sequence 1855.10.2.1 SATA OOB sequence . 1855.10.2.2 SATA speed negotiation sequence . 1865.10.3 SAS to SATA phy reset sequence 1865.10.4 SAS to SAS phy reset sequence 1885.10.4.1 SAS OOB sequence 1885.10.4.2 SAS speed negotiation sequence . 1915.10.4.2.1 SAS speed negotiat
38、ion sequence overview 1915.10.4.2.2 SAS speed negotiation sequence timing specifications 1925.10.4.2.3 Speed negotiation window (SNW) definitions 1935.10.4.2.3.1 SNW definitions overview . 1935.10.4.2.3.2 SNW-1, SNW-2, and Final-SNW. 1945.10.4.2.3.3 SNW-3. 1955.10.4.2.3.4 Train_Tx-SNW 1975.10.4.2.3.
39、4.1 Phys transmitter initial condition 1975.10.4.2.3.4.2 Transmitter training. 1975.10.4.2.3.4.3 Pattern marker 1985.10.4.2.3.5 Train_Rx-SNW 2005.10.4.2.4 SAS speed negotiation sequence 2035.10.4.2.5 SAS speed negotiation sequence examples . 2045.10.4.2.6 Train_Tx pattern sequence 2125.10.4.2.6.1 Tr
40、ain_Tx pattern sequence overview 2125.10.4.2.6.2 Train_Tx pattern initial sequence 2135.10.4.2.6.3 Train_Tx pattern handshake sequence. 2165.10.4.2.6.3.1 Train_Tx pattern handshake sequence overview. 2165.10.4.2.6.3.2 Attached phys receiver increment or decrement request 2165.10.4.2.6.3.3 Attached p
41、hys receiver reference_1, reference_2, or no_equalization request 2195.10.4.2.6.4 Train_Tx pattern completion sequence. 2215.10.4.2.6.5 Invalid TTIU sequence 2245.10.4.3 Multiplexing sequence. 2255.10.5 Phy reset sequence after devices are attached 2265.11 Phy power condition sequences. 2275.11.1 Tr
42、ansitioning from the active phy power condition to a low phy power condition . 2275.11.2 Transitioning from a low phy power condition to the active phy power condition . 2285.11.3 Events during low phy power condition. 2285.12 SP (phy layer) state machine . 2305.12.1 SP state machine overview. 230v5
43、.12.2 SP transmitter and SP receiver. 2325.12.3 OOB sequence states. 2355.12.3.1 OOB sequence states overview 2355.12.3.2 SP0:OOB_COMINIT state. 2365.12.3.2.1 State description 2365.12.3.2.2 Transition SP0:OOB_COMINIT to SP1:OOB_AwaitCOMX. 2375.12.3.2.3 Transition SP0:OOB_COMINIT to SP3:OOB_AwaitCOM
44、INIT_Sent. 2375.12.3.2.4 Transition SP0:OOB_COMINIT to SP4:OOB_COMSAS. 2375.12.3.3 SP1:OOB_AwaitCOMX state 2375.12.3.3.1 State description 2375.12.3.3.2 Transition SP1:OOB_AwaitCOMX to SP0:OOB_COMINIT. 2375.12.3.3.3 Transition SP1:OOB_AwaitCOMX to SP4:OOB_COMSAS 2375.12.3.4 SP2:OOB_NoCOMSASTimeout s
45、tate. 2385.12.3.4.1 State description 2385.12.3.4.2 Transition SP2:OOB_NoCOMSASTimeout to SP0:OOB_COMINIT . 2385.12.3.4.3 Transition SP2:OOB_NoCOMSASTimeout to SP4:OOB_COMSAS. 2385.12.3.5 SP3:OOB_AwaitCOMINIT_Sent state 2385.12.3.5.1 State description 2385.12.3.5.2 Transition SP3:OOB_AwaitCOMINIT_Se
46、nt to SP4:OOB_COMSAS 2385.12.3.6 SP4:OOB_COMSAS state 2385.12.3.6.1 State description 2385.12.3.6.2 Transition SP4:OOB_COMSAS to SP5:OOB_AwaitCOMSAS_Sent 2395.12.3.6.3 Transition SP4:OOB_COMSAS to SP6:OOB_AwaitNoCOMSAS. 2395.12.3.6.4 Transition SP4:OOB_COMSAS to SP7:OOB_AwaitCOMSAS . 2395.12.3.7 SP5
47、:OOB_AwaitCOMSAS_Sent state 2395.12.3.7.1 State description 2395.12.3.7.2 Transition SP5:OOB_AwaitCOMSAS_Sent to SP6:OOB_AwaitNoCOMSAS. 2395.12.3.8 SP6:OOB_AwaitNoCOMSAS state. 2395.12.3.8.1 State description 2395.12.3.8.2 Transition SP6:OOB_AwaitNoCOMSAS to SP0:OOB_COMINIT . 2395.12.3.8.3 Transitio
48、n SP6:OOB_AwaitNoCOMSAS to SP8:SAS_Start 2405.12.3.9 SP7:OOB_AwaitCOMSAS state . 2405.12.3.9.1 State description 2405.12.3.9.2 Transition SP7:OOB_AwaitCOMSAS to SP2:OOB_NoCOMSASTimeout 2405.12.3.9.3 Transition SP7:OOB_AwaitCOMSAS to SP6:OOB_AwaitNoCOMSAS 2405.12.3.9.4 Transition SP7:OOB_AwaitCOMSAS
49、to SP16:SATA_COMWAKE. 2405.12.3.9.5 Transition SP7:OOB_AwaitCOMSAS to SP26:SATA _SpinupHold 2405.12.4 SAS speed negotiation states. 2415.12.4.1 SAS speed negotiation states overview 2415.12.4.2 Negotiation idle 2415.12.4.3 SP8:SAS_Start state . 2445.12.4.3.1 State description 2445.12.4.3.2 Transition SP8:SAS_Start to SP0:OOB_COMINIT . 2445.12.4.3.3 Transition SP8:SAS_Start to SP1:OOB_AwaitCOMX . 2455.12.4.3.4 Transition SP8:SAS_Start to SP9:SAS_WindowNotSupported 2455.12.4.3.5 Transition SP8:SAS_Start to SP10:SAS_AwaitALIGN 2455.12.4.3.6 Transition SP8:SAS_Start to SP27:SAS_Setting