Invention Grant
- Patent Title: Shadow stack ISA extensions to support fast return and event delivery (FRED) architecture
-
Application No.: US16833599Application Date: 2020-03-28
-
Publication No.: US11243769B2Publication Date: 2022-02-08
- Inventor: Vedvyas Shanbhogue , Gilbert Neiger , Deepak K. Gupta , H. Peter Anvin
- Applicant: Intel Corporation
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Nicholson De Vos Webster & Elliott LLP
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F21/52

Abstract:
An apparatus and method for efficiently managing shadow stacks. For example, one embodiment of a processor comprises: a plurality of registers to store a plurality of shadow stack pointers (SSPs), each SSP associated with a different event priority; event processing circuitry to select a first SSP of the plurality of SSPs from a first register of the plurality of registers responsive to receipt of a first event associated with a first event priority level, the first SSP usable to identify a top of a first shadow stack; verification and utilization checking circuitry to determine whether the first SSP has been previously verified, wherein if the first SSP has not been previously verified then initiating a set of atomic operations to verify the first SSP and confirm that the first SSP is not in use, the set of atomic operations using a locking operation to lock data until the set of atomic operations are complete, and wherein if the first SSP has been previously verified, then re-verifying the first SSP and confirming that the first SSP is not in use without using the locking operation.
Public/Granted literature
- US20210303304A1 Shadow Stack ISA Extensions to Support Fast Return and Event Delivery (FRED) Architecture Public/Granted day:2021-09-30
Information query