Working Draft Project American National T13/BSR INCITS 529 Standard Revision 14 October 14, 2016 Information technology - ATA Command Set - 4 (ACS-4) This is a draft proposed American National Standard of Accredited Standards Committee INCITS. As such this isnot a completed standard. The T13 Technical Committee may modify this document as a result of comments received during public review and its approval as a standard. Use of the information contained here in is at your own risk.October 14, 2016 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 commercial or for-profit replication or republication is prohibited. T13 Technical Editor: Curtis E. Stevens Western Digital Technologies, Inc. 3355 Michelson Dr. #100 Irvine, CA 92612 USA Telephone: 949-672-7933 Email: Curtis.Stevens at wdc.com Reference number ISO/IEC 17760-104:20xx ANSI INCITS 529-201x October 14, 2016 T13/BSR INCITS 529 Revision 14 Points of Contact T13 Chair T13 Vice-Chair Dan Colgrove Jim Hatfield Toshiba America Electronic Components, Inc. Seagate Technology 2590 Orchard Parkway 389 Disc Drive San Jose, CA 95131 Longmont CO 80503 Tel: 408-526-2563 Tel: 720-684-2120 INCITS Secretariat INCITS Secretariat Tel: 202-737-8888 1101 K Street NW Suite 610 Fax: 202-638-4922 Washington, DC 20005 Email: [email protected] T13 Reflector See the T13 Web Site at http://www.t13.org for reflector information. T13 Web Site http://www.t13.org T13 FTP Site ftp.t13.org (see www.t13.org for login information) Purchase INCITS Standards http://www.incits.org/standards-information/purchase-standards-or-download-dpans Working Draft ATA Command Set - 4 (ACS-4) ii October 14, 2016 T13/BSR INCITS 529 Revision 14 Draft Secretariat Information Technology Industry Council Approved mm.dd.yy American National Standards Institute, Inc. ABSTRACT This standard specifies the AT Attachment command set used to communicate between host systems and storage devices. This provides a common command set for systems manufacturers, system integrators, software suppliers, and suppliers of storage devices. This standard maintains a high degree of compatibility with the ATA/ATAPI Command Set - 3 (ACS-3). Draft Working Draft ATA Command Set - 4 (ACS-4) iii October 14, 2016 T13/BSR INCITS 529 Revision 14 American 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 National 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 Standard 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, notice of one or more claims has been received. By publication of this standard, no position is taken with respect to the validity of this claim or of any rights in connection therewith. The known patent holder(s) has (have), however, filed a statement of willingness to grant a license under these rights on reasonable and nondiscriminatory terms and conditions to applicants desiring to obtain such a license. Details may be obtained from the publisher. 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 23 W. 43rd Street, New York, New York 10036 Copyright © 2013 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: Information Technology Industry Council 1101 K St, NW Suite 610 Washington, D.C. 20005 Printed in the United States of America Working Draft ATA Command Set - 4 (ACS-4) iv October 14, 2016 T13/BSR INCITS 529 Revision 14 Document Status Document f13107 is the issues list for ACS-4. Revision History (part 1 of 8) Rev Date Description 00 29-Jan-2014 1) Initial revision created from ACS-3 r5 2) Updated to include ANSI Editor comments 3) Abstract updated to reflect ACS-4 4) Correct Bibliography to not have an Annex header, as required by ISO/IEC 5) Restarted revision history and integrated proposals list 00a 8-Mar-2014 1) Incorporated additional editorial fixes inspired by the ANSI Editor (e.g., 'users' to 'the users' in page footnote for JEDEC, corrected spelling INCITS in definition of T10 acronym, fixed second unordered list in 4.9.2, 'self-routine' to 'self-test routine' in 7.46.5.2.8, corrected of a plethora of commas and periods on phrases such as “In figure 5,” remove periods from various non-sentences such as “Reserved.”, add “i.e.,” addition of 'field' after a small caps field name). To reduce confusion, some of these NOP changes were not marked with change bars. 01 24-Mar-2014 1) Incorporated T10/14-027r1 – Security Protocol code request for Secure Content Storage Association. 2) Incorporated f13104r6 – Pending Defects Log. 3) Incorporated f13105r2 – Clearing Flagged and Pseudo Uncorrectable Errors. 4) Incorporated f13129r6 – Workload Utilization Device Statistic. 5) Incorporated f13132r0 – Residual Spec Concerns About Endurance. 6) Incorporated f13144r7 – Utilization Usage Rate Information. 7) Incorporated f13156r0 – Fix the Security Command Actions Table. 8) Incorporated f14102r0 – Correct Check Power Mode Normal Output table. 9) Incorporated f14111r0 – Removal of NCQ requirement for Partial to Slumber Transition. 10) Added cross references where possible in SMART Read Data table. 11) Added a missing 'field' in 9.21.6. 02 21-May-2014 1) Incorporated f14118r0 – Remove ATAPI from ACS-4, with following notes: A) several oversights in f14118r0 were detected and repaired as a result of broken cross references; B) multiple descriptions that involved the DEVICE RESET command and IDENTIFY PACKET DEVICE command were missed by f14118r0 (mostly in the power management model), and most were expunged during incorporation, with those which survived being given a “(see ACS-3)” toe tag; C) changes were flagged with change bars wherever possible, but places like page footers and command deletions were missed. 2) Converted to latest ISO format for Abbreviations et al. subclause. 3) Converted to latest ISO-oriented list format and conventions. 4) Converted notes and examples formats to ISO style. 5) Converted to ISO rules for units (e.g., 30 seconds s/b 30 s) 6) Changed 1,024 to 1024 in figure 4, and 2,048 to 2048 in figure C.3. 7) Made figure footnote references consistent in figure C.2. 8) Made editorial tweaks in the descriptions of the SEND FPDMA QUEUED and SFQ DATA SET MANAGEMENT commands to address concerns raised during the April T13 Plenary while maintaining consistency with the description of the SEND FPDMA QUEUED command. 9) Made editorial tweaks requested by James Boyd in the definition of extended status code 0003h. Working Draft ATA Command Set - 4 (ACS-4) v October 14, 2016 T13/BSR INCITS 529 Revision 14 Revision History (part 2 of 8) Rev Date Description 02a 22-May-2014 1) Incorporated f14112r1 – Impending Failure Status to SCT Command Status Log [this proposal lacked many of the editorial niceties (e.g., a sentence introducing a table, and thus it was edited heavily]; 2) Incorporated f14114r1 – Clarification of relationship between SET FEATURES & SCT FEATURE CONTROL; 3) Incorporated f14115r1 – DOWNLOAD MICROCODE DMA Mode F; 4) Incorporated f14116r1 – Identify data form factor additions; 5) Incorporated f14109r3 – Connecting the SMART EX OFF-LINE IMMED dots; 6) Incorporated f14120r1 – IDENTIFY DEVICE data word 53 PATA/SATA/… cleanup; 7) Incorporated f13160r6 – Setting Default RECOVERY TIME LIMIT Field [the editor's pen was applied several times during incorporation, especially to achieve consistency of wording]; 8) Incorporated f14108r2 – How to indicate log support requirements; 9) Incorporated f14119r1 – Device signature for Host Managed Zoned Device; 10) Updated the Command Code Usage Matrix table in clause 7 to account for commands made obsolete by ATAPI removal (missed in r02); and 11) Modified the Reserved “fields” in the Power Conditions log descriptor to have type “Bytes”, which is the truth. 02b 22-May-2014 1) Incorporated the last unprocessed proposal approved by the April T13 Plenary, f14112r1 – Change Log Annex to the new Clause 9. This change was deferred out of r02a to improve the correlation between the posted revision and the proposals that modified it. The changes associated with moving the Log Annex have not been highlighted with change bars because any attempt to do so will create more confusion than illumination. 03 21-Jun-2014 1) Incorporated f14136r1 – Additional command input fields; 2) Incorporated f14139r1 – Power Conditions log beefcake; 3) Incorporated f14140r1 – Post-ATAPI document relationships; 4) The note to entry format was applied the keywords subclause, which included putting the keywords subclause at the same level as the definitions subclause; 5) The note to entry format was applied the definitions subclause; 6) SMART Command Transport (SCT) was removed from the normative references because SCT is fully documented in this standard; 7) ACS-3 was added to be bibliography because of the various revision numbers and bits that reference it; 8) As the precursor for HBA-2, ATA - Adapter was added to the bibliography because various rumblings in committee suggest that HBA-2 may be cancelled; 9) The normative references clause and bibliography were updated to use the newest format; 10) In table105, the field in the last row was corrected to read COMMAND instead of FEATURE; and 11) Table205 was corrected to specify log address 20h only once. Working Draft ATA Command Set - 4 (ACS-4) vi October 14, 2016 T13/BSR INCITS 529 Revision 14 Revision History (part 3 of 8) Rev Date Description 04 25-Aug-2014 1) Incorporated f14107r5 – New DATA SET MANAGEMENT functionality for Logical Block Markups; 2) Incorporated f14126r3 – ZERO EXT command; 3) Incorporated f14127r0 – Vendor Specific Device Statistics page; 4) Incorporated f14151r1 – NVM Express Security ID; 5) Incorporated f14153r1 – Clarify reset behavior of SET ACCESSIBLE MAX ADDRESS EXT; 6) As part of incorporating f14151r1, the JEDEC, IEEE 1667, and SDCARD references were move to the Bibliography because they are only referenced in regard to a security protocol. The CFast reference was considered for similar treatment but not moved because it is referenced inregard to the definition of a feature set; 7) Corrected the spelling of the Serial ATA Settings page's name in three places; and 8) Fixed several other typos reported by various sources during the past twomonths, including the typo reported in f14150r0. 05 27-Oct-2014 1) Incorporated f14141r2 – Correction to Table 231 - List of supported IDENTIFY DEVICE data pages; 2) Incorporated f14143r5 – Replace SFQ and RFQ with greater honesty; 3) Incorporated f14156r2 – Form Factor Table Edits; 4) Incorporated f14159r1 – Endurance Management; 5) Incorporated f14160r1 – Errata for DOWNLOAD MICROCODE; 6) Incorporated f14161r1 – Make LOGICAL SECTOR OFFSET field more normative; 7) Incorporated f14163r1 – Make Host Managed Zones feature set require Sense Data; 8) Incorporated f14165r1 – Add PCIe transport and other clean up; 9) Defined major and minor version entries for ACS-4 r05; and 10) The Normative References and Bibliography sections were updated to conform to the latest T10 styles. 06 11-Dec-2014 1) Incorporated f14144r3 – Sanitize & Security; 2) Incorporated f14173r2 – Addition of Specified Maximum Operating Temperature field to SCT Command/status log; 3) Incorporated f14174r0 – DEADLINE HANDLING doesn't match SATA 3.2; 4) Incorporated f14175r1 – Queued ZERO EXT; 5) Incorporated f14179r1 – DSN Log Page Availability Clarification (a missing"and" was added during the incorporation of this proposal); 6) Corrected the company affiliation of the T13 Chair in the Foreword; 7) Added reference to SATA 3.2 to the ASR acronym definition; 8) Corrected alignment of ICC field name in inputs for READ FPDMA QUEUED command and WRITE FPDMA QUEUED command; 9) Changed all remaining instances of NCQ QUEUE MANAGEMENT command to NCQ NON-DATA command except in field names; 10) Changed all remaining instances of NCQ Queue Management log to NCQNon-Data log; 11) Added "command" to table titles for FPDMA subcommand encapsulations; 12) Applied necessary ISO voodoo to List of Tables; and 13) Made no-text changes that are not marked with change bars: A) Corrected a few non-linked cross references; and B) Made cross reference punctuation more consistent in inputs and outputs tables. Working Draft ATA Command Set - 4 (ACS-4) vii October 14, 2016 T13/BSR INCITS 529 Revision 14 Revision History (part 4 of 8) Rev Date Description 07 4-April-2015 1) Incorporated f14129r5 Identify Data Log update for ZAC; 2) Incorporated f14176r0 Other Subcommand Specific Bits; 3) Incorporated f15100r1 Clarify Read Recovery Attempts device statistic; 4) Incorporated f15101r1 Power on hours in PM5 and PM6; 5) Incorporated f15105r1 Add ZAC Command Codes; 6) Incorporated f15106r0 Finalize ATAPI Obsolescence Changes in Device Signatures Normal Output table; 7) Incorporated f15107r1 Redefining 'write command'; 8) Incorporated f15108r0 Fix conflicting GPL vs DSN Read Log requirements in ACS-4; 9) Incorporated f15109r1 DATA SET MANAGEMENT with Access Hints; 10) Incorporated f15110r0 Clarify SCT Error Recovery Control; 11) Added minor version number for ACS-3 published, ANSI INCITS 522-2014; 12) Marked opcodes 68h to 6Fh 'SATA (reserved)’ in tableA.3; 13) Added missing row lines in table74 and table158 as well as correcting the list of subclauses that reference: A) the NCQ Command Acceptance Normal Output table; and B) the NCQ Normal Output table; 14) Corrected column header in right column of table168; 15) Ensured the words 'feature set' appeared in every row of table4; 16) Updated SATA 3.next to SATA 3.3 as per notification that SATA-IO Board of directors has established a schedule for publishing SATA 3.3; 17) Clarified the relationship between LOGICAL BLOCK MARKUPS SUPPORTED the field and the LBA field in a command in the definition of the DATA SET MANAGEMENT section of the Supported Capabilities page in the IDENTIFY DEVICE data log (see9.11.5.9); 18) Globally, changed variations of 'implement' to variations of 'support' when the topic of discussion is a feature set; and 19) Fixed a handful of blatant typos. 08 28-April-2015 1) Incorporated f14166r3 – Read/Write error reporting in Sequential Write Zones; 2) Incorporated f14177r3 – Trimming Trim Language; 3) Incorporated f15102r4 – Returning Sense Data for Successful NCQ Commands; 4) Incorporated f15104r2 – ZAC Support Bits; 5) Incorporated f15116r0 – SANITIZE STATUS EXT Failure Clarification; 6) Incorporated f15120r1 – Timer Setting Typos; 7) Incorporated f15121r0 – DEADLINE HANDLING shouldn't be Immediate; and 8) Fixed two instances of 'disabling SMART' to clarify that the SMART feature set is the thing being disabled. Working Draft ATA Command Set - 4 (ACS-4) viii October 14, 2016 T13/BSR INCITS 529 Revision 14 Revision History (part 5 of 8) Rev Date Description 09 23-July-2015 1) Incorporated f14181r5 – Set Sector Configuration (heavily edited during incorporation); 2) Incorporated f15111r2 – Make Deferred Errors Work; 3) Incorporated f15127r1 – Addition of capability bit for queued ZERO EXT; 4) Incorporated f15128r1 – Move ZAC requirement from ACS-4 to ZAC; 5) Incorporated f15129r1 – Add Zoned No Reset bit in Sanitize feature set; 6) Incorporated f15130r1 – SCT Write Same Zoned Devices Enhancement; 7) Incorporated f15132r0 – Addition of capability bit for ZERO EXT; 8) Incorporated applicable glossary and acronyms changes from ZAC; page-by-page review by June T13 Plenary; 9) Corrected the format of the TableNote and TableNoteNoNumber paragraph styles, and then used them in table55, table170, table242, table243 and table244; 10) Fixed misspelling of WRITE SAME in a 3.4.8 example and all SCT commands in table12; and 11) Corrected a formatting bug on the T13 title page (since no text was changed, no change bar was added). 10 4-Nov-2015 1) Incorporated f14134r4 – Rebuild Assist feature; 2) Incorporated f14135r4 – Power Disable and Device Sleep features; 3) Incorporated f15133r2 – Clarifying the Normalized Statistic flag in Device Statistics log; 4) Incorporated f15134r2 – Clarify Hardware Feature Control and DSS-DAS, including global change of non-zero to nonzero; 5) Incorporated f15136r2 – SET SECTOR CONFIGURATION clarification; 6) Incorporated f15138r2 – The SMART Diet; 7) Incorporated f15139r2 – Super Sized Data Set Management, and corrected several bugs in the Data Set Management command's range entry format table, including reducing the size of the last entry from 32 bytes to 16; 8) Incorporated f15140r2 – ZAC Host Aware interactions with ATA Security; 9) Incorporated f15141r4 – ECN for DOWNLOAD MICROCODE state machine; 10) Incorporated f15143r0 – Make Deferred Errors Work with NCQ Autosense; 11) Incorporated f15158r2 – Sanitize tuneup; 12) In support of increased Autosense clarity, added glossary entry for 'sense key'; 13) Reserved for ZAC IDENTIFY DEVICE data page 09h; 14) Applied consistent usage for SATA Hardware Feature Control feature set and fixed a handful of misspelled names in the feature set description; 15) Corrected capitalization in Enable/Disable PUIS subcommand; 16) Corrected several typos too tiny to warrant explicit mention here; 17) Updated the figure 1 intro sentence based on the response to Dell-4 in the ZAC letter ballot; 18) In references subclause, changed see URL notes to page footnotes as per the known demands of the ISO/IEC editors; 19) Updated the Keywords subclause based on the responses to HGST-32 and HP-32 in the ZAC letter ballot; 20) Updated a handful of glossary definitions based on changes accepted for inclusion in ZAC; and 21) Changed name of editor and updated the points of contact page to more closely match the T10 Style Guide. Working Draft ATA Command Set - 4 (ACS-4) ix October 14, 2016 T13/BSR INCITS 529 Revision 14 Revision History (part 6 of 8) Rev Date Description 11 19-Jan-2016 1) Incorporated f15150r2 – Obsolete SET MULTIPLE MODE command, etal.; 2) Incorporated f15151r1 – Identify Log Additions (numerous editorial changes were applied during the incorporation of this proposal); 3) Incorporated f15155r3 – Minimum ERC time; 4) Incorporated f15164r1 – Normative Assistance for Rebuild Assist; 5) Incorporated f15166r1 – NCQ Super Sized Data Set Management; 6) Added '(see ZAC)' reference to all instances of 'write pointer zone'; 7) In Sanitize feature set definition, globally changed 'unreadable' to 'unretrievable'; and 8) Corrected three spelling errors. 12 18-Feb-2016 1) Incorporated f16109r1 – Rounding out NCQ Encapsulation specs; 2) The r10 incomplete incorporation of f15141r4 – ECN for DOWNLOAD MICROCODE state machine was made complete; 3) Changed all instances of "Bit Meaning" table headers to "Bit Description", also changed "Code Meaning" to "Code Description" in one table header and "Value Meaning" to "Value Description"; 4) Cleaned up a handful of irregular cross references, including references tothe CURRENT HARDWARE FEATURE CONTROL IDENTIFIER field and the SUPPORTED HARDWARE FEATURE CONTROL IDENTIFIER field; and 5) Updated all figures to formats that are compatible with ISO/IEC page sizes. Working Draft ATA Command Set - 4 (ACS-4) x
Description: