1、Information technology Small Computer System Interface (SCSI) Part 262: SAS Protocol Layer 2 (SPL-2) BS ISO/IEC 14776-262:2017 BSI Standards Publication WB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06National foreword This British Standard is the UK implementation of ISO/IEC 14776-262:2017.
2、 The UK participation in its preparation was entrusted to Technical Committee I/-, Miscellaneous standards materials and chemicals. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provis
3、ions of a contract. Users are responsible for its correct application. The British Standards Institution 2017. Published by BSI Standards Limited 2017 ISBN 978 0 580 84346 4 ICS 35.200 Compliance with a British Standard cannot confer immunity from legal obligations. This British Standard was publish
4、ed under the authority of the Standards Policy and Strategy Committee on 31 March 2017. Amendments/corrigenda issued since publication Date Text affected BRITISH STANDARD BS ISO/IEC 14776-262:2017 ISO/IEC 14776-262 Edition 1.0 2017-02 INTERNATIONAL STANDARD Information technology Small Computer Syst
5、em Interface (SCSI) Part 262: SAS Protocol Layer 2 (SPL-2) INTERNATIONAL ELECTROTECHNICAL COMMISSION ICS 35.200 ISBN 978-2-8322-3952-0 Warning! Make sure that you obtained this publication from an authorized distributor. colour inside BS ISO/IEC 14776-262:2017ISO/IEC 14776-262:2017 ISO/IEC 2017 2 FO
6、REWORD. 37 INTRODUCTION. 38 General . 38 SCSI standards family. 39 1 Scope. 40 2 Normative references. 41 3 Terms, definitions, symbols, abbreviations, keywords, and conventions. 42 3.1 Terms and definitions . 42 3.2 Symbols and abbreviations 71 3.3 Keywords 74 3.4 Editorial conventions 75 3.5 UML n
7、otation conventions 76 3.5.1 Notation conventions overview . 76 3.5.2 Constraint and note conventions 77 3.5.3 Class diagram conventions. 77 3.5.4 Object diagram conventions . 81 3.6 State machine conventions 83 3.6.1 State machine conventions overview 83 3.6.2 Transitions 84 3.6.3 Messages, request
8、s, indications, confirmations, responses, and event notifications. 84 3.6.4 State machine counters, timers, and variables. 84 3.6.5 State machine arguments. 85 3.7 Bit and byte ordering 85 3.8 Notation for procedures and functions 85 4 General 87 4.1 Architecture 87 4.1.1 Architecture overview 87 4.
9、1.2 Physical links and phys. 88 4.1.3 Logical links 93 4.1.4 Narrow ports and wide ports. 93 4.1.5 Application clients and device servers 96 4.1.6 SAS devices 97 4.1.7 Expander devices . 98 4.1.8 Service delivery subsystem 99 4.1.9 Domains 99 4.1.10 Expander device topologies 102 4.1.10.1 Expander d
10、evice topology overview 102 4.1.10.2 Expander device topologies 102 4.1.11 Pathways 104 4.1.12 Connections 104 4.1.13 Broadcasts 106 4.2 Names and identifiers. 109 4.2.1 Names and identifiers overview 109 4.2.2 NAA IEEE Registered format identifier . 109 4.2.3 NAA Locally Assigned format identifier.
11、 110 4.2.4 SAS address. 111 4.2.5 Hashed SAS addresses 111 4.2.6 Device names and expander device SAS addresses. 112 4.2.7 Device names for SATA devices with world wide names . 112 4.2.8 Port names 113 4.2.9 Port identifiers and SAS port SAS addresses. 113 4.2.10 Phy identifiers . 114 4.3 State mach
12、ines. 115 4.3.1 State machine overview 115 BS ISO/IEC 14776-262:2017 3 ISO/IEC 14776-262:2017 ISO/IEC 20174.3.2 Transmit data path 116 4.3.3 Receive data path. 121 4.3.4 State machines and SAS Device, SAS Port, and SAS Phy classes. 125 4.4 Events. 126 4.4.1 Reset sequences 126 4.4.2 Hard reset . 128
13、 4.4.2.1 Hard reset overview 128 4.4.2.2 Additional hard reset processing by SAS ports. 128 4.4.2.3 Additional hard reset processing by expander ports . 128 4.4.3 I_T nexus loss. 128 4.4.4 Power loss expected. 129 4.5 Expander device model 129 4.5.1 Expander device model overview . 129 4.5.2 Expande
14、r ports 131 4.5.3 Expander connection manager (ECM) 131 4.5.4 Expander connection router (ECR). 131 4.5.5 Broadcast propagation processor (BPP) 132 4.5.6 Expander device interfaces. 132 4.5.6.1 Expander device interface overview 132 4.5.6.2 Expander device interfaces detail . 134 4.5.6.3 ECM interfa
15、ce 135 4.5.6.4 ECR interface 137 4.5.6.5 BPP interface 138 4.5.7 Expander device routing . 140 4.5.7.1 Routing attributes and routing methods 140 4.5.7.2 Expander device topology routing attribute restrictions. 140 4.5.7.3 Connection request routing . 141 4.5.7.4 Expander route table. 141 4.5.7.4.1
16、Expander route table overview 141 4.5.7.4.2 Phy-based expander route table 142 4.5.7.4.3 Expander-based expander route table 143 4.5.8 Expander device reduced functionality . 143 4.5.9 Broadcast (Expander) handling 144 4.6 Discover process 144 4.6.1 Discover process overview . 144 4.6.2 Starting the
17、 discover process (Broadcast (Change) handling) . 144 4.6.3 Discover process traversal 144 4.6.4 Discover process in a self-configuring expander device. 146 4.6.5 Enabling multiplexing 147 4.7 Configuration subprocess. 147 4.7.1 Configuration subprocess overview 147 4.7.2 Allowed expander device top
18、ologies. 148 4.7.3 Externally configurable expander device route table optimization 149 4.7.4 Externally configurable expander device expander route index order 150 4.8 Zoning. 157 4.8.1 Zoning overview 157 4.8.2 Zoning expander device requirements 161 4.8.3 Zoning operation. 164 4.8.3.1 Zone phy in
19、formation. 164 4.8.3.2 Zone groups 166 4.8.3.3 Zone permission table. 166 4.8.3.4 Zoning expander route table . 168 4.8.3.5 Source zone group and destination zone group determination. 169 4.8.4 Zone phy information and link reset sequences . 169 4.8.5 Broadcast processing in a zoning expander device
20、 with zoning enabled. 172 4.8.6 Zone configuration 172 4.8.6.1 Zone configuration overview . 172 4.8.6.2 Lock step. 173 BS ISO/IEC 14776-262:2017ISO/IEC 14776-262:2017 ISO/IEC 2017 4 4.8.6.3 Load step. 173 4.8.6.4 Activate step 174 4.8.6.5 Unlock step 174 4.8.6.6 Zone lock inactivity timer. 175 4.8.
21、6.7 Enable a zoning expander device . 175 4.9 SAS device and expander device power conditions. 176 4.10 Phy power conditions . 176 4.10.1 Low phy power conditions. 176 4.10.1.1 Low phy power conditions overview 176 4.10.1.2 Active phy power condition 176 4.10.1.3 Partial phy power condition . 176 4.
22、10.1.4 Slumber phy power condition 177 4.10.1.5 End device low phy power conditions . 177 4.10.1.6 Expander device low phy power conditions 177 4.10.2 SATA phy power conditions 178 4.11 Phy test functions . 178 4.11.1 Phy test functions overview 178 4.11.2 Transmit pattern phy test function. 179 4.1
23、2 Phy events 179 5 Phy layer 184 5.1 Phy layer overview . 184 5.2 8b10b coding 184 5.2.1 8b10b coding overview . 184 5.2.2 8b10b coding notation conventions 184 5.3 Character encoding and decoding 185 5.3.1 Introduction . 185 5.3.2 Bit transmission order . 185 5.3.3 Character transmission order 185
24、5.3.4 Frame transmission order. 185 5.3.5 Running disparity (RD) 186 5.3.6 Data characters. 186 5.3.7 Control characters. 191 5.3.8 Encoding characters in the transmitter . 192 5.3.9 Decoding characters in the receiver . 193 5.4 Dwords, primitives, data dwords, and invalid dwords. 193 5.5 Bit order
25、193 5.6 Out of band (OOB) signals . 195 5.6.1 OOB signals overview. 195 5.6.2 SP Transmission of OOB signals 195 5.6.3 Receiver detection of OOB signals. 196 5.6.4 SATA port selection signal 198 5.6.5 Phy power conditions 199 5.7 Phy capabilities bits 199 5.8 BMC coding 203 5.8.1 BMC coding overview
26、 . 203 5.8.2 TTIU bit cell encoding in the transmitter . 204 5.8.3 TTIU bit transmission order. 205 5.8.4 TTIU bit cell decoding in the receiver 205 5.9 Train_Tx-SNW TTIUs. 206 5.9.1 Train_Tx-SNW TTIU format 206 5.9.2 Control/Status TTIU 207 5.9.3 Error Response TTIU 211 5.10 Phy reset sequences 213
27、 5.10.1 Phy reset sequences overview . 213 5.10.2 SATA phy reset sequence 214 5.10.2.1 SATA OOB sequence . 214 5.10.2.2 SATA speed negotiation sequence. 215 BS ISO/IEC 14776-262:2017 5 ISO/IEC 14776-262:2017 ISO/IEC 20175.10.3 SAS to SATA phy reset sequence 216 5.10.4 SAS to SAS phy reset sequence 2
28、17 5.10.4.1 SAS OOB sequence 217 5.10.4.2 SAS speed negotiation sequence . 219 5.10.4.2.1 SAS speed negotiation sequence overview 219 5.10.4.2.2 SAS speed negotiation sequence timing specifications 219 5.10.4.2.3 Speed negotiation window (SNW) definitions 221 5.10.4.2.3.1 SNW definitions overview 22
29、1 5.10.4.2.3.2 SNW-1, SNW-2, and Final-SNW 221 5.10.4.2.3.3 SNW-3 223 5.10.4.2.3.4 Train_Tx-SNW . 224 5.10.4.2.3.4.1 Phys transmitter initial condition 224 5.10.4.2.3.4.2 Transmitter training. 224 5.10.4.2.3.4.3 Pattern marker 226 5.10.4.2.3.5 Train_Rx-SNW. 227 5.10.4.2.4 SAS speed negotiation seque
30、nce230 5.10.4.2.5 SAS speed negotiation sequence examples . 231 5.10.4.2.6 Train_Tx pattern sequence 239 5.10.4.2.6.1 Train_Tx pattern sequence overview. 239 5.10.4.2.6.2 Train_Tx pattern initial sequence.239 5.10.4.2.6.3 Train_Tx pattern handshake sequence 243 5.10.4.2.6.3.1 Train_Tx pattern handsh
31、ake sequence overview. 243 5.10.4.2.6.3.2 Attached phys receiver increment or decrement request 243 5.10.4.2.6.3.3 Attached phys receiver reference_1, reference_2, or no_equalization request 246 5.10.4.2.6.4 Train_Tx pattern completion sequence 248 5.10.4.2.6.5 Invalid TTIU sequence . 251 5.10.4.3 M
32、ultiplexing sequence. 252 5.10.5 Phy reset sequence after devices are attached 253 5.11 Phy power condition sequences. 254 5.11.1 Transitioning from the active phy power condition to a low phy power condition . 254 5.11.2 Transitioning from a low phy power condition to the active phy power condition
33、 . 254 5.11.3 Events during low phy power condition. 255 5.12 SP (phy layer) state machine . 256 5.12.1 SP state machine overview. 256 5.12.2 SP transmitter and SP receiver. 259 5.12.3 OOB sequence states. 262 5.12.3.1 OOB sequence states overview 262 5.12.3.2 SP0:OOB_COMINIT state. 263 5.12.3.2.1 S
34、tate description 263 5.12.3.2.2 Transition SP0:OOB_COMINIT to SP1:OOB_AwaitCOMX. 264 5.12.3.2.3 Transition SP0:OOB_COMINIT to SP3:OOB_AwaitCOMINIT_Sent. 264 5.12.3.2.4 Transition SP0:OOB_COMINIT to SP4:OOB_COMSAS. 264 5.12.3.3 SP1:OOB_AwaitCOMX state 264 5.12.3.3.1 State description 264 5.12.3.3.2 T
35、ransition SP1:OOB_AwaitCOMX to SP0:OOB_COMINIT. 264 5.12.3.3.3 Transition SP1:OOB_AwaitCOMX to SP4:OOB_COMSAS 264 5.12.3.4 SP2:OOB_NoCOMSASTimeout state. 264 5.12.3.4.1 State description 264 5.12.3.4.2 Transition SP2:OOB_NoCOMSASTimeout to SP0:OOB_COMINIT . 265 5.12.3.4.3 Transition SP2:OOB_NoCOMSAS
36、Timeout to SP4:OOB_COMSAS. 265 5.12.3.5 SP3:OOB_AwaitCOMINIT_Sent state 265 5.12.3.5.1 State description 265 5.12.3.5.2 Transition SP3:OOB_AwaitCOMINIT_Sent to SP4:OOB_COMSAS 265 5.12.3.6 SP4:OOB_COMSAS state 265 5.12.3.6.1 State description 265 5.12.3.6.2 Transition SP4:OOB_COMSAS to SP5:OOB_AwaitC
37、OMSAS_Sent 265 5.12.3.6.3 Transition SP4:OOB_COMSAS to SP6:OOB_AwaitNoCOMSAS. 265 5.12.3.6.4 Transition SP4:OOB_COMSAS to SP7:OOB_AwaitCOMSAS . 266 BS ISO/IEC 14776-262:2017ISO/IEC 14776-262:2017 ISO/IEC 2017 6 5.12.3.7 SP5:OOB_AwaitCOMSAS_Sent state 266 5.12.3.7.1 State description 266 5.12.3.7.2 T
38、ransition SP5:OOB_AwaitCOMSAS_Sent to SP6:OOB_AwaitNoCOMSAS. 266 5.12.3.8 SP6:OOB_AwaitNoCOMSAS state. 266 5.12.3.8.1 State description 266 5.12.3.8.2 Transition SP6:OOB_AwaitNoCOMSAS to SP0:OOB_COMINIT . 266 5.12.3.8.3 Transition SP6:OOB_AwaitNoCOMSAS to SP8:SAS_Start 266 5.12.3.9 SP7:OOB_AwaitCOMS
39、AS state .266 5.12.3.9.1 State description 266 5.12.3.9.2 Transition SP7:OOB_AwaitCOMSAS to SP2:OOB_NoCOMSASTimeout 266 5.12.3.9.3 Transition SP7:OOB_AwaitCOMSAS to SP6:OOB_AwaitNoCOMSAS 266 5.12.3.9.4 Transition SP7:OOB_AwaitCOMSAS to SP16:SATA_COMWAKE. 266 5.12.3.9.5 Transition SP7:OOB_AwaitCOMSAS
40、 to SP26:SATA _SpinupHold 267 5.12.4 SAS speed negotiation states. 267 5.12.4.1 SAS speed negotiation states overview 267 5.12.4.2 Negotiation idle 267 5.12.4.3 SP8:SAS_Start state. 270 5.12.4.3.1 State description 270 5.12.4.3.2 Transition SP8:SAS_Start to SP0:OOB_COMINIT . 270 5.12.4.3.3 Transitio
41、n SP8:SAS_Start to SP1:OOB_AwaitCOMX. 270 5.12.4.3.4 Transition SP8:SAS_Start to SP9:SAS_WindowNotSupported 271 5.12.4.3.5 Transition SP8:SAS_Start to SP10:SAS_AwaitALIGN 271 5.12.4.3.6 Transition SP8:SAS_Start to SP27:SAS_Settings 271 5.12.4.4 SP9:SAS_WindowNotSupported state 271 5.12.4.4.1 State d
42、escription 271 5.12.4.4.2 Transition SP9:SAS_WindowNotSupported to SP0:OOB_COMINIT 271 5.12.4.4.3 Transition SP9:SAS_WindowNotSupported to SP14:SAS_Fail 271 5.12.4.5 SP10:SAS_AwaitALIGN state. 271 5.12.4.5.1 State description 271 5.12.4.5.2 Transition SP10:SAS_AwaitALIGN to SP0:OOB_COMINIT . 271 5.1
43、2.4.5.3 Transition SP10:SAS_AwaitALIGN to SP11:SAS_AwaitALIGN1 271 5.12.4.5.4 Transition SP10:SAS_AwaitALIGN to SP12:SAS_AwaitSNW 272 5.12.4.5.5 Transition SP10:SAS_AwaitALIGN to SP14:SAS_Fail 272 5.12.4.6 SP11:SAS_AwaitALIGN1 state. 272 5.12.4.6.1 State description 272 5.12.4.6.2 Transition SP11:SA
44、S_AwaitALIGN1 to SP0:OOB_COMINIT . 272 5.12.4.6.3 Transition SP11:SAS_AwaitALIGN1 to SP12:SAS_AwaitSNW 272 5.12.4.6.4 Transition SP11:SAS_AwaitALIGN1 to SP14:SAS_Fail 272 5.12.4.7 SP12:SAS_AwaitSNW state . 272 5.12.4.7.1 State description 272 5.12.4.7.2 Transition SP12:SAS_AwaitSNW to SP0:OOB_COMINI
45、T 272 5.12.4.7.3 Transition SP12:SAS_AwaitSNW to SP13:SAS_Pass 272 5.12.4.8 SP13:SAS_Pass state. 273 5.12.4.8.1 State description 273 5.12.4.8.2 Transition SP13:SAS_Pass to SP0:OOB_COMINIT. 273 5.12.4.8.3 Transition SP13:SAS_Pass to SP8:SAS_Start . 273 5.12.4.8.4 Transition SP13:SAS_Pass to SP15:SAS
46、_PHY_Ready . 273 5.12.4.9 SP14:SAS_Fail state. 273 5.12.4.9.1 State description 273 5.12.4.9.2 Transition SP14:SAS_Fail to SP1:OOB_AwaitCOMX. 273 5.12.4.9.3 Transition SP14:SAS_Fail to SP8:SAS_Start 273 5.12.4.10 SP15:SAS_PHY_Ready state. 273 5.12.4.10.1 State description 273 5.12.4.10.2 Transition
47、SP15:SAS_PHY_Ready to SP0:OOB_COMINIT . 274 5.12.4.10.3 Transition SP15:SAS_PHY_Ready to SP31:SAS_PS_Low_Phy_Power . 274 5.12.4.11 SP27:SAS_Settings state 274 5.12.4.11.1 State description 274 5.12.4.11.2 Transition SP27:SAS_Settings to SP0:OOB_COMINIT 274 BS ISO/IEC 14776-262:2017 7 ISO/IEC 14776-2
48、62:2017 ISO/IEC 20175.12.4.11.3 Transition SP27:SAS_Settings to SP1:OOB_AwaitCOMX 275 5.12.4.11.4 Transition SP27:SAS_Settings to SP8:SAS_Start 275 5.12.4.11.5 Transition SP27:SAS_Settings to SP28:SAS_TrainSetup 275 5.12.4.12 SP28:SAS_TrainSetup 275 5.12.4.12.1 State description 275 5.12.4.12.2 Tran
49、sition SP28:SAS_TrainSetup to SP0:OOB_COMINIT . 275 5.12.4.12.3 Transition SP28:SAS_TrainSetup to SP29:SAS_Train_Rx. 276 5.12.4.12.4 Transition SP28:SAS_TrainSetup to SP34:SAS_Train_Tx . 276 5.12.4.13 SP34:SAS_Train_Tx state 276 5.12.4.13.1 State description 276 5.12.4.13.2 Transition SP34:SAS_Train_Tx to SP1:OOB_AwaitCOMX 276 5.12.4.13.3 Transition SP34:SAS_Train_Tx to SP28:SAS_TrainSetup . 276 5.12.4.13.4 Transition SP34:SAS_Train_Tx to SP29:SAS_Train_Rx 277 5.12.4.14 SP29:SAS_Train_Rx state 277 5.12.4.14.1 State description 277 5.12.4.14.2 T
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1