IP Library › Granted Patent US 8,879,301
Granted Patent B2
US 8,879,301 · App. 13/616,142 · Granted Nov 4, 2014

Method and apparatus for controlling state information retention in an apparatus

Inventors: David Mayhew (Northborough, MA); Mark Hummel (Franklin, MA); Michael Ignatowski (Austin, TX)
Assignee: Advanced Micro Devices, Inc.
G11C13/0002G11C14/0045H03K19/0019G11C11/4125H03K19/0016G11C5/005
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,879,301
App. No.
13/616,142
Granted
Nov 4, 2014
Kind
B2
Abstract

A method and apparatus for controlling state information retention determines at least a state information save or restore condition for at least one processing circuit such as one or more CPU or GPU cores or pipelines, in an integrated circuit. In response to determining the state information save or restore condition, the method and apparatus controls either or both of saving or restoring of state information for different virtual machines operating on the processing circuit, into corresponding on-die persistent passive variable resistance memory. The state information save or restore condition is a virtual machine level state information save or restore condition. State information for each of differing virtual machines is saved or restored from differing on-die passive variable resistance memory cells that are assigned on a per-virtual machine basis.

Claims (51)

1. A method for controlling state information retention in an apparatus comprising:

determining at least a state information save or restore condition for at least one processing circuit in an integrated circuit die; and

in response to determining the condition, controlling at least one of saving or restoring of state information for different virtual machines operating on the processing circuit into or from corresponding on-die passive variable resistance memory.

2. The method of claim 1 comprising determining whether to save or restore state information to the corresponding on-die passive variable resistance memory or to off-die memory based on virtual machine priority information.

3. The method of claim 1 wherein controlling at least one of saving or restoring of state information for the at least one processing circuit to corresponding on-die passive variable resistance memory comprises managing passive variable resistance memory state backup correlation data for a plurality of virtual machines.

4. The method of claim 1 comprising using a hypervisor to control the at least one of saving or restoring of state information for the processing circuit to corresponding on-die passive variable resistance memory based on switching of use of the processing by different operating system instances.

5. The method of claim 1 wherein controlling at least one of saving or restoring of state information for the processing circuit to corresponding on-die passive variable resistance memory comprises controlling the saving and restoring of state information:

to/from a passive variable resistance persistent state memory dedicated for a pipeline cache;

to/from a passive variable resistance persistent state memory dedicated for saving and restoring execution pipeline state information;

to/from a passive variable resistance persistent state memory dedicated for a register file; and

to/from a passive variable resistance persistent state memory dedicated for architectural state information.

6. The method of claim 1 comprising:

executing a save state instruction that comprises data representing a save state command and an on die PVRM identifier corresponding to one of a set of on die PVRM memories corresponding to one of a plurality of virtual machines; and

executing a restore state instruction that comprises data representing a restore command and an on die PVRM identifier corresponding to one of a set of on die PVRM memories corresponding to one of a plurality of virtual machines.

7. An integrated circuit comprising:

at least one processing circuit operative to generate state information;

corresponding on-die passive variable resistance memory, operatively coupled to the processing circuit, that is configured as dedicated on-die persistent state retention memory for state information of the processing circuit; and

control logic operative to control at least one of saving or restoring of state information for different virtual machines operating on the processing circuit into or from corresponding on-die passive variable resistance memory in response to a virtual machine level state information save or restore condition.

8. The integrated circuit of claim 7 wherein the control logic is operative to determine whether to save or restore state information to the corresponding on-die passive variable resistance memory or to off-die memory based on virtual machine priority information.

9. The integrated circuit of claim 7 wherein the control logic is operative to control at least one of saving or restoring of state information for the at least one processing circuit to corresponding on-die passive variable resistance memory by managing passive variable resistance memory state backup correlation data for a plurality of virtual machines.

10. The integrated circuit of claim 7 wherein the control logic executes a hypervisor to control the at least one of saving or restoring of state information for the processing circuit to corresponding on-die passive variable resistance memory based on switching of use of the processing by different operating system instances.

11. The integrated circuit of claim 7 wherein the control logic is operative to control at least one of saving or restoring of state information to corresponding on-die passive variable resistance memory by controlling the saving and restoring of state information:

to/from a passive variable resistance persistent state memory dedicated for a pipeline cache;

to/from a passive variable resistance persistent state memory dedicated for saving and restoring execution pipeline state information;

to/from a passive variable resistance persistent state memory dedicated for a register file; and

to/from a passive variable resistance persistent state memory dedicated for architectural state information.

12. The integrated circuit of claim 8 wherein the control logic:

executes a save state instruction that comprises data representing a save state command and an on die PVRM identifier corresponding to one of a set of on die PVRM memories corresponding to one of the plurality of virtual machines; and

executes a restore state instruction that comprises data representing a restore command and an on die PVRM identifier corresponding to one of a set of on die PVRM memories corresponding to one of the plurality of virtual machines.

13. An apparatus comprising:

an integrated circuit die comprising:

at least one processing circuit operative to generate state information;

corresponding on-die passive variable resistance memory, operatively coupled to the processing circuit, that is configured as dedicated on-die persistent state retention memory for state information of the processing circuit;

control logic operative to control at least one of saving or restoring of state information for different virtual machines operating on the processing circuit into or from corresponding on-die passive variable resistance memory in response to a virtual machine level state information save or restore condition; and

off die state information memory accessible by the on die processing circuit.

14. The apparatus of claim 13 wherein the control logic is operative to determine whether to save or restore state information to the corresponding on-die passive variable resistance memory or to off-die memory based on virtual machine priority information.

15. The integrated circuit of claim 13 wherein the control logic is operative to control at least one of saving or restoring of state information for the at least one processing circuit to corresponding on-die passive variable resistance memory by managing passive variable resistance memory state backup correlation data for a plurality of virtual machines.

16. The apparatus of claim 13 wherein the control logic executes a hypervisor to control the at least one of saving or restoring of state information for the processing circuit to corresponding on-die passive variable resistance memory based on switching of use of the processing by different operating system instances.

17. The apparatus of claim 13 wherein the control logic is operative to control at least one of saving or restoring of state information to corresponding on-die passive variable resistance memory by controlling the saving and restoring of state information:

to/from a passive variable resistance persistent state memory dedicated for a pipeline cache;

to/from a passive variable resistance persistent state memory dedicated for saving and restoring execution pipeline state information;

to/from a passive variable resistance persistent state memory dedicated for a register file; and

to/from a passive variable resistance persistent state memory dedicated for architectural state information.

18. The apparatus of claim 13 wherein the processing circuit:

executes a save state instruction that comprises data representing a save state command and an on die PVRM identifier corresponding to one of a set of on die PVRM memories corresponding to one of the plurality of virtual machines; and

executes a restore state instruction that comprises data representing a restore command and an on die PVRM identifier corresponding to one of a set of on die PVRM memories corresponding to one of the plurality of virtual machines.

19. A non-transitory computer readable medium comprising executable instructions that when executed cause an integrated circuit fabrication system to fabricate an integrated circuit comprising:

at least one processing circuit operative to generate state information;

corresponding on-die passive variable resistance memory, operatively coupled to the processing circuit, that is configured as dedicated on-die persistent state retention memory for state information of the processing circuit; and

control logic operative to control at least one of saving or restoring of state information for different virtual machines operating on the processing circuit into or from corresponding on-die passive variable resistance memory in response to a virtual machine level state information save or restore condition.

20. The storage medium of claim 19 comprising executable instructions that when executed cause an integrated circuit fabrication system to fabricate an integrated circuit wherein the control logic is operative to determine whether to save or restore state information to the corresponding on-die passive variable resistance memory or to off-die memory based on virtual machine priority information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 3, 2012
From: MAYHEW, DAVID; HUMMEL, MARK; IGNATOWSKI, MICHAEL
To: ADVANCED MICRO DEVICES, INC.
Reel/Frame 029067/0985 →
Continuity (3)
Provisional Application 61535733 · Sep 16, 2011
Provisional Application 61535730 · Sep 16, 2011
Related Publication 20130070515A1 · Mar 21, 2013