# US 2023/0068061 A1 · Memory sub-system command fencing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0068061 A1
- Document ID: US20230068061A1
- Status: Published application
- Kind: A1
- Application number: 17/464,813
- Filed: 2021-09-02
- Published: 2023-03-02
- Earliest claimed: 2021-09-02
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Dhawal Bavishi
- Web page: https://patentgrep.com/patent/US20230068061A1

## CPC

- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes memory fencing in memory components of a memory sub-system and receiving a first number of commands and a second number of command for execution on a memory sub-system, receiving a memory fencing command associated with the first number of commands and the second number of commands, and executing at least one of the first number of commands before executing at least one of the second number of commands in response to receiving the memory fencing command. The method further includes executing the at least one of the first number of commands by moving data from a first location in the memory subsystem to a second location in the memory sub-system and executing the at least one of the second number of commands by reading data from the second location in the memory sub-system and sending the data to a host system.

## Claims

### Claim 1

A method, comprising:
receiving a first number of commands for execution on a memory sub-system;
receiving a second number of commands for execution on the memory sub-system;
receiving a memory fencing command associated with the first number of commands and the second number of commands; and
executing at least one of the first number of commands before executing at least one of the second number of commands in response to receiving the memory fencing command.

### Claim 2 (depends on 1)

The method of claim 1, wherein executing the at least one of the first number of commands includes moving data from a first location in the memory subsystem to a second location in the memory sub-system.

### Claim 3 (depends on 2)

The method of claim 2, wherein executing the at least one of the second number of commands includes reading data from the second location in the memory sub-system and sending the data to a host system.

### Claim 4 (depends on 1)

The method of claim 1, further includes executing at least one of the second number of commands before performing at least one of the first number of commands, wherein executing the at least one of the second number of commands includes reading data from a third location of the memory sub-system and sending the data to a host system.

### Claim 5 (depends on 4)

The method of claim 4, wherein the third location of the memory sub-system is not associated with any of the first number of commands.

### Claim 6 (depends on 1)

The method of claim 1, further including performing the first number of commands before performing the second number of commands in response to receiving the memory fencing command.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first number of commands are data movement commands within the memory sub-system and the second number of commands are read commands.

### Claim 8

An apparatus, comprising:
a memory sub-system memory fencing component configured to:
receive a number of commands and a memory fencing command; and
execute a first portion of the number of commands before executing a second portion of the number of commands in response to instructions in the memory fencing command.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the memory fencing command includes instruction to perform data movement commands before performing read commands.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the first portion of the number of commands are executed to move data from a first location in the memory sub-system to a second location in the memory sub-system.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the first portion of the number of commands are executed to move data from a non-volatile memory device to a volatile memory device.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the second portion of the number of commands are executed to read data from the second location in the memory sub-system.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein at least one of the second portion of the number of commands is not associated with an address that is associated with first portion of the number of commands.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein execution of the at least one of the second portion of the number of commands is executed independently of the instructions in the memory fencing command.

### Claim 15

An apparatus, comprising:
a memory sub-system memory fencing component configured to:
receive a first number of commands, a second number of commands, and a memory fencing command; and
execute at least one of the first number of commands before executing at least one of the second number of commands in response to instructions in the memory fencing command.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the instructions in the memory fencing command include instructions to perform data encryption and compressions operations before performing read operations.

### Claim 17 (depends on 14)

The apparatus of claim 14, wherein the first number of commands include data encryption and compression commands and the second number of commands include read commands.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein the instructions in the memory fencing command include instructions to perform logic operations before performing read operations.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein the first number of commands includes instructions to perform logic operations on data from a first location and a second location in the memory sub-system and store the result in a third location in the memory sub-system.

### Claim 20 (depends on 14)

The apparatus of claim 14, wherein the second number of commands include instructions to read data from the third location in the memory sub-system.
