×

Storage protection unit

  • US 10,712,976 B2
  • Filed: 10/02/2017
  • Issued: 07/14/2020
  • Est. Priority Date: 10/02/2017
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus, comprising:

  • non-volatile memory;

    a memory device interface;

    a host controller configured to;

    obtain Universal Flash Storage (UFS) Protocol Information Units to access the non-volatile memory; and

    provide the UFS Protocol Information Units to the memory device interface, each UFS Protocol Information Unit containing an identifier of an initiator that seeks access to data at a logical address in the non-volatile memory; and

    a memory controller in communication with the non-volatile memory and the memory device interface, the memory controller configured to;

    process accesses by initiators to regions of the non-volatile memory during a learning phase in which access to the regions of the non-volatile memory by the initiators is trusted;

    store a mapping between the initiators and the regions of the non-volatile memory accessed by the initiators during the learning phase, including store mappings between logical addresses and physical addresses in the non-volatile memory, the mappings including a first mapping between a first physical address and a first logical address to which a first initiator has access and a second mapping between a second physical address and a second logical address to which a second initiator has access;

    access a first initiator identifier from a first of the UFS Protocol Information Units, the first UFS Protocol Information Unit seeking access to data for the first logical address during an access phase;

    control access to data at the first physical address in the non-volatile memory to which the first logical address is presently mapped based on the first accessed initiator identifier during the access phase;

    perform wear leveling to swap data at the first physical address to which the first initiator has access based on the first logical address with data at the second physical address to which the second initiator has access based on the second logical address during the access phase, including change the first mapping to be between the first logical address and the second physical address and change the second mapping to be between the second logical address and the first physical address;

    access a second initiator identifier from a second of the UFS Protocol Information Units during the access phase, the second UFS Protocol Information Unit seeking access to data for the first logical address; and

    control access to data at the second physical address in the non-volatile memory to which the first logical address is presently mapped based on the second accessed initiator identifier during the access phase.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×