Sign In to Follow Application
View All Documents & Correspondence

Providing State Storage In A Processor For System Management Mode

Abstract: In one embodiment, the present invention includes a processor that has an on-die storage such as a static random access memory to store an architectural state of one or more threads that are swapped out of architectural state storage of the processor on entry to a system management mode (SMM). In this way communication of this state information to a system management memory can be avoided, reducing latency associated with entry into SMM. Embodiments may also enable the processor to update a status of executing agents that are either in a long instruction flow or in a system management interrupt (SMI) blocked state, in order to provide an indication to agents inside the SMM. Other embodiments are described and claimed.

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
23 January 2023
Publication Number
15/2024
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
Parent Application

Applicants

INTEL CORPORATION
2200 Mission College Boulevard, Santa Clara, California, 95054 USA

Inventors

1. NATU, Mahesh, S.
5554 Nw Bannister Drive Portland, OR 97229 USA
2. GANESAN, Baskaran
136 Airport Road Bangalore, Karnataka 560037 India
3. RANGARAJAN, Thanunathan
A-89, Jal Vayu Vihar Kammanahalli Main Road Bangalore, Karnataka 560043 India
4. KUMAR, Mohan, J.
18680 Sw Marko Lane Aloha, OR 97007 USA
5. DOSHI, Gautam, B.
O-73 Diamond District Airport Road Bangalore, Karnataka 560008 India
6. PARTHASARATHY, Rajesh, S.
1209, Ne Creeksedge Dr Hillsboro, OR 97124 USA
7. DATTA, Shammanna, M.
532 Ne Lenox Street Hillsboro, OR 97124 USA
8. BINNS, Frank
2420 Nw Pinnacle Drive Portland, OR 97229 USA
9. MURTHY, Rajesh Nagaraja
22nd "b" Main Sector - Ii, Hsr Layout Bangalore, Karnataka 560034 India
10. SWANSON, Robert, C.
7142 Grayhawk Lane Olympia, WA 98516 USA

Specification

Description:RELATED APPLICATION
This patent application is related to India Patent Application No. 9263/DELNP/2011, filed on 25 November 2011, entitled “PROVIDING STATE STORAGE IN A PROCESSOR FOR SYSTEM MANAGEMENT MODE”.
Background
Most computer system processors support a special mode of operation called system management mode (SMM). SMM provides a distinct operating environment that is transparent to operating system (OS) software. This mode is often used by original equipment manufacturers (OEMs) to perform special tasks such as system management, device, power and thermal management. Server-related reliability, availability and serviceability (RAS) functions are usually implemented using SMM. SMM is typically entered by sending a system management interrupt (SMI) message to the processor. Upon acknowledging the SMI, the processor saves the current processor context, also called the Processor Save State, to a portion of system memory that is specifically allocated to SMM, referred to as system management random access memory (SMRAM), and executes SMI handler code contained in SMRAM. When the SMI handler has completed its operations, it executes a special (valid in SMM only) resume instruction, which causes the processor to reload the saved processor context from the SMRAM and resume executing the interrupted task.
In a multiprocessor system, generally a SMI message is broadcasted to all processors. The SMI handler selects one processor, referred to as the SMM monarch, to handle the event. This processor waits until all other processors rendezvous inside SMM before handling the SMI event. Non-monarch processors stay in SMM until the monarch completes the event handling. When the SMM event has been handled, the monarch will signal the other processors to exit SMM. This synchronized entry and exit behavior is implemented to prevent any resource conflicts between the two parallel environments (OS and SMM). That is, if some processors are active in the OS environment and the rest are active in the SMM environment at the same time, it is possible that they may modify a shared resource and thereby interfere with each other’s operations, causing the system to crash. In addition, certain SMM events can only be handled by a specific logical processor or a set of logical processors. A broadcast ensures that this condition is always met, since all logical processors will enter SMI.
Thus, SMI handling in a multiprocessor system is complex and can consume all system resources, preventing the handling of other useful work as while a processor is in SMM, it is not available to the operating system.
Brief Description of the Drawings
FIG. 1 is a block diagram of a processor in accordance with one embodiment of the present invention.
FIG. 2 is a block diagram of a multiprocessor system in accordance with one embodiment of the present invention.
FIG. 3 is a flow diagram of a method in accordance with one embodiment of the present invention.
FIG. 4 is a flow diagram of a method in accordance with another embodiment of the present invention.
Detailed Description
In various embodiments, on-die storage can be used as an alternative to using external physical memory to store the save state of individual threads on SMM entry/exit. In contrast, current systems are dependent on external physical memory for entering and exiting SMM. This SMM dependency on system RAM results in scaling, performance and reliability related limitations in mission critical applications, and can be avoided using an embodiment of the present invention. Note that as used herein, the term “thread” may refer to a hardware thread that includes storage in a processor for the architectural state associated with a process (e.g., a register file and associated configuration and status registers). As used herein, the term “hardware thread” is used synonymously with the term “logical processor.” Each processor core may include multiple logical processors each having a dedicated architectural state storage but which shares other core resources such as front end units, execution units and so forth.
, Claims:1) An apparatus for system management mode comprising:
a processor core to execute instructions and to enter a system management mode (SMM), wherein upon entry to the SMM the processor core is to store an active state present in a state storage of the processor core into a storage unit of the processor core and to set up a SMM execution environment by insertion of values associated with the SMM into the state storage.

Documents

Application Documents

# Name Date
1 202318004553-PRIORITY DOCUMENTS [23-01-2023(online)].pdf 2023-01-23
2 202318004553-FORM 1 [23-01-2023(online)].pdf 2023-01-23
3 202318004553-DRAWINGS [23-01-2023(online)].pdf 2023-01-23
4 202318004553-DECLARATION OF INVENTORSHIP (FORM 5) [23-01-2023(online)].pdf 2023-01-23
5 202318004553-COMPLETE SPECIFICATION [23-01-2023(online)].pdf 2023-01-23
6 202318004553-FORM-26 [19-04-2023(online)].pdf 2023-04-19
7 202318004553-FORM 18 [26-06-2023(online)].pdf 2023-06-26
8 202318004553-FORM 3 [08-09-2023(online)].pdf 2023-09-08
9 202318004553-FORM 3 [13-03-2024(online)].pdf 2024-03-13
10 202318004553-FER.pdf 2025-03-24
11 202318004553-FORM 3 [13-05-2025(online)].pdf 2025-05-13
12 202318004553-OTHERS [29-07-2025(online)].pdf 2025-07-29
13 202318004553-FER_SER_REPLY [29-07-2025(online)].pdf 2025-07-29
14 202318004553-CLAIMS [29-07-2025(online)].pdf 2025-07-29
15 202318004553-ABSTRACT [29-07-2025(online)].pdf 2025-07-29

Search Strategy

1 202318004553_SearchStrategyNew_E_SearchHistory(12)E_19-03-2025.pdf