logo资料库

USB Attached SCSI - 3 (UAS-3) Revision 02 March 29, 2020.pdf

第1页 / 共61页
第2页 / 共61页
第3页 / 共61页
第4页 / 共61页
第5页 / 共61页
第6页 / 共61页
第7页 / 共61页
第8页 / 共61页
资料共61页,剩余部分请下载后查看
Document Status
Proposals added to UAS-3
Contents
Tables
Figures
Foreword
Introduction
1 Scope
2 Normative references
2.1 Normative references
2.2 Approved references
2.3 References under development
2.4 Other references
3 Definitions, symbols, abbreviations, and conventions
3.1 Definitions
3.2 Symbols and abbreviations
3.3 Keywords
3.4 Editorial conventions
3.5 Numeric and character conventions
3.5.1 Numeric conventions
3.5.2 Byte encoded character strings conventions
3.6 Sequence figure notation
3.7 Notation for procedures and functions
4 Model
4.1 Model overview
4.2 Tag handling
4.3 Data transfers
4.4 UAS domain
4.5 Names and identifiers
4.6 Resets
4.7 I_T Nexus loss
4.8 Target power loss expected
4.9 USB error handling
5 USB
5.1 USB overview
5.2 USB resource requirements
5.2.1 Overview
5.2.2 USB class specific requests
5.2.3 USB descriptors
5.2.3.1 Device descriptor
5.2.3.2 Configuration descriptor
5.2.3.3 Interface descriptor
5.2.3.4 Endpoint descriptors
5.3.3.5 Pipe Usage class specific descriptor
6 Transport
6.1 Transport overview
6.2 IUs
6.2.1 Overview
6.2.2 COMMAND IU
6.2.3 READ READY IU
6.2.4 WRITE READY IU
6.2.5 SENSE IU
6.2.6 RESPONSE IU
6.2.7 TASK MANAGEMENT IU
6.3 Information unit sequences
6.3.1 Overview
6.3.2 Non-data command/sense sequence
6.3.3 Non-data command/response sequence
6.3.4 Data-out command sequence
6.3.5 Data-in command sequence
6.3.6 Task management function sequence
6.3.7 Bi-directional command sequence
6.3.8 Multiple command example
6.4 Transport requirements
7 SCSI Application Layer
7.1 Device Identification VPD page
7.2 Transport Protocol Services
7.2.1 SCSI transport protocol services overview
7.2.2 Send SCSI Command transport protocol service
7.2.3 SCSI Command Received transport protocol service
7.2.4 Send Command Complete transport protocol service
7.2.5 Command Complete Received transport protocol service
7.2.6 Send Data-In transport protocol service
7.2.7 Data-In Delivered transport protocol service
7.2.8 Receive Data-Out transport protocol service
7.2.9 Data-Out Received transport protocol service
7.2.10 Terminate Data Transfer transport protocol service
7.2.11 Data Transfer Terminated transport protocol service
7.2.12 Send Task Management Request transport protocol service
7.2.13 Task Management Request Received transport protocol service
7.2.14 Task Management Function Executed transport protocol service
7.2.15 Received Task Management Function Executed transport protocol service
7.2.16 USB Acknowledgement
8 Device server error handling
Working Draft Project American National Standard T10/BSR INCITS 572 Revision 02 March 29, 2020 Information technology - USB Attached SCSI - 3 (UAS-3) This is an internal working document of T10, a Technical Committee of Accredited Standards Committee INCITS (International Committee for Information Technology Standards). As such this is not a completed standard and has not been approved. The contents may be modified by the T10 Technical Committee. The contents are actively being modified by T10. This document is made available for review and comment only. Permission is granted to members of INCITS, its technical committees, and their associated task groups to reproduce this document for the purposes of INCITS standardization activities without further permission, provided this notice is included. All other rights are reserved. Any duplication of this document for commercial or for-profit use is strictly prohibited. T10 Technical Editor: Ralph O. Weber Western Digital 18484 Preston Road Suite 102, PMB 178 Dallas, TX. 75252 USA Telephone: Email: 214-912-1373 Ralph.Weber@wdc.com Reference number ISO/IEC n/a INCITS 572-202x
T10/BSR INCITS 572 Revision 02 Points of Contact March 29, 2020 International Committee for Information Technology Standards (INCITS) T10 Technical Committee T10 Chair William Martin Samsung Semiconductor, Inc 7213 Marblethorpe Drive Roseville, CA 95747 USA T10 Vice-Chair Curtis Ballard Hewlett Packard Enterprise 3404 East Harmony Road Fort Collins CO 80528 USA Telephone: Email: (408) 499-1839 bill.martin@samsung.com Telephone: Email: (970) 898-3013 curtis.ballard@hpe.com T10 Web Site: http://www.t10.org T10 E-mail reflector: Server: majordomo@t10.org To subscribe send e-mail with ‘subscribe’ in message body To unsubscribe send e-mail with ‘unsubscribe’ in message body INCITS Secretariat 1101 K Street, NW Suite 610 Washington, DC 20005 USA Telephone: Web site: Email: 202-737-8888 http://www.incits.org incits@itic.org Information Technology Industry Council Web site: http://www.itic.org Purchase INCITS Standards Web site: http://www.incits.org/standards-information/purchase-standards-or-download-dpans ii Working Draft USB Attached SCSI - 3 (UAS-3)
American National Standard for Information Technology USB Attached SCSI - 3 Secretariat Information Technology Industry Council Approved mm.dd.yy American National Standards Institute, Inc. ABSTRACT This standard specifies the requirements for the USB Attached SCSI - 3 (UAS-3) transport protocol. The UAS-3 transport protocol defines a mechanism to transport SCSI commands using USB hardware. The UAS-3 transport protocol coordinates with other members of the SCSI family of standards via the SAM-4 architecture model. This standard is intended to be used in conjunction with SCSI command set standards and USB specifications.
T10/BSR INCITS 572 Revision 02 March 29, 2020 American National Standard Approval of an American National Standard requires verification by ANSI that the requirements for due process, consensus, and other criteria for approval have been met by the standards developer. Consensus is established when, in the judgment of the ANSI Board of Standards Review, substantial agreement has been reached by directly and materially affected interests. Substantial agreement means much more than a simple majority, but not necessarily unanimity. Consensus requires that all views and objections be considered, and that effort be made towards their resolution. The use of American National Standards is completely voluntary; their existence does not in any respect preclude anyone, whether he has approved the standards or not, from manufacturing, marketing, purchasing, or using products, processes, or procedures not conforming to the standards. The American National Standards Institute does not develop standards and will in no circumstances give interpretation on any American National Standard. Moreover, no person shall have the right or authority to issue an interpretation of an American National Standard in the name of the American National Standards Institute. Requests for interpretations should be addressed to the secretariat or sponsor whose name appears on the title page of this standard. CAUTION NOTICE: This American National Standard may be revised or withdrawn at any time. The procedures of the American National Standards Institute require that action be taken periodically to reaffirm, revise, or withdraw this standard. Purchasers of American National Standards may receive current information on all standards by calling or writing the American National Standards Institute. CAUTION: The developers of this standard have requested that holders of patents that may be required for the implementation of the standard, disclose such patents to the publisher. However, neither the developers nor the publisher have undertaken a patent search in order to identify which, if any, patents may apply to this standard. As of the date of publication of this standard, following calls for the identification of patents that may be required for the implementation of the standard, no such claims have been made. No further patent search is conducted by the developer or the publisher in respect to any standard it processes. No representation is made or implied that licenses are not required to avoid infringement in the use of this standard. Published by American National Standards Institute 25 West 43rd Street 4th floor, New York, New York 10036-7422 Copyright © 2020 by Information Technology Industry Council (ITI). All rights reserved. No part of this publication may by reproduced in any form, in an electronic retrieval system or otherwise, without prior written permission of ITI, 1101 K Street, NW Suite 610, Washington, DC 20005. Printed in the United States of America iv Working Draft USB Attached SCSI - 3 (UAS-3)
March 29, 2020 Document Status Rev 0 Date 28 Jan 2020 7 Feb 2020 1 2 T10/BSR INCITS 572 Revision 02 Revision History Description Initial revision, based on UAS and UAS-2 as edited by the ANSI Editor Updated the abstract, project number, and title. Ran the FrameMaker spelling checker and fixed about a dozen misspellings. Consistently used the T10 range indicator, ' to ', replacing '-' and '..' as needed. Incorporated 19-118r1 Interactions with SAM-6 and SPC-6 a to modernize UAS-3 content that references SAM and SPC. Edited 19-118r1 to consistently use the standards named in the title (e.g., SPC-6 not SPC-4) and corrected a bogus reference to table 230. Tweaked 4.1 title to avoid annoying the ISO editors. 29 Mar 2020 Incorporated 20-028r1 Glossary Modernization and 20-037r0 STATUS IU should be SENSE IU. The contact page and suchlike information was updated to match SBC-4 r18. Most x.y subclause titles saying only “Overview” were modified to be more wordy. Proposals added to UAS-3 Integrated Proposal List Doc 19-118r1 20-028r1 20-037r0 Rev Description 1 2 2 Interactions with SAM-6 and SPC-6 Glossary Modernization STATUS IU should be SENSE IU Working Draft USB Attached SCSI - 3 (UAS-3) v
T10/BSR INCITS 572 Revision 02 Contents March 29, 2020 Page Document Status ...................................................................................................................................................v Proposals added to UAS-3 ....................................................................................................................................v Contents................................................................................................................................................................vi Tables ................................................................................................................................................................. viii Figures ..................................................................................................................................................................ix Foreword................................................................................................................................................................x Introduction ...........................................................................................................................................................xi 1 Scope ................................................................................................................................................................. 1 2 Normative references ......................................................................................................................................... 2 2.1 Normative references ............................................................................................................................... 2 2.2 Approved references ................................................................................................................................ 2 2.3 References under development ............................................................................................................... 2 2.4 Other references ....................................................................................................................................... 3 3 Definitions, symbols, abbreviations, and conventions ....................................................................................... 4 3.1 Definitions ................................................................................................................................................. 4 3.2 Symbols and abbreviations ...................................................................................................................... 5 3.3 Keywords .................................................................................................................................................. 6 3.4 Editorial conventions ................................................................................................................................ 7 3.5 Numeric and character conventions ......................................................................................................... 8 3.5.1 Numeric conventions ....................................................................................................................... 8 3.5.2 Byte encoded character strings conventions .................................................................................. 8 3.6 Sequence figure notation .......................................................................................................................... 9 3.7 Notation for procedures and functions ...................................................................................................... 9 4 Model ............................................................................................................................................................... 10 4.1 Model overview ....................................................................................................................................... 10 4.2 Tag handling ........................................................................................................................................... 11 4.3 Data transfers ......................................................................................................................................... 11 4.4 UAS domain ........................................................................................................................................... 12 4.5 Names and identifiers ............................................................................................................................. 14 4.6 Resets .................................................................................................................................................... 14 4.7 I_T Nexus loss ........................................................................................................................................ 14 4.8 Target power loss expected ................................................................................................................... 14 4.9 USB error handling ................................................................................................................................. 14 5 USB .................................................................................................................................................................. 15 5.1 USB overview ......................................................................................................................................... 15 5.2 USB resource requirements ................................................................................................................... 15 5.2.1 Overview ....................................................................................................................................... 15 5.2.2 USB class specific requests .......................................................................................................... 15 5.2.3 USB descriptors ............................................................................................................................ 15 6 Transport .......................................................................................................................................................... 20 6.1 Transport overview ................................................................................................................................. 20 6.2 IUs .......................................................................................................................................................... 20 vi Working Draft USB Attached SCSI - 3 (UAS-3)
March 29, 2020 T10/BSR INCITS 572 Revision 02 6.2.1 Overview ....................................................................................................................................... 20 6.2.2 COMMAND IU ............................................................................................................................... 21 6.2.3 READ READY IU .......................................................................................................................... 22 6.2.4 WRITE READY IU ......................................................................................................................... 22 6.2.5 SENSE IU ..................................................................................................................................... 23 6.2.6 RESPONSE IU .............................................................................................................................. 23 6.2.7 TASK MANAGEMENT IU ............................................................................................................. 25 6.3 Information unit sequences .................................................................................................................... 27 6.3.1 Overview ....................................................................................................................................... 27 6.3.2 Non-data command/sense sequence ........................................................................................... 28 6.3.3 Non-data command/response sequence ...................................................................................... 28 6.3.4 Data-out command sequence ....................................................................................................... 29 6.3.5 Data-in command sequence ......................................................................................................... 30 6.3.6 Task management function sequence .......................................................................................... 31 6.3.7 Bi-directional command sequence ................................................................................................ 32 6.3.8 Multiple command example .......................................................................................................... 33 6.4 Transport requirements .......................................................................................................................... 35 7 SCSI Application Layer .................................................................................................................................... 36 7.1 Device Identification VPD page .............................................................................................................. 36 7.2 Transport Protocol Services ................................................................................................................... 36 7.2.1 SCSI transport protocol services overview ................................................................................... 36 7.2.2 Send SCSI Command transport protocol service ......................................................................... 38 7.2.3 SCSI Command Received transport protocol service ................................................................... 39 7.2.4 Send Command Complete transport protocol service .................................................................. 39 7.2.5 Command Complete Received transport protocol service ............................................................ 41 7.2.6 Send Data-In transport protocol service ........................................................................................ 41 7.2.7 Data-In Delivered transport protocol service ................................................................................. 42 7.2.8 Receive Data-Out transport protocol service ................................................................................ 42 7.2.9 Data-Out Received transport protocol service .............................................................................. 43 7.2.10 Terminate Data Transfer transport protocol service .................................................................... 43 7.2.11 Data Transfer Terminated transport protocol service .................................................................. 44 7.2.12 Send Task Management Request transport protocol service ..................................................... 44 7.2.13 Task Management Request Received transport protocol service ............................................... 45 7.2.14 Task Management Function Executed transport protocol service .............................................. 46 7.2.15 Received Task Management Function Executed transport protocol service .............................. 47 7.2.16 USB Acknowledgement .............................................................................................................. 48 8 Device server error handling ............................................................................................................................ 49 Working Draft USB Attached SCSI - 3 (UAS-3) vii
T10/BSR INCITS 572 Revision 02 March 29, 2020 Tables Page 1 Standards bodies .............................................................................................................................................. 2 2 Numbering conventions .................................................................................................................................... 8 3 SCSI architecture model object name attributes and identifier attributes ....................................................... 14 4 Device descriptor ............................................................................................................................................ 15 5 Configuration descriptor.................................................................................................................................. 16 6 Interface Descriptor......................................................................................................................................... 17 7 Bulk-in endpoint descriptor ............................................................................................................................. 17 8 Bulk-out endpoint descriptor ........................................................................................................................... 18 9 Pipe Usage Descriptor .................................................................................................................................... 18 10 Pipe ID .......................................................................................................................................................... 19 11 IU ID field summary........................................................................................................................................ 20 12 IU Header...................................................................................................................................................... 20 13 COMMAND IU .............................................................................................................................................. 21 14 TASK ATTRIBUTE field...................................................................................................................................... 21 15 READ READY IU .......................................................................................................................................... 22 16 WRITE READY IU ........................................................................................................................................ 22 17 SENSE IU ..................................................................................................................................................... 23 18 RESPONSE IU ............................................................................................................................................. 23 19 RESPONSE CODE field ..................................................................................................................................... 24 20 TASK MANAGEMENT IU ............................................................................................................................. 25 21 task management function field .................................................................................................................... 26 22 Device Identification VPD page designation descriptors for the UAS target port.......................................... 36 23 Execute Command procedure call transport protocol services..................................................................... 37 24 Execute Command procedure call transport protocol services..................................................................... 38 25 Send SCSI Command transport protocol service arguments ....................................................................... 38 26 SCSI Command Received transport protocol service arguments................................................................. 39 27 Send Command Complete transport protocol service arguments ................................................................ 40 28 Command Complete Received transport protocol service arguments.......................................................... 41 29 Send Data-In transport protocol service arguments ..................................................................................... 42 30 Data-In Delivered transport protocol service arguments............................................................................... 42 31 Receive Data-Out transport protocol service arguments .............................................................................. 43 32 Data-Out Received transport protocol service arguments ............................................................................ 43 33 Terminate Data Transfer transport protocol service arguments.................................................................... 44 34 Data Transfer Terminated transport protocol service arguments.................................................................. 44 35 Send Task Management Request transport protocol service arguments ..................................................... 44 36 Task Management Request Received transport protocol service arguments............................................... 45 37 Task Management Function Executed transport protocol service arguments .............................................. 46 38 Received Task Management Function Executed transport protocol service arguments .............................. 47 39 USB Acknowledgement ................................................................................................................................ 48 40 Delivery Result to additional sense code mapping ....................................................................................... 49 viii Working Draft USB Attached SCSI - 3 (UAS-3)
分享到:
收藏