Monitoring the operation of a processor

US10599547B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10599547-B2
Application numberUS-201715827890-A
CountryUS
Kind codeB2
Filing dateNov 30, 2017
Priority dateDec 17, 2015
Publication dateMar 24, 2020
Grant dateMar 24, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of an invention for monitoring the operation of a processor are disclosed. In one embodiment, a system includes a processor and a hardware agent external to the processor. The processor includes virtualization logic to provide for the processor to operate in a root mode and in a non-root mode. The hardware agent is to verify operation of the processor in the non-root mode based on tracing information to be collected by a software agent to be executed by the processor in the root mode.

First claim

Opening claim text (preview).

What is claimed is: 1. An apparatus comprising: a hardware agent, external to a processor, to interrupt the processor to cause the processor to exit a virtual machine (VM) and initiate a sampling interval during which a software agent to be executed by the processor in a root mode is to collect tracing information to be used by the hardware agent to verify operation of the processor in a non-root mode, wherein the tracing information is to be stored in one or more of a plurality of memory regions accessible to the hardware and inaccessible to the virtual machine, the VM is to run guest software in the non-root mode and be hosted by a virtual machine monitor (VMM), and the VMM is to run in the root mode in which host software is to directly control system resources. 2. The apparatus of claim 1 , wherein operation of the processor in the non-root mode includes execution of an ordinary software stack by the virtual machine. 3. The apparatus of claim 2 , wherein the tracing information is to include an initial checkpoint of state storage of the processor and a final checkpoint of the state storage of the processor. 4. The apparatus of claim 3 , wherein the hardware agent is to emulate execution of the ordinary software stack by the processor from an initial state based on the initial checkpoint to a final state and to compare the final state to the final checkpoint. 5. The apparatus of claim 4 , wherein the software agent is to record initial checkpoint information in connection with initiation of the sampling interval and to record final checkpoint information in connection with termination of the sampling interval. 6. The apparatus of claim 5 , wherein the hardware agent is also to interrupt the processor to terminate the sampling interval. 7. A method comprising: executing, by a virtual machine (VM), an ordinary software stack; interrupting, by a hardware agent external to a processor, the processor to cause the processor to exit the VM and initiate a sampling interval; monitoring, by a software agent during the sampling interval, execution of the ordinary software stack; storing, by the software agent, tracing information in a system memory; interrupting, by the hardware agent, the processor to terminate the sampling interval; and verifying, by the hardware agent, operation of the processor, wherein verifying includes using the tracing information to compare an actual final state to an emulated final state. 8. The method of claim 7 , wherein the software agent executes in a root mode of the processor. 9. The method of claim 8 , further comprising storing, by the software agent, a copy of an actual initial state. 10. The method of claim 9 , further comprising modifying, by the hardware agent based on emulation of execution of the ordinary software stack by the processor, the copy of the actual initial state to generate the emulated final state. 11. The method of claim 10 , further comprising marking, by the software agent in connection with initiation of the sampling interval, as read-only a plurality of memory regions to cause a virtual machine exit in connection with an attempt by the ordinary software stack to modify a memory region in the plurality of memory regions. 12. The method of claim 11 , further comprising adding, by the software agent in response to the virtual machine exit, the memory region to a list of traced memory regions. 13. The method of claim 12 , wherein the copy of the actual initial state includes a copy of the memory region before being modified by the ordinary software stack executing on the virtual machine during the sampling interval.

Assignees

Inventors

Classifications

  • using interrupt (G06F13/32 takes precedence) · CPC title

  • Virtual · CPC title

  • Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines · CPC title

  • where the computing system component is a central processing unit [CPU] · CPC title

  • Performance evaluation by tracing or monitoring · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10599547B2 cover?
Embodiments of an invention for monitoring the operation of a processor are disclosed. In one embodiment, a system includes a processor and a hardware agent external to the processor. The processor includes virtualization logic to provide for the processor to operate in a root mode and in a non-root mode. The hardware agent is to verify operation of the processor in the non-root mode based on t…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F11/3024. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 24 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).