Disabling cache portions during low voltage operations
Methods and apparatus relating to disabling one or more cache portions during low voltage operations are described. In some embodiments, one or more extra bits may be used for a portion of a cache that indicate whether the portion of the cache is capable at operating at or below Vccmin levels. Other embodiments are also described and claimed.
1. A method comprising:
receiving a request to access a cache line set of a plurality of cache line sets in an ultra low power mode (ULPM) wherein the ULPM uses an ultra low voltage level to access cache lines at lower than a minimum voltage level at which all memory cells of the cache may operate reliably;
determining if a cache line of a first way of the cache line set is operable in the ULPM based at least in part on one or more way disable bits corresponding to the cache line of the first way;
returning a miss at least in part responsive to whether the cache line of the first way of the cache line set is determined inoperable in the ULPM; and
returning a hit at least in part responsive to whether the cache line of the first way of the cache line set is determined operable in the ULPM.
2. The method of claim 1 , further comprising:
receiving a request to enter ULPM; and
flushing the cache line of the first way of the cache line set responsive to the first way of the cache line set being determined inoperable in the ULPM.
3. The method of claim 1 , further comprising:
receiving a request to enter ULPM; and
not flushing the cache line of the first way of the cache line set responsive to the first way of the cache line set being determined operable in the ULPM.
4. The method of claim 3 , further comprising testing the portion of cache to determine whether the portion of the cache is operable at the ultra low voltage level, wherein the testing is to be performed during manufacturing or Power On Self Test (POST).
5. The method of claim 4 further comprising updating the one or more bits in response to the testing.