WO2010141059A2 - Methods for controlling host memory access with memory devices and systems - Google Patents

Methods for controlling host memory access with memory devices and systems Download PDF

Info

Publication number
WO2010141059A2
WO2010141059A2 PCT/US2010/001521 US2010001521W WO2010141059A2 WO 2010141059 A2 WO2010141059 A2 WO 2010141059A2 US 2010001521 W US2010001521 W US 2010001521W WO 2010141059 A2 WO2010141059 A2 WO 2010141059A2
Authority
WO
WIPO (PCT)
Prior art keywords
host
memory
command
memory device
data
Prior art date
Application number
PCT/US2010/001521
Other languages
French (fr)
Other versions
WO2010141059A3 (en
Inventor
Neal A. Galbo
Peter Feeley
William H. Radke
Victor Y. Tsai
Robert N. Leibowitz
Original Assignee
Micron Technology, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Micron Technology, Inc. filed Critical Micron Technology, Inc.
Priority to KR1020127000024A priority Critical patent/KR101371936B1/en
Priority to EP10783693.4A priority patent/EP2438522B1/en
Priority to JP2012513924A priority patent/JP5638069B2/en
Priority to CN201080024691.9A priority patent/CN102460405B/en
Publication of WO2010141059A2 publication Critical patent/WO2010141059A2/en
Publication of WO2010141059A3 publication Critical patent/WO2010141059A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1642Handling requests for interconnection or transfer for access to memory bus based on arbitration with request queuing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices

Definitions

  • a memory device can receive the command(s) from the host memory when the memory device desires by sending a data transfer message that contains the pointer to the command(s) to the host controller and additional information such as transfer size, data offset, and data flags.
  • additional information such as transfer size, data offset, and data flags, can be referred to as the host memory address context.
  • the transfer size is the amount of data that is sent to a memory device from host memory or sent to host memory from a memory device.
  • the data offset is a value that is used with the pointer to locate the actual location of data in host memory.

Abstract

The present disclosure includes methods for controlling host memory access with a memory device, systems, host controllers and memory devices. One embodiment for controlling host memory access with a memory device includes receiving at least one command from a host and controlling execution of the at least one command with the memory device.

Description

METHODS FOR CONTROLLING HOST MEMORY ACCESS WITH MEMORY DEVICES AND SYSTEMS
Technical Field
[0001] The present disclosure relates generally to semiconductor memory devices, methods, and systems, and more particularly, to memory device controlled host memory access.
Background
[0002] Memory devices are typically provided as internal, semiconductor, integrated circuits and/or external removable devices in computers, personal digital assistants (PDAs), digital cameras, and cellular telephones, among various other electronic devices. There are many different types of memory including random-access memory (RAM), read only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), phase change random access memory (PCRAM), and flash memory, among others.
[0003] Flash memory devices are utilized as non-volatile memory for a wide range of electronic applications. Flash memory devices typically use a one-transistor memory cell that allows for high memory densities, high reliability, and low power consumption.
[0004] Various types of memory can be used in memory systems. The various types of memory can be used in any combination to provide memory for a host, such as a host device or host system. For example, Flash memory can be included in a memory system. Flash memory can be part of a memory system as internal memory or as removable memory that can be coupled to the memory system through an interface, such as a USB connection.
[0005] A system can include a host system, host memory, and a number of external memory devices. The host system can have a number of processors, a host controller, host controller memory that is located on the host controller, and a number of internal memory devices. The host system can use the internal and/or external memory devices by interacting with the memory devices via a host controller and/or a number of host processors. The host controller and/or a number of host processors can communicate with the memory devices to perform operations on the memory devices, such as reading data from the memory devices to the host or writing data from the host to the memory devices. The commands that control the reading and writing of data can be built by the host. The host controller and/or a number of host processors can have hardware that controls the execution of the commands. In such cases when a host controller and/or a number of host processors have hardware that controls the execution of the commands, the host system manages and maintains the state of the memory devices.
Brief Description of the Drawings
[0006] Figure 1 illustrates a block diagram of a memory in accordance with one or more embodiments of the present disclosure.
[0007] Figure 2 illustrates a block diagram of host memory in accordance with one or more embodiments of the present disclosure.
[0008] Figure 3 illustrates a block diagram of a data transfer message in accordance with one or more embodiments of the present disclosure.
Detailed Description
[0009] The present disclosure includes methods, devices, and systems for controlling host memory access with a memory device. One embodiment for controlling host memory access with a memory device includes receiving at least one command from a host and controlling execution of at least one command with the memory device.
[0010] In the following detailed description of the present disclosure, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration how one or more embodiments of the disclosure may be practiced. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the embodiments of this disclosure, and it is to be understood that other embodiments may be utilized and that process, electrical, and/or structural changes may be made without departing from the scope of the present disclosure. As used herein, the designator "N," particularly with respect to reference numerals in the drawings, indicates that a number of the particular feature so designated can be included with one or more embodiments of the present disclosure. The designators can represent the same or different numbers of the particular features. [0011] The figures herein follow a numbering convention in which the first digit or digits correspond to the drawing figure number and the remaining digits identify an element or component in the drawing. Similar elements or components between different figures may be identified by the use of similar digits. For example, 118 may reference element "18" in Figure 1, and a similar element may be referenced as 218 in Figure 2. As will be appreciated, elements shown in the various embodiments herein can be added, exchanged, and/or eliminated so as to provide a number of additional embodiments of the present disclosure. In addition, as will be appreciated, the proportion and the relative scale of the elements provided in the figures are intended to illustrate the embodiments of the present disclosure, and should not be taken in a limiting sense.
[0012] Figure 1 illustrates a block diagram of a memory system 100 in accordance with one or more embodiments of the present disclosure. In Figure 1 , a host 110 is shown. In one or more embodiments, the host 110 can be a computing device, such as a personal computer, among other computing device types. Examples of a host 1 10 include laptop computers, personal computers, mobile phone, digital cameras, digital recording and play back devices, PDA's, memory card readers, and interface hubs, among other examples. The host 110 of Figure 1 includes a host controller 112, a host processor 114, host memory controller 116, and host memory 118-1 and 118-N, among other computing device elements not shown. The host controller 112 can include a transaction layer, link layer, and/or physical layer and can be coupled to host memory 118-1, 118-2,..., 118-N via the host memory controller 116. Also, in Figure 1 , host controller 112 is coupled to memory devices 130-1, 130-2,..., 130-N via bus 120.
[0013] In one or more embodiments, the host controller 112 can be used to communicate information between the number of memory devices 130-1, 130-2, ... , 130-N and the host 1 10. One of ordinary skill in the art will appreciate that "a processor" can intend one or more processors, such as a parallel processing system, a number of coprocessors, etc. [0014] In one or more embodiments, the host controller 1 12 can be coupled to implement a standardized interface. For example, when the memory devices 130-1, 130-2,...,130-N is used for data storage for a memory system, the host controller can implement a serial advanced technology attachment (SATA), a peripheral component interconnect express (PCIe), a universal serial bus (USB), and/or a small computer system interface (SCSI), among other interfaces. In general, however, host controller 112 can be coupled to implement an interface for passing control, address, data and other signals between the memory devices 130-1, 130-2,...,130-N, the host 110, and other devices, such as host memory 118-1, 118-2,..., 118-N.
[0015] In one or more embodiments, the memory devices 130-1, 130-
2,...,130-N can include one or more memory device controllers that can be used to facilitate operations, such as by executing read, write, and/or erase commands, among other operations commands, that are communicated to the memory devices 130-1, 130-2,... ,130-N from the host 110. The memory devices 130-1, 130-2, ... , 130-N can be individually coupled to bus 120. And in some embodiments, the memory devices 130-1, 130-2,..., 130-N can be chained together with one of the memory devices coupled to a bus. In one or more embodiments, the one or more memory device controllers can provide a translation layer between host system 110 and the memory devices 130-1, 130- 2,...,130-N. Thus, a memory device controller could selectively couple an I/O connector (not shown in Figure 1) of memory devices 130-1, 130-2,..., 130-N to receive the appropriate signal at the appropriate I/O connection at the appropriate time. Similarly, the communication protocol between a host 110 and the memory devices 130-1, 130-2,...,130-N may be different than what is required for access to the memory devices 130-1, 130-2,... ,130-N. The memory device controllers could then translate the command sequences received from a host 110 into appropriate command sequences to achieve the desired access to memory devices 130-1, 130-2,...,130-N. Each translation may further include changes in signal voltage levels in addition to command sequences.
[0016] The embodiments of Figure 1 can include additional circuitry that is not illustrated so as not to obscure embodiments of the present disclosure. For example, the memory devices 130-1, 130-2,..., 130-N can include address circuitry to latch address signals provided over I/O connectors through I/O circuitry. Address signals can be received and decoded by a row decoder and a column decoder, to access the memory devices 130-1, 130-2,...,130-N. It will be appreciated by those skilled in the art that the number of address input connectors depends on the density and architecture of the memory devices 130- 1, 130-2,...,130-N.
[0017] In one or more embodiments, the host system can build at least one command, such as a single command or a list of commands. A list of commands can include two or more commands. The host can also allocate data buffers for data transfer and allocate status buffers for command status and completion information in host memory.
[0018] The host can notify one or more memory devices via a command message sent over the bus that the command(s) are ready for execution and data buffers and status buffers are allocated in host memory. The message can also contain a pointer to the location (e.g., address) within host memory where the command(s) is located. In relation to the host notifying one or more memory devices that a command(s) is ready for execution (e.g., once the host notifies a memory device that a command is ready), the host relinquishes control of the execution of the command(s) in the command list to the one or more memory devices. The host also relinquishes control of the bus between the host and the one or more memory devices.
[0019] In one or more embodiments, once one or more memory devices have been notified that a command(s) is ready in host memory for execution, a memory device can receive the command(s) from the host memory when the memory device desires by sending a data transfer message that contains the pointer to the command(s) to the host controller and additional information such as transfer size, data offset, and data flags. The additional information, such as transfer size, data offset, and data flags, can be referred to as the host memory address context. The transfer size is the amount of data that is sent to a memory device from host memory or sent to host memory from a memory device. The data offset is a value that is used with the pointer to locate the actual location of data in host memory. The offset can be set and modified by a memory device to adjust for the host memory file allocation method. Data flags can be used to identify a feature of a data transfer, such as the direction of the data transfer, among other transfer features associated with executing a data transfer. The host controller will process the host memory address context and retrieve the requested data, such as a command or command list, from host memory and send it to one or more memory devices.
[0020] In one or more embodiments, one or more memory devices can interpret the command(s) and control the execution of the command(s) by sending a series of data transfer messages that result in data transfers to and/or from the host memory via the host controller that will retrieve or send data to the host memory.
[0021] The data transfer messages can contain a host memory address context that indicates the location of the data within host memory. The data transfers that result from the execution of a command or command list are under control of one or more memory devices. One or more memory devices can determine the timing, sequence, priority, and size of the data transfers based on an individuals device's status and/or ability to execute a given data transfer. In one or more embodiments, the device controls the execution of the command(s), so the host does not manage the state or resources of one or more memory devices or schedule data transfers for one or more memory devices. [0022] In one or more embodiments, when execution of a command is complete, one or more memory devices can send a completion message to the host. The host controller can recognize the completion message and notify the host processor that the command or command list has been completed. [0023] In one or more embodiments, a host can send a message to one or more memory devices indicating that a command or command list is ready for execution and data buffers are allocated in system memory. The message sent from the host to the one or more memory devices can include a pointer, such as an opaque memory pointer object, that can indicate the location of the command in host memory. An opaque memory pointer object can be a pointer that is not interpreted by the memory devices. The opaque memory pointer is sent between the host and the memory devices and is the part of the data transfer messages used to identify the location of data and/or commands in host memory. The opaque memory pointer is interpreted by the host. One or more memory devices can retrieve the command(s) from the host memory. Each command can include a host memory address context. The host memory address context can include additional pointers and transfer size and offset information about the data buffers that will contain or receive the data to be transferred when executing a command.
[0024] In one or more embodiments, one or more memory devices can interpret the command(s). Each command will indicate the direction of the data transfer, e.g., send data from one or more memory devices to host memory or send data from host memory to one or more memory devices. The one or more memory devices can execute the command(s) by sending additional data transfer messages to the host to initiate a data transfer. The additional data transfer messages will contain a host memory address context. In some embodiments, if one or more memory devices are sending data to the host memory, the data will follow the host memory address context in the message. In some embodiments, if one or more memory devices are retrieving data from the host memory, the host controller will send a message back to one or more memory devices with a host memory address context followed by the data.
[0025] In one or more embodiments, when all data transfers associated with executing a command(s) are complete, one or more memory devices can send a message indicating the completion of the command(s). This message can contain a pointer and a host memory address context that indicates the location in host system memory of a status buffer. The status buffer can be a location in host memory that stores data regarding the status of a command(s). Once a command(s) has been executed, the status buffer receives status data that is contained in a completion message that indicates to the host that a command(s) is complete. The status data can be part of the completion message and can follow the host memory address context and can be placed in the status buffer in host memory. The host controller, upon receiving and identifying the completion message, will notify the host processor, e.g., interrupt, that the command(s) has completed processing. The one or more memory devices are now ready to process the next command(s).
[0026] Figure 2 illustrates a block diagram of host memory in accordance with one or more embodiments of the present disclosure. In one or more embodiments, host memory 218 can be remote host memory that is coupled to the host and is physically external to the host. In one or more embodiments, host memory can be embedded host memory that is located on the host. In one or more embodiments, the host memory 218 can include remote host memory and/or embedded host memory.
[0027] As discussed above, in one or more embodiments, the host can build a command list 202 in the host system memory 218. The command list 202 can contain two or more commands and each command can contain a basic command descriptor block, which would indicate the basic functionality of the command, memory address context. The memory address context can include information for a data buffer 204 that can indicate transfer direction and whether the data buffer 204 is direct access or indirect access. A data buffer can be a location in host memory where data for a data transfer is written to or read from. In one or more embodiments, a number of data buffers can be used. A direct access buffer is the actual buffer that will contain the data transfer. An indirect access buffer contains additional memory address context information for a number of data buffers, where the data will be divided and stored in a number of data buffers. Methods that use an indirect access buffer can be referred to as scatter/gather access.
[0028] As previously discussed, the initial command message from the host to one or more memory devices that indicates a command list 202 is ready to be executed can contain a pointer to the command list 202. To access a direct access buffer, the pointer can include a direct host memory address. To access an indirect access buffer, the pointer can point to other locations that have the data or information regarding where the data is located, such as an address access table, an index into a look-up table within a memory wrapper, and/or a page descriptor, among other system specific implementations of data organization as the same will be known and understood by one of ordinary skill in the art. In both direct access buffers and indirect access buffers, the pointer is interpreted and decoded by the host. The one or more memory devices receive the pointer, but do not attempt to interpret the pointer. The pointer is used as a host memory reference between the one or more memory devices and the host. [0029] In one or more embodiments, a command list can include a single command, multiple commands, or a linked list of commands. A command list structure can be determined by the overall system implementation and does not impact the execution of the command by the one or more memory devices. The host and the one or more memory devices can build, execute, and interpret the command structure using the similar methods.
[0030] The host system can send a command message to the one or more memory devices indicating that a command list is available for execution once the command list is build in host system memory. The command message indicates, with a number of pointers, the host system memory location of the command(s) 202, the data buffer 204, and the status buffer 206. The command message can also include additional host memory context information. The command(s) can include the instructions to perform data transfers between the memory device and the host system memory. A data buffer can be a location in host memory where the data for a transfer is written to or read from. The status buffer can be a location in host memory for data regarding the status of the command(s).
[0031] In one or more embodiments, one or more memory devices upon receiving a command message can interpret the command message and store the pointer. The one or more memory devices can attempt to retrieve one or more command(s) depending on the memory devices resources and capabilities. In one or more embodiments, the one or more memory devices can receive commands one at a time from a command list on the host memory. In one or more embodiments, the one or more memory devices can receive all of the commands in the command list. The one or more memory devices can also receive a portion of the commands in the command list. [0032] In one or more embodiments, the one or more memory devices can retrieve the command from the host memory by sending data transfer messages to the host. The data transfer messages sent by the one or more memory devices to retrieve commands can be viewed by the host as being the same, e.g., indistinguishable by the host, as the data transfer messages sent by the one or more memory devices to retrieve data from or send data to the host. The bus protocol and the host do not distinguish between data transfer messages for command retrieval or data transfer. The interpretation of the commands and/or data can be handled by the one or more memory devices. The host controller does not interpret data or maintain device or command state information. The host controller can retrieve or deposit data into host memory as directed by the data transfer messages that the host controller receives. [0033] The data transfer messages between the one or more memory devices and the host or between the host and the one or more memory devices can include a packet header. The packet header can include a host memory address context, which can include transfer size, data offset, and flags, among other information.
[0034] Figure 3 illustrates a block diagram of a data transfer message
340 in accordance with one or more embodiments of the present disclosure. In the in embodiment illustrated in Figure 3, the data transfer message 340 can include a packet header 350 and data 370. In one or more embodiments, the packet header 350 can include a number of fields that indicate information regarding the data transfer.
[0035] In one or more embodiments, the packet header 350 can include a transaction type code (TTC) field 352. The TTC field 352 can be used to indicate the type of transaction for a particular data transfer message. The TTC field 352 can be used to indicate the receiver of the data transfer message and the type of operation the packet header 350 represents, e.g., data will be read from host memory, data will be written to host memory, or data will be written to a memory device, among other types of operations.
[0036] In one or more embodiments, the packet header 350 can include a transaction tag (TAG) field 354. The TAG field 354 can be used as an immutable reference count that indicates the phases of a command transaction. The TAG field 354 can be used to track the progress of executing a command if the command is being executed using a number of data transfer messages. [0037] In one or more embodiments, the packet header 350 can include a physical device ID (PDID) field 356. The PDID field 356 can include a number of bits that indicate the physical bus address/ID, the bus number, and channel number, among other physical indentifying features. The PDID field 356 can be used to address the physical location of a particular memory device on the bus and can also indicate to the host which device is sending the data transfer message.
[0038] In one or more embodiments, the packet header 350 can include a logical device ID (LDID) field 358. The LDID field 358 can include the logical device address/ID. The LDID field 358 can be used to logically address a particular unit or element within a physical device, such as the host and/or one or more memory devices.
[0039] In one or more embodiments, the packet header 350 can include an opaque memory pointer object (OMPO) field 360. The OMPO field 360 can include data that indicates a memory address within host memory. The data in the OMPO field 360 includes data that is host dependent. The data in the OMPO field 360 can be a pointer, such as an opaque memory pointer object. An opaque memory pointer object can be an immutable value and that is not modified by one or more memory devices or the host during the processing of a command. A data transfer message can include a number of pointers, wherein one or more pointers can be for one or more command(s), one or more pointers can be for one or more data buffer(s), and one or more pointers can be for one or more status buffer(s). In a scatter/gather data transfer, more than one data buffer pointer can be used.
[0040] In one or more embodiments, the packet header 350 can include an offset field 362. The offset field 362 can include an offset value that can be used to indicate the location of data that is referenced by the pointer. The pointer can be the basis for the location of data and the offset can include a value that is combined with the address in the pointer to find the physical location of data. The pointer and the offset can be used together to indicate the actual address of data in host memory. The offset field 362 can be determined by the memory device. In one or more embodiments, the offset field 362 cannot be modified by one or more memory devices or the host during the processing of a command. In one or more embodiments, the offset is system dependent. [0041] In one or more embodiments, the packet header 350 can include a transfer length field 364. The transfer length field 364 can include the amount of data, e.g., the number of words and/or size of data transfers, to transfer during the data transfer indicated in the data transfer message. [0042] In one or more embodiments, a data transfer message 340 can include data 370. When data is being read from one or more memory devices and written to host memory, a data transfer message that includes data 370 is sent from one or more memory devices to the host. When data is being read from host memory and written to one or more memory devices, a data transfer message that includes data 370 is sent from the host to one or more memory devices.
[0043] One or more memory devices can determine how many data transfer messages to send, the size of the data packets, and the direction of the data transfer when executing a command. The one or more memory devices do not require host intervention or tracking of the data transfers or the device state. The one or more memory devices can send data transfer messages and/or completion messages to the host controller. The types of transfer are indicated in the packet header by the TTC, which can be a data transfer request, e.g., read, or a data transfer response, e.g., write, among other transfer types. In one or more embodiments, one or more data transfer requests or data transfer responses can be used to execute a command, depending on the block size of the host memory and/or the one or more memory devices and the protocol packet size, for example. The one or more memory devices can determine the number of transactions that will occur to execute a command and when to send the data transfer messages. The one or more memory devices can queue the commands based on the timing, sequence, and priority determined by the one or more memory devices. The data transfer messages executing a command(s) can be sent in any order that the one or more memory devices indicates. [0044] In one or more embodiments, the host controller can be configured to respond via hardware and/or firmware to the transaction type codes (TTCs) in the packet header. The ability for the host control to respond to the TTCs allows the host to not maintain state information for a transaction or status information for one or more memory devices, e.g., the host operates in a stateless manner.
[0045] In one or more embodiments, the host controller can be configured to respond via firmware and/or hardware to the memory address context in the packet header. In such embodiments, the host controller can support a first party direct memory access (FPDMA) transfer of data. The transfer of data between the host and one or more memory devices can occur without host intervention.
[0046] One or more memory devices can send a completion message to the host through the host controller upon completion of a data transfer. The completion message can indicate the status of the recently executed command(s). The completion message can also indicate the status of one or more memory devices. The one or more memory devices can receive the status buffer location in the host memory via a pointer that can be included in the data transfer message from the host system to one or more memory devices that indicates a command(s) was ready for execution. The completion message can include a pointer to the status buffer.
[0047] The host controller can transfer the status data in the completion message into the status buffer and can notify the host, in a host dependent fashion, that the completion message has been received and stored. The notification can be completed by any means available to a host to indicate the completion of executing a command(s). In some embodiments, this notification is via an interrupt mechanism implemented within the host.
Conclusion
[0048] The present disclosure includes methods, devices, and systems for controlling host memory access with a memory device. One embodiment for controlling host memory access with a memory device includes receiving at least one command(s) from a host and controlling execution of at least one command(s) with the memory device.
[0049] It will be understood that when an element is referred to as being
"on," "connected to" or "coupled with" another element, it can be directly on, connected, or coupled with the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly on," "directly connected to" or "directly coupled with" another element, there are no intervening elements or layers present. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items. [0050] It will be understood that, although the terms first, second, etc. may be used herein to describe various elements and that these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. Thus, a first element could be termed a second element without departing from the teachings of the present disclosure. [0051] Although specific embodiments have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of one or more embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. Combination of the above embodiments, and other embodiments not specifically described herein will be apparent to those of skill in the art upon reviewing the above description. The scope of the one or more embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of one or more embodiments of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled.
[0052] In the foregoing Detailed Description, some features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the disclosed embodiments of the present disclosure have to use more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate embodiment.

Claims

What is Claimed is:
1. A method for controlling host memory access with a memory device, comprising: receiving at least one command from a host; and controlling execution of at least one command with the memory device.
2. The method of claim 1 , wherein the method includes receiving a pointer from the host to locate at least one command stored in host memory.
3. The method of claim 2, wherein the method includes sending a data transfer message from the memory device to the host and wherein the data transfer message includes the pointer to locate at least one command in host memory.
4. The method of anyone of claims 1 -3 , wherein controlling execution of at least one command with the memory device includes determining the timing, sequence, and size of data transfers.
5. The method of claim 4, wherein determining the timing, sequence, and size of data transfers is based on memory device status and/or ability to execute at least one command.
6. The method of anyone of claims 1-3, wherein controlling execution of at least one command with the memory device includes sending a data transfer message with a packet header.
7. The method of claim 6, wherein the packet header includes a host memory address context.
8. The method of claim 7, wherein the host memory address context includes transfer size, data offset, and data flags.
9. The method of claim 6, wherein the packet header includes a transaction type code, a transaction tag, a physical device ID, a logical device ID, a pointer, an offset, and a transfer length.
10. A method for controlling host memory access with a memory device, comprising: receiving a command message from a host to inform the memory device that at least one command on host memory is ready for execution; retrieving the at least one command from host memory; executing the at least one command under control of the memory device by sending a data transfer message to the host; sending a completion message to the host to notify the host that the at least one command has completed.
1 1. The method of claim 10, wherein the command message includes an opaque memory pointer object that represents a memory pointer to an address within host memory where the at least one command is located.
12. The method of claim 10, wherein the host relinquishes control of execution of the at least one command in relation to sending the command message.
13. The method of claim 10, wherein the host relinquishes control of a bus between the host and the memory device in relation to sending the command message.
14. The method of anyone of claims 10-13, wherein retrieving at least one command includes sending a data transfer message with an opaque memory pointer object, transfer size, data offset, and data flags to a controller of the host.
15. The method of claim 14, wherein retrieving at least one command includes processing the data transfer message with the host controller and transferring at least one command from the host to the memory device.
16. The method of anyone of claims 10-13, wherein sending the data transfer message includes sending the data transfer message with a packet header to the host.
17. A system, comprising: at least one memory device; and host memory, wherein data transfers between the host and at least one memory device are controlled by at least one memory device.
18. The system of claim 17, wherein host memory includes remote host memory.
19. The system of claim 17, wherein host memory includes embedded host memory.
20. The system of claim 17, wherein the at least one memory device controls the bus and the data transfers through the bus.
21. The system of anyone of claims 17-20, wherein the at least one memory device controls the timing and sequence of data transfers to the host.
22. The system of anyone of claims 17-20, wherein the at least one memory device controls the data transfers between the host and the at least one memory device by sending data transfer messages to the host.
23. The system of claim 22, wherein the data transfer messages contain a pointer to at least one command.
24. A system, comprising: at least one memory device coupled to a host; wherein at least one command is sent from host memory to at least one memory device, and the at least one memory device controls execution of the at least one command.
25. The system of claim 24, wherein the host is configured to build the at least one command and allocate a data buffer and a status buffer in host memory.
26. The system of anyone of claims 24-25, wherein the host is configured to send a command message to the at least one memory device that has a pointer to the at least one command, a pointer to the data buffer, and a pointer to the status buffer.
27. The system of claim 26, wherein the at least one memory device includes control circuitry configured to retrieve one or more commands from the at least one command from host memory using the pointer to the at least one command.
28. The system of anyone of claims 24-25, wherein the at least one memory device includes control circuitry configures control execution of the at least one command by sending at least one data transfer message to the host.
29. The system of claim 28, wherein the at least one data transfer message includes a packet header containing a host memory address context.
30. The system of anyone of claims 24-25, wherein the at least one memory device includes control circuitry configured to process one or more commands determine the number of data transfer messages to send, the size of the data transfers, and the direction of the data transfers.
31. A host controller, comprising: a connection to at least one memory device; a connection to a host processor; and a connection to host memory, wherein the host controller sends commands built by the host processor in the host system memory to the at least one memory device, and wherein the host controller sends data between host memory and the at least one memory device in a stateless manner.
32. The host controller of claim 31 , wherein the host controller is configured to respond to a transaction type code (TTC) in a packet header.
33. The host controller of claim 32, wherein the host controller is configured to support first party direct memory access (FPDMA) with the at least one memory device.
34. The host controller of claim 32, wherein the TTC indicates the direction of the data transfer.
35. A memory device, comprising: a connection configured to couple the memory device to a host; and wherein the memory device is configured to receive at least one command from the host and control execution of the at least one command.
36. The device of claim 35, wherein the memory device is configured to send a data transfer message containing a packet header to a host controller during command execution.
37. The device of claim 35, wherein the memory device is configured to maintain and control a state and status information for a data transfer.
38. The device of anyone of claims 35-37, wherein the memory device is configured to prioritize, sequence, and queue the at least one command.
39. The device of claim 38, wherein the memory device is configured to prioritize, sequence, and queue the at least one command based on memory device status and/or ability to execute the at least one command.
PCT/US2010/001521 2009-06-03 2010-05-24 Methods for controlling host memory access with memory devices and systems WO2010141059A2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020127000024A KR101371936B1 (en) 2009-06-03 2010-05-24 Methods for controlling host memory access with memory devices and systems
EP10783693.4A EP2438522B1 (en) 2009-06-03 2010-05-24 Methods for controlling host memory access with memory devices and systems
JP2012513924A JP5638069B2 (en) 2009-06-03 2010-05-24 Method and system for controlling host memory access by a memory device
CN201080024691.9A CN102460405B (en) 2009-06-03 2010-05-24 For being carried out the method and system of main control system memory access by storage arrangement

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/477,204 2009-06-03
US12/477,204 US8225052B2 (en) 2009-06-03 2009-06-03 Methods for controlling host memory access with memory devices and systems

Publications (2)

Publication Number Publication Date
WO2010141059A2 true WO2010141059A2 (en) 2010-12-09
WO2010141059A3 WO2010141059A3 (en) 2011-03-03

Family

ID=43298357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2010/001521 WO2010141059A2 (en) 2009-06-03 2010-05-24 Methods for controlling host memory access with memory devices and systems

Country Status (7)

Country Link
US (3) US8225052B2 (en)
EP (1) EP2438522B1 (en)
JP (1) JP5638069B2 (en)
KR (1) KR101371936B1 (en)
CN (1) CN102460405B (en)
TW (1) TWI436217B (en)
WO (1) WO2010141059A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015508546A (en) * 2012-01-18 2015-03-19 ▲ホア▼▲ウェイ▼技術有限公司 Message-based memory access device and access method thereof

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9239806B2 (en) * 2011-03-11 2016-01-19 Micron Technology, Inc. Systems, devices, memory controllers, and methods for controlling memory
KR101284002B1 (en) * 2011-09-07 2013-07-10 삼성전자주식회사 Device capable of adopting an external memory
KR102030733B1 (en) * 2013-01-02 2019-10-10 삼성전자주식회사 Memory system and driving method thereof
US9128634B1 (en) * 2013-03-11 2015-09-08 Marvell International Ltd. Systems and methods of packed command management for non-volatile storage devices
CN104461974B (en) * 2013-09-13 2017-07-25 英业达科技有限公司 A kind of server system of use high-speed small-size computer system coffret
US9824004B2 (en) 2013-10-04 2017-11-21 Micron Technology, Inc. Methods and apparatuses for requesting ready status information from a memory
CN104636081B (en) * 2013-11-12 2017-11-14 上海兆芯集成电路有限公司 Data-storage system and its management method
CN103631534B (en) 2013-11-12 2017-01-11 北京兆芯电子科技有限公司 Data storage system and managing method thereof
US10108372B2 (en) 2014-01-27 2018-10-23 Micron Technology, Inc. Methods and apparatuses for executing a plurality of queued tasks in a memory
US9454310B2 (en) * 2014-02-14 2016-09-27 Micron Technology, Inc. Command queuing
US11030122B2 (en) 2014-04-08 2021-06-08 Micron Technology, Inc. Apparatuses and methods for securing an access protection scheme
US9851901B2 (en) 2014-09-26 2017-12-26 Western Digital Technologies, Inc. Transfer of object memory references in a data storage device
US9535850B1 (en) 2015-01-28 2017-01-03 Google Inc. System and method for efficient DMA transfers
US10120818B2 (en) * 2015-10-01 2018-11-06 International Business Machines Corporation Synchronous input/output command
KR20170046862A (en) * 2015-10-21 2017-05-04 에스케이하이닉스 주식회사 Memory system and operating method of memory system
KR20180018886A (en) 2016-08-09 2018-02-22 삼성전자주식회사 Operation method of storage system and operation method of host
US10621117B2 (en) * 2017-06-15 2020-04-14 Micron Technology, Inc. Controlling memory devices using a shared channel
KR20190106228A (en) * 2018-03-08 2019-09-18 에스케이하이닉스 주식회사 Memory system and operating method of memory system
US10853273B2 (en) 2018-08-01 2020-12-01 Micron Technology, Inc. Secure memory system programming
US11599481B2 (en) 2019-12-12 2023-03-07 Western Digital Technologies, Inc. Error recovery from submission queue fetching errors
CN116964565A (en) * 2020-12-17 2023-10-27 华为技术有限公司 Data processing method and related equipment
US20220291947A1 (en) * 2021-03-10 2022-09-15 Meta Platforms, Inc. Apparatus, systems, and methods for facilitating efficient hardware-firmware interactions

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040128409A1 (en) 2002-12-31 2004-07-01 Bennett Joseph A. Optical storage transfer performance

Family Cites Families (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4425615A (en) * 1980-11-14 1984-01-10 Sperry Corporation Hierarchical memory system having cache/disk subsystem with command queues for plural disks
US4682284A (en) * 1984-12-06 1987-07-21 American Telephone & Telegraph Co., At&T Bell Lab. Queue administration method and apparatus
JP3209634B2 (en) * 1994-03-28 2001-09-17 株式会社日立製作所 Computer system
US6374313B1 (en) * 1994-09-30 2002-04-16 Cirrus Logic, Inc. FIFO and method of operating same which inhibits output transitions when the last cell is read or when the FIFO is erased
US5809224A (en) * 1995-10-13 1998-09-15 Compaq Computer Corporation On-line disk array reconfiguration
US5968143A (en) * 1995-12-13 1999-10-19 International Business Machines Corporation Information handling system for transfer of command blocks to a local processing side without local processor intervention
US6049842A (en) 1997-05-01 2000-04-11 International Business Machines Corporation Efficient data transfer mechanism for input/output devices
US6212593B1 (en) 1998-06-01 2001-04-03 Advanced Micro Devices, Inc. Method and apparatus for generating interrupts on a buffer by buffer basis in buffer descriptor ring direct memory access system
US6996820B1 (en) * 1999-04-05 2006-02-07 Cisco Technology, Inc. Efficient multiple priority list memory system
JP4074029B2 (en) 1999-06-28 2008-04-09 株式会社東芝 Flash memory
US7457897B1 (en) * 2004-03-17 2008-11-25 Suoer Talent Electronics, Inc. PCI express-compatible controller and interface for flash memory
US6956818B1 (en) 2000-02-23 2005-10-18 Sun Microsystems, Inc. Method and apparatus for dynamic class-based packet scheduling
US20030065862A1 (en) * 2001-09-28 2003-04-03 Wyland David C. Computer system and method for communications between bus devices
US6807599B2 (en) * 2001-10-15 2004-10-19 Advanced Micro Devices, Inc. Computer system I/O node for connection serially in a chain to a host
JP2003256273A (en) * 2002-02-26 2003-09-10 Nec Corp Flash memory access circuit and flash memory access method
EP1345236B1 (en) 2002-03-14 2011-05-11 STMicroelectronics Srl A non-volatile memory device
KR100441608B1 (en) 2002-05-31 2004-07-23 삼성전자주식회사 NAND flash memory interface device
KR100449807B1 (en) 2002-12-20 2004-09-22 한국전자통신연구원 System for controlling Data Transfer Protocol with a Host Bus Interface
KR100546348B1 (en) 2003-07-23 2006-01-26 삼성전자주식회사 Flash memory system and data writing method there-of
US7689738B1 (en) * 2003-10-01 2010-03-30 Advanced Micro Devices, Inc. Peripheral devices and methods for transferring incoming data status entries from a peripheral to a host
US7673080B1 (en) * 2004-02-12 2010-03-02 Super Talent Electronics, Inc. Differential data transfer for flash memory card
WO2005122711A2 (en) 2004-06-15 2005-12-29 Trek 2000 International Ltd. Solid-state storage device with wireless host interface
US20060010260A1 (en) 2004-07-07 2006-01-12 Fung Hon C Direct memory access (DMA) controller and bus structure in a master/slave system
US7290085B2 (en) 2004-11-16 2007-10-30 International Business Machines Corporation Method and system for flexible and efficient protocol table implementation
US7475167B2 (en) * 2005-04-15 2009-01-06 Intel Corporation Offloading data path functions
US7428610B2 (en) 2006-02-14 2008-09-23 Atmel Corporation Writing to flash memory
TW200734880A (en) 2006-03-07 2007-09-16 Via Tech Inc Direct memory access method for microcomputer system
KR100896181B1 (en) 2007-01-26 2009-05-12 삼성전자주식회사 Apparatus and method for controlling an embedded NAND flash memory
KR20080105390A (en) 2007-05-30 2008-12-04 삼성전자주식회사 Apparatus and method for controlling commands used in flash memory
US8683126B2 (en) * 2007-07-30 2014-03-25 Nvidia Corporation Optimal use of buffer space by a storage controller which writes retrieved data directly to a memory
US8239612B2 (en) 2007-09-27 2012-08-07 Tdk Corporation Memory controller, flash memory system with memory controller, and control method of flash memory
JP4488048B2 (en) * 2007-09-27 2010-06-23 Tdk株式会社 MEMORY CONTROLLER, FLASH MEMORY SYSTEM HAVING MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD
CN101162449B (en) 2007-10-08 2010-06-02 福州瑞芯微电子有限公司 NAND FLASH controller and data interactive method with NAND FLASH chip
US20100042751A1 (en) * 2007-11-09 2010-02-18 Kouichi Ishino Data transfer control device, data transfer device, data transfer control method, and semiconductor integrated circuit using reconfigured circuit
TW200921395A (en) 2007-11-14 2009-05-16 Sonix Technology Co Ltd System and method of direct memory access
US8364863B2 (en) * 2008-07-11 2013-01-29 Intel Corporation Method and apparatus for universal serial bus (USB) command queuing
US8327040B2 (en) * 2009-01-26 2012-12-04 Micron Technology, Inc. Host controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040128409A1 (en) 2002-12-31 2004-07-01 Bennett Joseph A. Optical storage transfer performance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2438522A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015508546A (en) * 2012-01-18 2015-03-19 ▲ホア▼▲ウェイ▼技術有限公司 Message-based memory access device and access method thereof
US9870327B2 (en) 2012-01-18 2018-01-16 Huawei Technologies Co., Ltd. Message-based memory access apparatus and access method thereof

Also Published As

Publication number Publication date
US20120284466A1 (en) 2012-11-08
CN102460405A (en) 2012-05-16
CN102460405B (en) 2015-11-25
JP2012529103A (en) 2012-11-15
US8225052B2 (en) 2012-07-17
US20100312973A1 (en) 2010-12-09
JP5638069B2 (en) 2014-12-10
US8918600B2 (en) 2014-12-23
WO2010141059A3 (en) 2011-03-03
TW201104438A (en) 2011-02-01
TWI436217B (en) 2014-05-01
EP2438522B1 (en) 2015-10-28
KR101371936B1 (en) 2014-03-07
KR20120014938A (en) 2012-02-20
EP2438522A2 (en) 2012-04-11
US20150153956A1 (en) 2015-06-04
EP2438522A4 (en) 2013-05-08
US9811258B2 (en) 2017-11-07

Similar Documents

Publication Publication Date Title
US9811258B2 (en) Methods for controlling host memory access with memory devices and systems
US11494122B2 (en) Command queuing
US9588697B2 (en) Host controller
US8819328B2 (en) Controller and method for performing background operations
KR20080105390A (en) Apparatus and method for controlling commands used in flash memory
WO2020247240A1 (en) Extended memory interface
US11954370B2 (en) Command queuing
WO2011119151A1 (en) Communication between a computer and a data storage device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080024691.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10783693

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 2010783693

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012513924

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20127000024

Country of ref document: KR

Kind code of ref document: A