Patent ID: 9632935
Date: 2017-04-25
CPC Classifications: G06F

Claim:
1. A method for controlling a cache, the method comprising: detecting a power loss to the cache, the cache comprising a volatile memory, a non-volatile memory, a buffer, and a data transfer controller that controls data transfer between the volatile memory and the non-volatile memory; in response to the power loss detection, automatically enabling a backup power supply associated only with the cache and providing, via the buffer of the cache, a first control signal that indicates the power loss detection to the data transfer controller; detecting restoration of power to the cache; in response to the power restoration detection, automatically providing, via the buffer of the cache, a second control signal that indicates the power restoration detection to the data transfer controller; and upon restoration of power to the cache, receiving, at a controller configured to control the cache, a flag communicated from the non-volatile memory indicating that the non-volatile memory includes dirty data, the dirty data comprising data that has not been stored in a storage device associated with the cache.