IP Library › Granted Patent US 9,798,666
Granted Patent B2
US 9,798,666 · App. 14/752,109 · Granted Oct 24, 2017

Supporting fault information delivery

Inventors: Rebekah M. Leslie-Hurd (Portland, OR); Carlos V. Rozas (Portland, OR); Francis X. McKeen (Portland, OR); Ilya Alexandrovich (Haifa, IL); Vedvyas Shanbhogue (Austin, TX); Bin Xing (Hillsboro, OR); Mark W. Shanahan (Raleigh, NC); Simon P. Johnson (Beaverton, OR)
Assignee: Intel Corporation
G06F12/0844G06F12/0882G06F2212/1032G06F2212/1052G06F2212/281G06F2212/312G06F2212/402G06F2212/608
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 9,798,666
App. No.
14/752,109
Granted
Oct 24, 2017
Kind
B2
Abstract

A processor implementing techniques to supporting fault information delivery is disclosed. In one embodiment, the processor includes a memory controller unit to access an enclave page cache (EPC) and a processor core coupled to the memory controller unit. The processor core to detect a fault associated with accessing the EPC and generate an error code associated with the fault. The error code reflects an EPC-related fault cause. The processor core is further to encode the error code into a data structure associated with the processor core. The data structure is for monitoring a hardware state related to the processor core.

Claims (32)

1. A processor comprising:

a memory controller unit to access an enclave page cache (EPC); and

a processor core coupled to the memory controller unit, the processor core to:

detect a fault associated with accessing the EPC;

generate an error code associated with the fault, wherein the error code reflects an EPC-related fault cause;

encode the error code into a data structure associated with the processor core, the data structure for monitoring a hardware state related to the processor core; and

provide an alert comprising information from the data structure for a resolution of the EPC-related fault cause.

2. The processor core of claim 1 , wherein the processor core is further to set an indicator in the data structure that indicates the fault is caused by access of a memory page of the EPC.

3. The processor of claim 2 , wherein the processor core is further to set an indicator in the data structure that represents error code information associated with the EPC-related fault.

4. The processor of claim 3 , wherein the error code information comprises several bit indicators indicating at least one of a memory page of the EPC that is accessed at an incorrect type, that the memory page access violated the EPC access permissions, and that the memory page of the EPC is write protected.

5. The processor of claim 1 , wherein the processor core is further to:

check a data source associated with a kernel executed by the processing cores; and

determine the source of the EPC-related fault based on at least the data source associated with the kernel and the data structure associated with the EPC-related fault cause.

6. A method, comprising:

detecting, using a processing device, a fault associated with accessing an enclave page cache (EPC) in a memory device;

generating an error code associated with the fault, wherein the error code reflects an EPC-related fault cause;

encoding the error code into a data structure associated with the processing device, the data structure for monitoring a hardware state related to the processing device; and

providing an alert comprising information from the data structure for a resolution of the EPC-related fault cause.

7. The method of claim 6 , further comprising setting an indicator in the data structure that indicates the fault is caused by access of a memory page of the EPC.

8. The method of claim 7 , further comprising setting an indicator in the data structure that represents error code information associated with the EPC-related fault.

9. The method of claim 8 , wherein the error code information comprises several bit indicators indicating at least one of a memory page of the EPC that is accessed at an incorrect type, that the memory page access violated the EPC access permissions, and that the memory page of the EPC is write protected.

10. The method of claim 6 , further comprising:

checking a data source associated with a kernel executed by the processing device; and

determining the source of the EPC-related fault based on at least the data source associated with the kernel and the data structure associated with the EPC-related fault cause.

11. A computer-readable non-transitory storage medium comprising executable instructions that, when executed by a processing system, cause the processing system to:

detect, using the processing system, a fault associated with accessing an EPC in memory;

generate an error code associated with the fault, wherein the error code reflects an EPC-related fault cause;

encode the error code into a data structure associated with the processing system, the data structure for monitoring a hardware state related to the processing system; and

provide an alert comprising information from the data structure for a resolution of the EPC-related fault cause.

12. The computer-readable non-transitory storage medium of claim 11 , wherein executable instructions further causes the processing system to set an indicator in the data structure that indicates the fault is caused by access of a memory page of the EPC.

13. The computer-readable non-transitory storage medium of claim 12 , wherein executable instructions further causes the processing system to set an indicator in the data structure that represents error code information associated with the EPC-related fault.

14. The computer-readable non-transitory storage medium of claim 13 , wherein the error code information comprises several bit indicators indicating at least one of a memory page of the EPC that is accessed at an incorrect type, that the memory page access violated the EPC access permissions, and that the memory page of the EPC is write protected.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 24, 2015
From: LESLIE-HURD, REBEKAH M.; ROZAS, CARLOS V.; MCKEEN, FRANCIS X.; ALEXANDROVICH, ILYA; SHANBHOGUE, VEDVYAS; XING, BIN; SHANAHAN, MARK W.; JOHNSON, SIMON P.
To: INTEL CORPORATION
Reel/Frame 036678/0124 →
Continuity (1)
Related Publication 20160378664A1 · Dec 29, 2016