WO2015143594A1 - Syncronization of interrupt processing to reduce power consumption - Google Patents

Syncronization of interrupt processing to reduce power consumption Download PDF

Info

Publication number
WO2015143594A1
WO2015143594A1 PCT/CN2014/073926 CN2014073926W WO2015143594A1 WO 2015143594 A1 WO2015143594 A1 WO 2015143594A1 CN 2014073926 W CN2014073926 W CN 2014073926W WO 2015143594 A1 WO2015143594 A1 WO 2015143594A1
Authority
WO
WIPO (PCT)
Prior art keywords
interrupt
core
delay
processed
time
Prior art date
Application number
PCT/CN2014/073926
Other languages
French (fr)
Other versions
WO2015143594A8 (en
Inventor
Thiam Wah Loh
Gautham N. Chinya
Per Hammarlund
Reza Fortas
Hong Wang
Huajin SUN
Original Assignee
Intel Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Intel Corporation filed Critical Intel Corporation
Priority to CN201480076274.7A priority Critical patent/CN106030559A/en
Priority to KR1020167023040A priority patent/KR20160110509A/en
Priority to JP2016550205A priority patent/JP2017509059A/en
Priority to RU2016134601A priority patent/RU2651238C2/en
Priority to EP14887397.9A priority patent/EP3123343A4/en
Priority to US15/118,501 priority patent/US10089263B2/en
Priority to PCT/CN2014/073926 priority patent/WO2015143594A1/en
Priority to DE112014006501.3T priority patent/DE112014006501T5/en
Priority to EP22174641.5A priority patent/EP4086776A1/en
Publication of WO2015143594A1 publication Critical patent/WO2015143594A1/en
Publication of WO2015143594A8 publication Critical patent/WO2015143594A8/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/24Interrupt
    • G06F2213/2404Generation of an interrupt or a group of interrupts after a predetermined number of interrupts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/24Interrupt
    • G06F2213/2406Generation of an interrupt or a group of interrupts after a fixed or calculated time elapses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • Embodiments relate to interrupt processing. Background
  • Devices such as portable devices, e.g., smart phones, tablets, etc., may have a high rate of asynchronous events that occur as a result of a diversity of peripheral devices that may provide input.
  • asynchronous events may include motion sensors, light sensors, touch screen, etc.
  • portabledevices may receive synchronous events such as periodic interrupts related to cellular network paging, periodic timer events, etc.
  • Interrupt messages which are associated with synchronous and asynchronous events, input to a processor may cause the processor to thrash, e.g., oscillate excessively between an active state and an inactive state, which may in turn cause high power consumption due to "wake-up" power costs as a result oftransitions from the inactive to the active state, which can result in a reduction in time period between recharges of a power source, e.g., battery.
  • FIG. 1 is a block diagram of a system, according to an embodiment of the present invention.
  • FIG. 2 is a block diagram of an interrupt delay controller, according to embodiments of the present invention.
  • FIG. 3A is a block diagram of a processor core in accordance with an embodiment of the present invention.
  • FIG. 3B is a timing diagram of interrupts to be processed according to embodiments of the present invention.
  • FIG. 4 is a flow diagram of a method of processing interrupt events by a processor, according to an embodiment of the present invention.
  • FIG. 5 is a block diagram of a system, according to an embodiment of the present invention.
  • FIG. 6 is a block diagram of a system, according to another embodiment of the present invention.
  • FIG. 7 is a block diagram of a system on a chip, according to an
  • Interrupt sources can be classified according to characteristics of a source and requirements for processing interrupts received from the source. For example, some interrupts are to be serviced without intentional delay before processing ("hard interrupts” or “critical interrupts” herein, e.g., periodic interrupts associated with, e.g., cellular transmission standards). Other interrupts (“soft interrupts” or “non-critical interrupts” herein) are less time sensitive and can be intentionally delayed, with a time delay to be assigned according to anature of the interrupt source, e.g., peripheral device/application.
  • a programmable delay value can be established for each event or group of events.
  • Interrupts can be grouped so that a processor canhandle (e.g., "batch process") a plurality of interrupts whenthe processor is activated
  • a programmed delay timer value is available for an operating system to delay interrupt processing (for example, via execution of a handler associated with the interrupt), e.g., when the processor and/or a system on a chip (SoC) is in a power saving (inactive) state, e.g., one of advanced computing and power interface (ACPI) powered-down states, C1 - C6.
  • SoC system on a chip
  • ACPI advanced computing and power interface
  • programmed delay values for various types of interrupts enables interrupt processing to be batch processed instead of processing each interrupt individually that could causea largepower consumption due to eachinactive-to-active transitionofthe processor or SoC.
  • interrupt processing automatically groups events dynamically based on the corresponding delay time assigned to each interrupt.
  • FIG. 1 is a block diagram of a system 100, according to an embodiment of the present invention.
  • the system 100 includes a processor 1 10 that includes one or more cores 102 0 - 102 N , an interrupt controller 104, and an interrupt delay controller 106, a plurality of peripheral devices 120 0 - 120 M coupled to the processor 1 10, and a dynamic random access memory (DRAM) 130 coupled to the processor 1 10.
  • DRAM dynamic random access memory
  • the processor 1 10 may receive interrupt messages (also "interrupts" herein) from one or more of the peripheral devices 120 0 - 120 M .
  • One or more of the interruptsfhard interrupt may be associated with a corresponding hard real-time interrupt event for which the interrupt is to be processed when received, e.g., not intentionally delayed.
  • a hard interrupt may be associated with a periodic event related to a cellular standard, and the hard interrupt is to be processed by the processor 1 10 upon receipt, e.g., without intentional time delay.
  • interrupts may be periodic (e.g., synchronous) or aperiodic (e.g., asynchronous) but are not associated with hard real-time interrupt events, and therefore processing of such interrupts ("soft interrupts") may be delayed, e.g., intentionally time delayed.
  • asynchronous interrupts may be associated with asynchronous events such assensor input, touch screen, data that may be received aperiodically, etc.
  • a corresponding time delay to process each softinterrupt may be assigned.
  • the time delay to process soft interrupts received from a source peripheral device may be determined based on characteristics of the source peripheral device, and may be determined prior to use of the system 100. For example, one factor to be considered in determination of an acceptable time delay for soft interrupts may be a worst case frequency of occurrences of the associated event. For example if, in a worst case estimate, an event occursevery
  • the time delay may be provided (e.g., stored in the processor 1 10) prior receipt of one or more interrupts by the processor 1 10.
  • Hardinterrupts received by the interrupt delay controller 106 from one or more of the peripheral devices 120 0 - 120 M may be passed to the interrupt controller 104 to be processed without intentional time delay.
  • the interrupt delay controller 106 may select a corresponding time delay (e.g., stored in the interrupt delay controller 106) based on the peripheral device 120 that has provided the soft interrupt.
  • the interrupt delay controller may commencea count of the corresponding time delay, e.g., via a corresponding timer, and when the corresponding timer has reached the end of the time delay, the soft interrupt may be released to the interrupt controller 104 and directed by the interrupt controller 104to be processed by one of the cores 102 0 - 102 N .
  • the interrupt delay controller 106 may determine whether any soft interrupts are pending, e.g., an associated timer has begun to count the time delay for the soft interrupt and has not completed its count. The interrupt delay controller 106 may releaseone or more pending soft interrupts to the interrupt controller 104 for processing by one of the cores 102 0 - 102 N , e.g., without
  • Interrupts that are released for processing by a core are to be processed while the core is active, e.g., the core remains active from a time at which the hard interrupt is received until processing of all softinterrupts that are released is complete.
  • afirst soft interrupt is to be processedby a first core of the cores 102 0 - 102 N , due to expiration of the timer, e.g., the associated timer has completed its count of the respective time delay.
  • the interrupt delay controller 106 mayrelease one or more other pending soft interrupts to the interrupt controller 104 for processing by the first core prior to completion of each respective time delay.
  • Interrupts that are released for processing by the first core are to be batch processed, e.g., processed while the first core is active as a result of processing of the first soft interrupt.
  • the core is to remain active until processing of the interrupts that have been released is complete.
  • the interrupt delay controller 106 mayrelease one or more pending interrupts to be processed during a single active time period of the core. Therefore, the particular core does not oscillate between inactive and active state for each interrupt to be processed. Batch processing of the interruptscan reduce thrashing and can reduce power usage of the processor that would otherwise be expended due to "wakeup" power costs. That is, by batch processing the interrupts, the power expended to re-activate the core may be reduced from multiple instances of wakeup to a single wakeup instance for multiple interrupts to be processed.
  • FIG. 2 is a block diagram of an interrupt delay controller 200, according to embodiments of the present invention.
  • the interrupt delay controller 200 includes time delay counters 210-i - 210 L , time delay registers 220-I - 220 L , and interrupt delay logic 222 that includes interrupt detection logic 224, counter assignment logic 226, and pending interrupt release logic 228.
  • the interrupt delay logic 222 including the interrupt detection logic 224, the counter assignment logic 226, and the pending interrupt release logic 228 may be implemented in software, hardware, firmware, or a combination thereof.
  • a plurality of peripheral devices may generate interrupts 202i - 202j. Some of the interrupts received from some peripheral devices may be hard interrupts, e.g., to be processed without intentional delay. Other interrupts may be soft interrupts and may be delayed prior to processing.
  • the interrupt detection logic 224 may detect each hard interrupt that is received, and may send each hard interrupt to the interrupt controller 230 without delay, to be output to a particular core for processing.
  • Each counter 210-i- 210 L has an associated time delay register 210i - 210 L that stores a determined time delay corresponding to a particular peripheral device that issues softinterrupts.
  • the time delay for a given peripheral device may be stored in the associated time delay register 21 Oi - 210 L (e.g., prior to operation of the interrupt delay controller 200) and may be dependent on a plurality of factors (e.g., performance impact), as described above.
  • the counter assignment logic 226 may assigneach interrupt received from a particular peripheral device to a corresponding counter 210jWhose time delay register 220, is associated with the particular peripheral device.
  • the first interrupt when afirst interrupt is received from a first peripheral device, the first interrupt may be assigned by the counter assignment logic 226 to a first timer 21 Oi that begins a time count toa first time delay value associated with the first peripheral device and stored in the register 220i(e.g., countdown from the first time delay value, or count up to the first time delay value).
  • the interrupt is released to an interrupt controller 230 for
  • the interrupt detection logic 224 may detect receipt of a hard interrupt and may direct the received hard interrupt to the interrupt controller 230 without intentional delay. Processing the hard interrupt may trigger the pending interrupt release logic 228 to release to the interrupt controller 230, prior to completion of the assigned time delay, one or more soft interrupts that are pending, e.g., being intentionally delayed via time delay counter 210.
  • the corresponding interrupt is released to the interrupt controller 230 to be processed by a particular core of the processor (the particular core determined by the interrupt controller 230). Release of the interrupt may cause the pending interrupt release logic 228 to release one or more pending interrupts to the interrupt controller 230, to be processed by the particular core.
  • processor core 300 may be a multi-stage pipelined out-of-order processor.
  • Core 300 may include an interrupt delay unit 302, according to embodiments of the present invention.
  • Interrupts may be received from various peripheral devices and interrupt detection logic 304 may detect whether a received interrupt is a hard interrupt or a soft interrupt. If the received interrupt is a hard interrupt, the received interrupt is sent to front end units 310 and is to be processed by execution units 320 without delay (e.g., without introduction of an intentional time delay). If the received interrupt is a soft interrupt, the interrupt detection logic 304 may indicate to counter assignment logic 306 to assign one of delay counters 307i - 307 L to the received interrupt. The assigned delay counter 307, may count a determined time delay Tj, where Tj is stored in a corresponding time delay register 309 ! - 309 L , and the interrupt delay unit 302 may delay the received soft interrupt from being processed while the corresponding delay counter 307, counts the respective time delay Tj.
  • pending interrupt release logic 308 may cause the pending soft interrupt to be released for processing prior to expiration of its respective delay counter 307j and while execution units 320 are active, according to embodiments of the present invention.
  • power adjustmentlogic 318 may indicate to execution units 320 toreduce power usage from a fully active level to a smaller level of power usage.
  • the power adjustment logic 318 may indicate to the execution units 320 to resume a powered-up state.
  • core 300 includes front end units 310, which may be used to fetch instructions to be executed and prepare them for use later in the processor.
  • front end units 310 may include a fetch unit 301 , an instruction cache 303, and an instruction decoder 305.
  • front end units 310 may further include a trace cache, along with microcode storage as well as a micro-operation storage.
  • Fetch unit 301 may fetch macro-instructions, e.g., from memory or instruction cache 303, and feed them to instruction decoder 305 to decode them into primitives, i.e., micro-operations for execution by the processor.
  • OOO engine 315 Coupled between front end units 310 and execution units 320 is an out-of- order (OOO) engine 315 that may be used to receive the micro-instructions and prepare them for execution. More specifically OOO engine 315 may include various buffers to re-order micro-instruction flow and allocate various resources needed for execution, as well as to provide renaming of logical registers onto storage locations within various register files such as register file 330 and extended register file 335. Register file 330 may include separate register files for integer and floating point operations. Extended register file 335 may provide storage for vector-sized units, e.g., 256 or 512 bits per register.
  • Various resources may be present in the execution units 320, including, for example, various integer, floating point, and single instruction multiple data (SIMD) logic units, among other specialized hardware.
  • SIMD single instruction multiple data
  • such execution units may include one or more arithmetic logic units (ALUs) 322, among other such execution units.
  • ALUs arithmetic logic units
  • Results from the execution units may be provided to retirement logic, namely a reorder buffer (ROB) 340.
  • ROB 340 may include various arrays and logic to receive information associated with instructions that are executed. This information is then examined by ROB 340 to determine whether the instructions can be validly retired and result data committed to the architectural state of the processor, or whether one or more exceptions occurred that prevent a proper retirement of the instructions.
  • ROB 340 may handle other operations associated with retirement.
  • ROB 340 is coupled to a cache 350 which, in one embodiment may be a low level cache (e.g., an L1 cache) although the scope of the present invention is not limited in this regard.
  • execution units 320 can be directly coupled to cache 350. From cache 350, data communication may occur with higher level caches, system memory and so forth. While shown with this high level in the embodiment of FIG. 3A, understand the scope of the present invention is not limited in this regard.
  • FIG. 3A is with regard to an out-of-order machine such as of a so-called x86 instruction set architecture (ISA), the scope of the present invention is not limited in this regard.
  • ISA x86 instruction set architecture
  • embodiments may be implemented in an in-order processor, a reduced instruction set computing (RISC) processor such as an ARM-based processor, or a processor of another type of ISA that can emulate instructions and operations of a different ISA via an emulation engine and associated logic circuitry.
  • RISC reduced instruction set computing
  • FIG. 3B is a timing diagram of interrupts to be processed, according to embodiments of the present invention.
  • Interrupt 1 messages (354-360) are hard interrupts.
  • Interrupt 2 messages (362, 366, 370, 374) are soft interrupts that are periodic.
  • Interrupt 3 messages (378, 382) are softinterrupts that are aperiodic.
  • All interrupts are to be processed by the same core.
  • Softinterrupts may be delayed, with each soft interrupt having a corresponding time delay, as discussed above with regard to FIG. 2.
  • Each of periodic soft interrupts 362, 366, 370, and 374 isdelayed in time, to beprocessed as delayed interrupts364, 368, 372, and 376, respectively.
  • Each of asynchronous soft interrupts 378, 382 is delayed in time, to be processed as interrupts 380 and 384, respectively.
  • Each of hard interrupts 354-360 is to be processedwithoutintentional delay, and each interrupt 354-360 is associated with an inactive-to-active transition (386, 390, 394, 396) in the core that processes the interrupts.
  • Interrupts 354, 356, 358, and 360 are processed at core times 386, 390, 394, and 396, respectively.
  • each interrupt 354, 356, 358, 360 is being processed, one or more pending interrupts (e.g., not yet processed and awaiting expiration of a
  • interrupt 370 is delayed forprocessing to 372
  • interrupt 358 (notated 370 ⁇ 372 herein), and is pending when interrupt 358 is processed.
  • the interrupt (370 ⁇ 372) will be released for processing at time 394, the release triggered by processing of the interrupt 358.
  • two interrupts (358 and 370 ⁇ 372) are to be processed in the same active period of the core that begins at 394.
  • Interrupt 374 is being delayed to 376 and is pending when interrupt 360 is to be processed, e.g., at time 396. Hence, theinterrupt (374 ⁇ 376) will be released for processing during the period of core activity that begins at 396. Additionally, interrupt 382 is delayed to 384 and is pending when the interrupt 360 begins to be processed. Therefore, the interrupt (382 ⁇ 384) will be released for processing during the period of core activity that begins at 396. Thus, three interrupts, 360, (374 ⁇ 376), and (382 ⁇ 384), are to be processed during a continuously active period of the core that begins at 396.
  • Interrupt 366 is delayed for processing at 368. No other interrupt is scheduled to be processedin a time period between 366 and 368, and so the delayed interrupt (366 ⁇ 368)is to be processed at time 392, and processing causes the core to transition from inactive to active at time 392. The core is toreturn to an inactive state after the delayed interrupt (366 ⁇ 368) is processed.
  • Interrupt 362 is delayed to 364 (362 ⁇ 364).
  • Asynchronous soft interrupt 378 is delayed to 380 (378 ⁇ 380).
  • the delayed interrupt (362 ⁇ 364) is not pending while any other interrupt is due to be processed, and therefore will be processed attime 388, corresponding to 364, which is at the end of its time delay.
  • Delayed interrupt (378 ⁇ 380) is pending at time 388 and therefore will be released forprocessing while the core is in the active statedue to processing of delayed interrupt (362 ⁇ 364).
  • two interrupts 364 and (378 ⁇ 380) are processed in one active period that begins at 388.
  • a total of 6 transitions (386 - 396) from inactive to active state of the core results from processing the 10 interrupts received.
  • introduction of a time delay before processing ofsoft interruptscan reduce a total count of inactive-to-active transitions of the core.
  • Reduction in the number of inactive-to-active transitions of the core can reduce total power consumption due to a reduction of the power costs associated with inactive-to-active transitions of the core.
  • FIG. 4 is a flow diagram 400 of a method of processing interrupt events by a processor, according to an embodiment of the present invention.
  • the processor receives an interrupt from a peripheral device.
  • decision diamond 420 if there are other pending interrupts, returning to block 450 the pending interrupts are processed. If, at decision diamond 460, there are no other pending interrupts, the method ends at 470.
  • an N th interrupt is not a hard interrupt, e.g., theN th interrupt is not associated with a hard real time event
  • a corresponding delay timer begins to count a corresponding time delay T N of the N th interrupt.
  • decision diamond 440 when the delay timer has expired, proceeding to block 450 the N th interrupt is processed.
  • decision diamond 460 if there are other pending interrupts when the N th interrupt is
  • Embodiments may be implemented in many different system types.
  • multiprocessor system 500 is a point-to-point interconnect system, and includes a first processor 570 and a second processor 580 coupled via a point-to-point interconnect 550.
  • processors 570 and 580 may be multicore processors, including first and second processor cores (i.e., cores 574a and 574b and cores 584a and 584b), although potentially many more cores may be present in the processors.
  • Processor 570 includes an interrupt delay controller 502 and an interrupt controller 504, and processor 580 includes an interrupt delay controller 506 and an interrupt controller 508,according to embodiments of the present invention.
  • Each interrupt delay controller 502, 506 is to detect incoming interrupts. If the incoming interrupt is associated with a hard real-time event, the interrupt is to be sent to the respective interrupt controller 504, 508 to be processed without intentional delay.
  • the interrupt delay controller 502, 506 is to delay processing of the interrupt by a particular delay time before sending the first interrupt to the respective interrupt controller 504, 508 that directs the firstinterrupt to a core to be processed, unless the first interrupt is pending while a second interrupt is being processed. If the first interrupt is pending while the second interrupt is being processed, the interrupt delay controller 502, 506 is to send the first interrupt to the respective interrupt controller 504, 508 to be directed to the core for processing while the core is in an active state that is triggered by processing of the second interrupt, according to embodiments of the present invention.
  • first processor 570 further includes a memory controller hub (MCH) 572 and point-to-point (P-P) interfaces 576 and 578.
  • second processor 580 includes a MCH 582 and P-P interfaces 586 and 588.
  • MCHs 572 and 582 couple the processors to respective memories, namely a memory 532 and a memory 534, which may be portions of system memory (e.g., DRAM) locally attached to the respective processors.
  • First processor 570 and second processor 580 may be coupled to a chipset 590 via P-P interconnects 562 and 584, respectively.
  • chipset 590 includes P-P interfaces 594 and 598.
  • chipset 590 includes an interface 592 to couple chipset 590 with a high performance graphics engine 538 via a P-P interconnect 539.
  • chipset 590 may be coupled to a first bus 516 via an interface 596.
  • various input/output (I/O) devices 514 may be coupled to first bus 516, along with a bus bridge 518, which couples first bus 516 to a second bus 520.
  • Various devices may be coupled to second bus 520 including, for example, a keyboard/mouse 522, communication devices 526 and a data storage unit 528 such as a disk drive or other mass storage device which may include code 530, in one embodiment.
  • an audio input/output (I/O) 524 may be coupled to second bus 520.
  • One or more of the devices 514, 522, 524, 526 may provide interrupts to be processed by processor 570 or processor 580, according to embodiments of the present invention.
  • Embodiments can be incorporated into other types of systems including mobile devices such as a smart cellular telephone, tablet computer, netbook, UltrabookTM, or so forth.
  • FIG. 6 shown is a block diagram of a system in accordance with another embodiment of the present invention.
  • system 600 may be a mobile device and may include various components.
  • an applications processor 610 which may be a central processing unit of the device, is in
  • Storage 615 in various embodiments, may include both program and data storage portions.
  • Applications processor 610 may further be coupled to an input/output system 620, which in various embodiments may include a display and one or more input devices such as a touch keypad, which itself can appear on the display when processed.
  • the system 600 may also include an integrated sensor hub (ISH) 660 that may receive data from one or more sensors 670.
  • the integrated sensor hub includes an interrupt delay controller (IDC) 662 to detect soft interrupts and delay execution of a soft interrupt by a corresponding delay time (T N ). If another interrupt is to be processed while an interrupt is pending, the interrupt is processed without completing its time delay, according to embodiments of the present invention.
  • IDC interrupt delay controller
  • the applications processor 610 may include an interrupt delay controller (IDC) 602, according to embodiments of the present invention.
  • the IDC 602 may detect an incominghard interrupt (e.g. from transceiver 640 and/or baseband processor 630) associated with a hard real-time event and may, without intentional delay, send the hard interrupt to an interrupt controller (not shown) that sends the interrupt to a core of the applications processor 610 to be processed (e.g., handled).
  • IDC interrupt delay controller
  • the interrupt delay controller 602 may delay processing ofthe first interrupt by a first delay time before releasing the first interrupt to the interrupt controller unless the first interrupt is pending when a second interrupt is being processed at the first core.
  • the interrupt controller is to send the first interrupt to a first core of the applications processor 610 to be processed.
  • processing of the second interrupt triggers the interrupt delay controller 602 to send the first interrupt to the interrupt controller without completion of the time delay,to be directed to the first core for processing while the core is in an active state that is triggered by processing of the first interrupt, according to embodiments of the present invention.
  • the second interrupt may be a hard interrupt or a soft interrupt whose time delay is complete (e.g., time delay counter has expired).
  • Applications processor 610 also may couple to baseband processor 630, which may condition signals such as voice and data communications for output, as well as conditioning incoming telephone and other signals.
  • Baseband processor 630 may include IDC 632 that receives interrupts from peripheral devices 634, and that can delay execution of a received soft interrupt unless the soft interrupt is pending while another interrupt is processed, according to embodiments of the present invention.
  • baseband processor 630 couples to transceiver 640, which may enable both receive and transmit capabilities.
  • transceiver 640 may be in communication with an antenna 650, e.g., any type of antenna capable of
  • a wireless wide area network e.g., a 3G or 4G network
  • a wireless local area network such as a BLUETOOTHTM or so-called WI-FITM network in accordance with an Institute of Electrical and Electronics Engineers 802.1 1 standard.
  • system 600 may further include a rechargeable power supply 625 having a rechargeable battery to enable operation in a mobile environment. While shown with this particular implementation in the embodiment of FIG. 6, the scope of the present invention is not limited in this regard.
  • FIG. 7 is a block diagram of a system on a chip (SOC) in accordance with embodiments of the present invention.
  • the SOC 700 includes a multicore
  • the SOC 700 may perform multiple tasks concurrently, e.g., modem tasks, multimedia tasks, and other processing tasks.
  • the multicore subsystem 710 includes multicore processors 712 and 714, L1 caches 716 and 718, and L2 cache 742.
  • Each of the multicore processors 712 and 714 may include a corresponding interrupt delay controller (IDC) 702, 704.
  • IDC interrupt delay controller
  • Each interrupt delay controller 702, 704 is to detect incoming hard interrupts associated with hard real-time events (e.g. from the interfaces 760) and upon receipt to send each hard interrupt to a respective interrupt controller (not shown) that directs the interrupt to a core of the respective processor 712, 714, to be processed.
  • the interrupt delay controller 702, 704 is to delay,by a first time delay,sending the first interrupt to the respective interrupt controller that is to direct the interrupt to a core to be processed, unless the first interrupt is pending whilea second interrupt is being processed by the core. If the first interrupt is pending whilethesecond interrupt is being processed by the core, the interrupt delay controller 702, 704 is to send the first interrupt to the interrupt controller without completion of the time delay, to be directed to the core for processingwhile the core is in an active state that is triggered by processing of the second interrupt, according to embodiments of the present invention.
  • the modem subsystem 720 may include Long Term Evolution (LTE) modem 722 for wireless communication of high speed data.
  • the modem subsystem 720 may also include global positioning system (GPS) 724, and at least two digital signal processor (DSP) cores 726 and 728.
  • the LTE modem 722 may include IDC 721 to detect interrupts input from the modem subsystem 720 (e.g., from GPS 724) and to delay soft interrupts, according to embodiments of the present invention.
  • the multimedia subsystem 730 may include a graphics processing unit (GPU) 732, audio/video hardware accelerators 734, a digital signal processing core 736, and an MMX processor 738, which may be capable of processing, e.g., single instruction, multiple data (SIMD) instructions.
  • GPU graphics processing unit
  • SIMD single instruction, multiple data
  • a processor in a first example, includes at least one core including a first core.
  • the processor also includes interrupt delay logic to receive a first interrupt at a first time, delay, by a first time delay that begins at the first time, processing of the first interrupt by the first core unless the first interrupt is pending at a second time when processing of a second interrupt by the first core begins, and if the first interrupt is pending at the second time, indicate to the first core to begin to process the first interrupt prior to completion of the first time delay.
  • the interrupt delay logic is to receive a plurality of interrupts that are pending at the second time including the first interrupt, and the first core is to process the plurality of pending interrupts during a first active period that commences at the second time, where the first core remains in an active state throughout the first active period.
  • the first core is to transition from the active state to an inactive state after the second interrupt and the plurality of pending interrupts are processed.
  • the first core is to remain in an active state while the first interrupt and the second interrupt are being processed and to transition to an inactive state after the first interrupt and the second interrupt are processed.
  • the second interrupt is received periodically, and for each occurrence of the second interrupt received the second interrupt is to be processed by the first core without intentional delay and the interrupt delay logic is to indicate to the first core to commence processing of additional pending interrupts prior to completion of a corresponding time delay and while the core remains in an active state.
  • a sixth example that includes the processor of example 5, for each occurrence of receipt of the second interrupt, upon completion of processing of the second interrupt and the additional pending interrupts, the first core is to transition to an inactive state.
  • the interrupt delay logic is further to receive a third interrupt at a third time and assign to the third interrupt a second time delay, and the interrupt delay logic is todelay processing of the third interrupt from the third time by the second time delay unless the third interrupt is pending while the first interrupt or the second interrupt are being processed, and if the third interrupt is pending while the first interrupt or the second interrupt is being processed, indicate to the first core to process the third interrupt without completion of the second time delay.
  • the interrupt delay logic is to indicate to the core to process the third interrupt after completion of the second time delay.
  • the interrupt delay logic includes a counter to count the first time delay.
  • a system in a tenth example, includes a dynamic random access memory (DRAM) and a processor that includes one or more cores, and an interrupt controller to direct each of one or more received interrupts to a first core of the one or more cores.
  • the processor also includes an interrupt delay controller that includes one or more delay counters to count a respective time delay to process a corresponding interrupt, wherein each delaycounter commences a respective count upon receipt by the processor of the corresponding non-critical interrupt, andpending interrupt release logic to, responsive to execution of another interrupt, send each pending interrupt to the interrupt controller to be directed to the first core while the first core is in an active state.
  • the interrupt delay controller is to send the interrupt to the interrupt controller upon completion of the count of the corresponding delay counter.
  • thepending interrupt release logic is to send each pending interrupt to the interrupt controller to be processed while the first core is in the active state.
  • the processor further includes critical interrupt detection logic to, upon receipt of a hard interrupt, send the hard interrupt to the interrupt controller without intentional delay.
  • the processor further includes counter assignment logic to assign a corresponding delay counter to each non-critical interrupt received.
  • a method includes processing a first interrupt by a core of a processor commencing at a first time, assigning, by the processor, a time delay to a second interrupt received at a second time, processing the second interrupt by the core after expiration of the time delay that begins at the second time, unless the second interrupt is pending at the first time, andif the second interrupt is pending at the first time, processing the second interrupt by the core prior to expiration of the time delay.
  • a 19 th example that includes the method of example 16, if a plurality of interrupts are pending at the first time, sending the plurality of interrupts, prior to completion of a respective time delay of each of the plurality of interrupts, to the core to be processed by the core where the core is maintained in an active state while the plurality of interrupts are processed.
  • the time delay is determined based on one or more characteristics of a peripheral device from which the second interrupt is received.
  • an apparatus includes means to perform the method of any one of examples 16 - 23.
  • At least one computer-readable medium includes instructions that when executed enable a system to perform the method of any one of examples 16 - 23.
  • Embodiments may be used in many different types of systems.
  • a communication device can be arranged to perform the various methods and techniques described herein.
  • the scope of the present invention is not limited to a communication device, and instead other embodiments can be directed to other types of apparatus for processing instructions, or one or more machine readable media including instructions that in response to being processed on a computing device, cause the device to carry out one or more of the methods and techniques described herein.
  • Embodiments may be implemented in code and may be stored on a non- transitorystorage medium having stored thereon instructions which can be used to program a system to perform the instructions.
  • the storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, solid state drives (SSDs), compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
  • ROMs read-only memories
  • RAMs random access memories
  • DRAMs dynamic random access memories
  • SRAMs static random access memories
  • EPROMs erasable

Abstract

A processor is disclosed and includes at least one core including a first core, and interrupt delay logic. The interrupt delay logic is to receive a first interrupt at a first time and delay the first interrupt from being processed by a first time delay that begins at the first time,unless the first interrupt is pending at a second time when a second interrupt is processed by the first core. If the first interrupt is pending at the second time,the interrupt delay logic is to indicate to the first core to begin to process the first interrupt prior to completion of the first time delay. Other embodiments are disclosed and claimed.

Description

SYNCRONIZATION OF INTERRUPT
PROCESSING TO REDUCE POWER CONSUMPTION
Technical Field
[0001 ] Embodiments relate to interrupt processing. Background
[0002] Devices such as portable devices, e.g., smart phones, tablets, etc., may have a high rate of asynchronous events that occur as a result of a diversity of peripheral devices that may provide input. For example, asynchronous events may include motion sensors, light sensors, touch screen, etc. Additionally these portabledevices may receive synchronous events such as periodic interrupts related to cellular network paging, periodic timer events, etc.
[0003] Interrupt messages ("interrupts"), which are associated with synchronous and asynchronous events, input to a processor may cause the processor to thrash, e.g., oscillate excessively between an active state and an inactive state, which may in turn cause high power consumption due to "wake-up" power costs as a result oftransitions from the inactive to the active state, which can result in a reduction in time period between recharges of a power source, e.g., battery.
Brief Description of the Drawings
[0004] FIG. 1 is a block diagram of a system, according to an embodiment of the present invention.
[0005] FIG. 2 is a block diagram of an interrupt delay controller, according to embodiments of the present invention.
[0006] FIG. 3A is a block diagram of a processor core in accordance with an embodiment of the present invention.
[0007] FIG. 3B is a timing diagram of interrupts to be processed according to embodiments of the present invention.
[0008] FIG. 4 is a flow diagram of a method of processing interrupt events by a processor, according to an embodiment of the present invention. [0009] FIG. 5 is a block diagram of a system, according to an embodiment of the present invention.
[0010] FIG. 6 is a block diagram of a system, according to another embodiment of the present invention.
[001 1 ] FIG. 7 is a block diagram of a system on a chip, according to an
embodiment of the present invention.
Detailed Description
[0012] Interrupt sources can be classified according to characteristics of a source and requirements for processing interrupts received from the source. For example, some interrupts are to be serviced without intentional delay before processing ("hard interrupts" or "critical interrupts" herein, e.g., periodic interrupts associated with, e.g., cellular transmission standards). Other interrupts ("soft interrupts" or "non-critical interrupts" herein) are less time sensitive and can be intentionally delayed, with a time delay to be assigned according to anature of the interrupt source, e.g., peripheral device/application.
[0013] In embodiments, a programmable delay value can be established for each event or group of events. Interrupts can be grouped so that a processor canhandle (e.g., "batch process") a plurality of interrupts whenthe processor is activated
("awakened") from aninactive ("sleep") state. Batch processing of interrupts can reduce a total count of active/inactive cycles that the processor experiences in a given time frame, which can lower overall power usage of the processor.
[0014] In embodiments, a programmed delay timer value is available for an operating system to delay interrupt processing (for example, via execution of a handler associated with the interrupt), e.g., when the processor and/or a system on a chip (SoC) is in a power saving (inactive) state, e.g., one of advanced computing and power interface (ACPI) powered-down states, C1 - C6. Programmed delay valuesfor various types of interrupts enables interrupt processing to be batch processed instead of processing each interrupt individually that could causea largepower consumption due to eachinactive-to-active transitionofthe processor or SoC. In an embodiment, interrupt processing automatically groups events dynamically based on the corresponding delay time assigned to each interrupt.
[0015] FIG. 1 is a block diagram of a system 100, according to an embodiment of the present invention. The system 100 includes a processor 1 10 that includes one or more cores 1020 - 102N, an interrupt controller 104, and an interrupt delay controller 106, a plurality of peripheral devices 1200 - 120M coupled to the processor 1 10, and a dynamic random access memory (DRAM) 130 coupled to the processor 1 10.
[0016] In operation, the processor 1 10 may receive interrupt messages (also "interrupts" herein) from one or more of the peripheral devices 1200 - 120M. One or more of the interruptsfhard interrupt") may be associated with a corresponding hard real-time interrupt event for which the interrupt is to be processed when received, e.g., not intentionally delayed. For instance, a hard interrupt may be associated with a periodic event related to a cellular standard, and the hard interrupt is to be processed by the processor 1 10 upon receipt, e.g., without intentional time delay.
[0017] Other interrupts may be periodic (e.g., synchronous) or aperiodic (e.g., asynchronous) but are not associated with hard real-time interrupt events, and therefore processing of such interrupts ("soft interrupts") may be delayed, e.g., intentionally time delayed. For example, asynchronous interrupts may be associated with asynchronous events such assensor input, touch screen, data that may be received aperiodically, etc.
[0018] For each peripheral device 1200 - 120M that creates soft events (e.g., produces soft interrupts), a corresponding time delay to process each softinterrupt may be assigned. The time delay to process soft interrupts received from a source peripheral devicemay be determined based on characteristics of the source peripheral device, and may be determined prior to use of the system 100. For example, one factor to be considered in determination of an acceptable time delay for soft interrupts may be a worst case frequency of occurrences of the associated event. For example if, in a worst case estimate, an event occursevery
100milliseconds,a delay of 100 sto process the associated interrupt would have a negligible performanceimpact. The time delay may be provided (e.g., stored in the processor 1 10) prior receipt of one or more interrupts by the processor 1 10.
[0019] Hardinterrupts received by the interrupt delay controller 106 from one or more of the peripheral devices 1200 - 120Mmay be passed to the interrupt controller 104 to be processed without intentional time delay. When asoftinterrupt is received by the processor 1 10, the interrupt delay controller 106 may select a corresponding time delay (e.g., stored in the interrupt delay controller 106) based on the peripheral device 120 that has provided the soft interrupt. For each softinterrupt received, the interrupt delay controller may commencea count of the corresponding time delay, e.g., via a corresponding timer, and when the corresponding timer has reached the end of the time delay, the soft interrupt may be released to the interrupt controller 104 and directed by the interrupt controller 104to be processed by one of the cores 1020 - 102N.
[0020] In an embodiment, when a hard interrupt is received by the processor 1 10 for immediate processing, the interrupt delay controller 106 may determine whether any soft interrupts are pending, e.g., an associated timer has begun to count the time delay for the soft interrupt and has not completed its count. The interrupt delay controller 106 may releaseone or more pending soft interrupts to the interrupt controller 104 for processing by one of the cores 1020 - 102N, e.g., without
completion of the count of the associated timer. Interrupts that are released for processing by a coreare to be processed while the core is active, e.g., the core remains active from a time at which the hard interrupt is received until processing of all softinterrupts that are released is complete.
[0021 ] In another embodiment, afirst soft interrupt is to be processedby a first core of the cores 1020 - 102N, due to expiration of the timer, e.g., the associated timer has completed its count of the respective time delay. The interrupt delay controller 106 mayrelease one or more other pending soft interrupts to the interrupt controller 104 for processing by the first core prior to completion of each respective time delay. Interrupts that are released for processing by the first core are to be batch processed, e.g., processed while the first core is active as a result of processing of the first soft interrupt. The core is to remain active until processing of the interrupts that have been released is complete.
[0022] In each of the above described embodiments, when a particular interrupt sent to the interrupt controller to be processed, the interrupt delay controller 106 mayrelease one or more pending interrupts to be processed during a single active time period of the core. Therefore, the particular core does not oscillate between inactive and active state for each interrupt to be processed. Batch processing of the interruptscan reduce thrashing and can reduce power usage of the processor that would otherwise be expended due to "wakeup" power costs. That is, by batch processing the interrupts, the power expended to re-activate the core may be reduced from multiple instances of wakeup to a single wakeup instance for multiple interrupts to be processed.
[0023] FIG. 2 is a block diagram of an interrupt delay controller 200, according to embodiments of the present invention. The interrupt delay controller 200 includes time delay counters 210-i - 210L, time delay registers 220-I - 220L, and interrupt delay logic 222 that includes interrupt detection logic 224, counter assignment logic 226, and pending interrupt release logic 228. The interrupt delay logic 222 including the interrupt detection logic 224, the counter assignment logic 226, and the pending interrupt release logic 228 may be implemented in software, hardware, firmware, or a combination thereof.
[0024] In operation, a plurality of peripheral devices may generate interrupts 202i - 202j. Some of the interrupts received from some peripheral devices may be hard interrupts, e.g., to be processed without intentional delay. Other interrupts may be soft interrupts and may be delayed prior to processing.
[0025] The interrupt detection logic 224 may detect each hard interrupt that is received, and may send each hard interrupt to the interrupt controller 230 without delay, to be output to a particular core for processing.
[0026] Each counter 210-i- 210Lhas an associated time delay register 210i - 210L that stores a determined time delay corresponding to a particular peripheral device that issues softinterrupts. The time delay for a given peripheral device may be stored in the associated time delay register 21 Oi - 210L(e.g., prior to operation of the interrupt delay controller 200) and may be dependent on a plurality of factors (e.g., performance impact), as described above. The counter assignment logic 226 may assigneach interrupt received from a particular peripheral device to a corresponding counter 210jWhose time delay register 220, is associated with the particular peripheral device. For example, when afirst interrupt is received from a first peripheral device, the first interrupt may be assigned by the counter assignment logic 226 to a first timer 21 Oi that begins a time count toa first time delay value associated with the first peripheral device and stored in the register 220i(e.g., countdown from the first time delay value, or count up to the first time delay value). When the time counthasexpired, the interrupt is released to an interrupt controller 230 for
processingby a selected one of the cores determined by the interrupt controller 230.
[0027] The interrupt detection logic 224 may detect receipt of a hard interrupt and may direct the received hard interrupt to the interrupt controller 230 without intentional delay. Processing the hard interrupt may trigger the pending interrupt release logic 228 to release to the interrupt controller 230, prior to completion of the assigned time delay, one or more soft interrupts that are pending, e.g., being intentionally delayed via time delay counter 210.
[0028] Also, for each instance that a counter 210 completes its count of the associated time delay, the corresponding interrupt is released to the interrupt controller 230 to be processed by a particular core of the processor (the particular core determined by the interrupt controller 230). Release of the interrupt may cause the pending interrupt release logic 228 to release one or more pending interrupts to the interrupt controller 230, to be processed by the particular core.
[0029] Referring now to FIG. 3A, shown is a block diagram of a processor core 300 in accordance with one embodiment of the present invention. As shown in FIG. 3A, processor core 300 may be a multi-stage pipelined out-of-order processor.
[0030] Core 300 may include an interrupt delay unit 302, according to embodiments of the present invention. Interrupts may be received from various peripheral devices and interrupt detection logic 304 may detect whether a received interrupt is a hard interrupt or a soft interrupt. If the received interrupt is a hard interrupt, the received interrupt is sent to front end units 310 and is to be processed by execution units 320 without delay (e.g., without introduction of an intentional time delay). If the received interrupt is a soft interrupt, the interrupt detection logic 304 may indicate to counter assignment logic 306 to assign one of delay counters 307i - 307L to the received interrupt. The assigned delay counter 307, may count a determined time delay Tj, where Tj is stored in a corresponding time delay register 309! - 309L, and the interrupt delay unit 302 may delay the received soft interrupt from being processed while the corresponding delay counter 307, counts the respective time delay Tj.
[0031 ] If the received (soft) interrupt is pending (e.g., stalled by the interrupt delay unit 302 until the respective delay counter 307j expires) when another interrupt is being processed (e.g., a hard interrupt, or another soft interrupt whose delay counter has expired), pending interrupt release logic 308 may cause the pending soft interrupt to be released for processing prior to expiration of its respective delay counter 307j and while execution units 320 are active, according to embodiments of the present invention.
[0032] If no interrupts are being processed and no instructions are being processed, power adjustmentlogic 318 may indicate to execution units 320 toreduce power usage from a fully active level to a smaller level of power usage. When interrupts and/or instructions arequeued up to be processed, the power adjustment logic 318 may indicate to the execution units 320 to resume a powered-up state.
[0033] As seen in FIG. 3A, core 300 includes front end units 310, which may be used to fetch instructions to be executed and prepare them for use later in the processor. For example, front end units 310 may include a fetch unit 301 , an instruction cache 303, and an instruction decoder 305. In some implementations, front end units 310 may further include a trace cache, along with microcode storage as well as a micro-operation storage. Fetch unit 301 may fetch macro-instructions, e.g., from memory or instruction cache 303, and feed them to instruction decoder 305 to decode them into primitives, i.e., micro-operations for execution by the processor. [0034] Coupled between front end units 310 and execution units 320 is an out-of- order (OOO) engine 315 that may be used to receive the micro-instructions and prepare them for execution. More specifically OOO engine 315 may include various buffers to re-order micro-instruction flow and allocate various resources needed for execution, as well as to provide renaming of logical registers onto storage locations within various register files such as register file 330 and extended register file 335. Register file 330 may include separate register files for integer and floating point operations. Extended register file 335 may provide storage for vector-sized units, e.g., 256 or 512 bits per register.
[0035] Various resources may be present in the execution units 320, including, for example, various integer, floating point, and single instruction multiple data (SIMD) logic units, among other specialized hardware. For example, such execution units may include one or more arithmetic logic units (ALUs) 322, among other such execution units.
[0036] Results from the execution units may be provided to retirement logic, namely a reorder buffer (ROB) 340. More specifically, ROB 340 may include various arrays and logic to receive information associated with instructions that are executed. This information is then examined by ROB 340 to determine whether the instructions can be validly retired and result data committed to the architectural state of the processor, or whether one or more exceptions occurred that prevent a proper retirement of the instructions. Of course, ROB 340 may handle other operations associated with retirement.
[0037] As shown in FIG. 3A, ROB 340 is coupled to a cache 350 which, in one embodiment may be a low level cache (e.g., an L1 cache) although the scope of the present invention is not limited in this regard. Also, execution units 320 can be directly coupled to cache 350. From cache 350, data communication may occur with higher level caches, system memory and so forth. While shown with this high level in the embodiment of FIG. 3A, understand the scope of the present invention is not limited in this regard. For example, while the implementation of FIG. 3A is with regard to an out-of-order machine such as of a so-called x86 instruction set architecture (ISA), the scope of the present invention is not limited in this regard. That is, other embodiments may be implemented in an in-order processor, a reduced instruction set computing (RISC) processor such as an ARM-based processor, or a processor of another type of ISA that can emulate instructions and operations of a different ISA via an emulation engine and associated logic circuitry.
[0038] FIG. 3Bis a timing diagram of interrupts to be processed, according to embodiments of the present invention.
[0039] Interrupt 1 messages (354-360) are hard interrupts. Interrupt 2 messages (362, 366, 370, 374) are soft interrupts that are periodic. Interrupt 3 messages (378, 382) are softinterrupts that are aperiodic.
[0040] All interrupts are to be processed by the same core. Softinterrupts may be delayed, with each soft interrupt having a corresponding time delay, as discussed above with regard to FIG. 2. Each of periodic soft interrupts 362, 366, 370, and 374 isdelayed in time, to beprocessed as delayed interrupts364, 368, 372, and 376, respectively. Each of asynchronous soft interrupts 378, 382 is delayed in time, to be processed as interrupts 380 and 384, respectively.
[0041 ] Each of hard interrupts 354-360 is to be processedwithoutintentional delay, and each interrupt 354-360 is associated with an inactive-to-active transition (386, 390, 394, 396) in the core that processes the interrupts. Interrupts 354, 356, 358, and 360 are processed at core times 386, 390, 394, and 396, respectively.
[0042] As each interrupt 354, 356, 358, 360 is being processed, one or more pending interrupts (e.g., not yet processed and awaiting expiration of a
corresponding time delay period)may be released to be processed while the core is in the active state. For example, interrupt 370 is delayed forprocessing to 372
(notated 370→372 herein), and is pending when interrupt 358 is processed. Hence, the interrupt (370→372) will be released for processing at time 394, the release triggered by processing of the interrupt 358. Thus, two interrupts (358 and 370→372) are to be processed in the same active period of the core that begins at 394.
[0043] Interrupt 374 is being delayed to 376 and is pending when interrupt 360 is to be processed, e.g., at time 396. Hence, theinterrupt (374→376) will be released for processing during the period of core activity that begins at 396. Additionally, interrupt 382 is delayed to 384 and is pending when the interrupt 360 begins to be processed. Therefore, the interrupt (382→384) will be released for processing during the period of core activity that begins at 396. Thus, three interrupts, 360, (374→376), and (382→384), are to be processed during a continuously active period of the core that begins at 396.
[0044] Interrupt 366 is delayed for processing at 368. No other interrupt is scheduled to be processedin a time period between 366 and 368, and so the delayed interrupt (366→368)is to be processed at time 392, and processing causes the core to transition from inactive to active at time 392. The core is toreturn to an inactive state after the delayed interrupt (366→368) is processed.
[0045] Interrupt 362 is delayed to 364 (362→364). Asynchronous soft interrupt 378 is delayed to 380 (378→380). The delayed interrupt (362→364) is not pending while any other interrupt is due to be processed, and therefore will be processed attime 388, corresponding to 364, which is at the end of its time delay. Delayed interrupt (378→380)is pending at time 388 and therefore will be released forprocessing while the core is in the active statedue to processing of delayed interrupt (362→364). Thus, two interrupts 364 and (378→380) are processed in one active period that begins at 388.
[0046] A total of 6 transitions (386 - 396) from inactive to active state of the core results from processing the 10 interrupts received. Hence, introduction of a time delay before processing ofsoft interruptscan reduce a total count of inactive-to-active transitions of the core. Reduction in the number of inactive-to-active transitions of the core can reduce total power consumption due to a reduction of the power costs associated with inactive-to-active transitions of the core.
[0047] FIG. 4 is a flow diagram 400 of a method of processing interrupt events by a processor, according to an embodiment of the present invention. At block 410, the processor receives an interrupt from a peripheral device. Continuing to decision diamond 420, if the first interrupt is a hard interrupt, e.g., associated with a hard realtime event for which delay time TN=0, advancing to block 450 the interrupt is processed by the processor with nointentional time delay. Advancing to decision diamond 460, if there are other pending interrupts, returning to block 450 the pending interrupts are processed. If, at decision diamond 460, there are no other pending interrupts, the method ends at 470.
[0048] If, at decision diamond 420, an Nth interrupt is not a hard interrupt, e.g., theNthinterrupt is not associated with a hard real time event, advancing to block 430, a corresponding delay timer begins to count a corresponding time delay TN of the Nthinterrupt. Moving to decision diamond 440, when the delay timer has expired, proceeding to block 450 the Nthinterrupt is processed. Advancing to decision diamond 460, if there are other pending interrupts when the Nth interrupt is
processed, returning to block 450 the pending interrupts are processed, e.g. prior to expiration of their respective delay times as a result of processing of the Nth interrupt. If, at decision diamond 460, there are no other pending interrupts, the method ends at 470.
[0049] Embodiments may be implemented in many different system types.
Referring now to FIG. 5, shown is a block diagram of a system in accordance with an embodiment of the present invention. As shown in FIG. 5, multiprocessor system 500 is a point-to-point interconnect system, and includes a first processor 570 and a second processor 580 coupled via a point-to-point interconnect 550. As shown in FIG. 5, each of processors 570 and 580 may be multicore processors, including first and second processor cores (i.e., cores 574a and 574b and cores 584a and 584b), although potentially many more cores may be present in the processors. Processor 570 includes an interrupt delay controller 502 and an interrupt controller 504, and processor 580 includes an interrupt delay controller 506 and an interrupt controller 508,according to embodiments of the present invention. Each interrupt delay controller 502, 506is to detect incoming interrupts. If the incoming interrupt is associated with a hard real-time event, the interrupt is to be sent to the respective interrupt controller 504, 508 to be processed without intentional delay.
[0050] For a first interrupt that is a soft interrupt, the interrupt delay controller 502, 506 is to delay processing of the interrupt by a particular delay time before sending the first interrupt to the respective interrupt controller 504, 508 that directs the firstinterrupt to a core to be processed, unless the first interrupt is pending whilea second interrupt is being processed. If the first interrupt is pending while the second interrupt is being processed, the interrupt delay controller 502, 506 is to send the first interrupt to the respective interrupt controller 504, 508 to be directed to the core for processing while the core is in an active state that is triggered by processing of the second interrupt, according to embodiments of the present invention.
[0051 ] Still referring to FIG. 5, first processor 570 further includes a memory controller hub (MCH) 572 and point-to-point (P-P) interfaces 576 and 578. Similarly, second processor 580 includes a MCH 582 and P-P interfaces 586 and 588. As shown in FIG. 5, MCHs 572 and 582 couple the processors to respective memories, namely a memory 532 and a memory 534, which may be portions of system memory (e.g., DRAM) locally attached to the respective processors. First processor 570 and second processor 580 may be coupled to a chipset 590 via P-P interconnects 562 and 584, respectively. As shown in FIG. 5, chipset 590 includes P-P interfaces 594 and 598.
[0052] Furthermore, chipset 590 includes an interface 592 to couple chipset 590 with a high performance graphics engine 538 via a P-P interconnect 539. In turn, chipset 590 may be coupled to a first bus 516 via an interface 596. As shown in FIG. 5, various input/output (I/O) devices 514 may be coupled to first bus 516, along with a bus bridge 518, which couples first bus 516 to a second bus 520. Various devices may be coupled to second bus 520 including, for example, a keyboard/mouse 522, communication devices 526 and a data storage unit 528 such as a disk drive or other mass storage device which may include code 530, in one embodiment. Further, an audio input/output (I/O) 524 may be coupled to second bus 520. One or more of the devices 514, 522, 524, 526 may provide interrupts to be processed by processor 570 or processor 580, according to embodiments of the present invention. Embodiments can be incorporated into other types of systems including mobile devices such as a smart cellular telephone, tablet computer, netbook, Ultrabook™, or so forth.
[0053] Embodiments can be incorporated into other types of systems including mobile devices such as a cellular telephone. Referring now to FIG. 6, shown is a block diagram of a system in accordance with another embodiment of the present invention. As shown in FIG. 6, system 600 may be a mobile device and may include various components. As shown in the high level view of FIG. 6, an applications processor 610, which may be a central processing unit of the device, is in
communication with various components, including a storage 615. Storage 615, in various embodiments, may include both program and data storage portions.
[0054] Applications processor 610 may further be coupled to an input/output system 620, which in various embodiments may include a display and one or more input devices such as a touch keypad, which itself can appear on the display when processed. The system 600 may also include an integrated sensor hub (ISH) 660 that may receive data from one or more sensors 670. In some embodiments the integrated sensor hub includes an interrupt delay controller (IDC) 662 to detect soft interrupts and delay execution of a soft interrupt by a corresponding delay time (TN). If another interrupt is to be processed while an interrupt is pending, the interrupt is processed without completing its time delay, according to embodiments of the present invention.
[0055] The applications processor 610 may include an interrupt delay controller (IDC) 602, according to embodiments of the present invention. The IDC 602 may detect an incominghard interrupt (e.g. from transceiver 640 and/or baseband processor 630) associated with a hard real-time event and may, without intentional delay, send the hard interrupt to an interrupt controller (not shown) that sends the interrupt to a core of the applications processor 610 to be processed (e.g., handled).
[0056] For a first interrupt that is a soft interrupt (e.g., received from I/O 620 and/or integrated sensor hub 660), the interrupt delay controller 602 may delay processing ofthe first interrupt by a first delay time before releasing the first interrupt to the interrupt controller unless the first interrupt is pending when a second interrupt is being processed at the first core. The interrupt controller is to send the first interrupt to a first core of the applications processor 610 to be processed. If the first interrupt is pending when the second interrupt is being processed at the first core, processing of the second interrupt triggers the interrupt delay controller 602 to send the first interrupt to the interrupt controller without completion of the time delay,to be directed to the first core for processing while the core is in an active state that is triggered by processing of the first interrupt, according to embodiments of the present invention. The second interrupt may be a hard interrupt or a soft interrupt whose time delay is complete (e.g., time delay counter has expired).
[0057] Applications processor 610 also may couple to baseband processor 630, which may condition signals such as voice and data communications for output, as well as conditioning incoming telephone and other signals. Baseband processor 630 may include IDC 632 that receives interrupts from peripheral devices 634, and that can delay execution of a received soft interrupt unless the soft interrupt is pending while another interrupt is processed, according to embodiments of the present invention. As seen, baseband processor 630 couples to transceiver 640, which may enable both receive and transmit capabilities. In turn, transceiver 640 may be in communication with an antenna 650, e.g., any type of antenna capable of
transmitting and receiving voice and data signals via one or more communication protocols such as via a wireless wide area network (e.g., a 3G or 4G network) and/or a wireless local area network, such as a BLUETOOTH™ or so-called WI-FI™ network in accordance with an Institute of Electrical and Electronics Engineers 802.1 1 standard.
[0058] As seen, system 600 may further include a rechargeable power supply 625 having a rechargeable battery to enable operation in a mobile environment. While shown with this particular implementation in the embodiment of FIG. 6, the scope of the present invention is not limited in this regard.
[0059] FIG. 7 is a block diagram of a system on a chip (SOC) in accordance with embodiments of the present invention. The SOC 700 includes a multicore
subsystem 710, a modem subsystem 720, a multimedia subsystem 730, system fabric 740, a power supply 750, and interfaces 760 to interface with one or more external devices. The SOC 700 may perform multiple tasks concurrently, e.g., modem tasks, multimedia tasks, and other processing tasks.
[0060] The multicore subsystem 710 includes multicore processors 712 and 714, L1 caches 716 and 718, and L2 cache 742. Each of the multicore processors 712 and 714 may include a corresponding interrupt delay controller (IDC) 702, 704.
Each interrupt delay controller 702, 704 is to detect incoming hard interrupts associated with hard real-time events (e.g. from the interfaces 760) and upon receipt to send each hard interrupt to a respective interrupt controller (not shown) that directs the interrupt to a core of the respective processor 712, 714, to be processed.
[0061 ] For a first interrupt that is a soft interrupt (e.g., received from interfaces 760), the interrupt delay controller 702, 704, is to delay,by a first time delay,sending the first interrupt to the respective interrupt controller that is to direct the interrupt to a core to be processed, unless the first interrupt is pending whilea second interrupt is being processed by the core. If the first interrupt is pending whilethesecond interrupt is being processed by the core, the interrupt delay controller 702, 704 is to send the first interrupt to the interrupt controller without completion of the time delay, to be directed to the core for processingwhile the core is in an active state that is triggered by processing of the second interrupt, according to embodiments of the present invention.
[0062] The modem subsystem 720 may include Long Term Evolution (LTE) modem 722 for wireless communication of high speed data. The modem subsystem 720 may also include global positioning system (GPS) 724, and at least two digital signal processor (DSP) cores 726 and 728. The LTE modem 722 may include IDC 721 to detect interrupts input from the modem subsystem 720 (e.g., from GPS 724) and to delay soft interrupts, according to embodiments of the present invention.
[0063] The multimedia subsystem 730 may include a graphics processing unit (GPU) 732, audio/video hardware accelerators 734, a digital signal processing core 736, and an MMX processor 738, which may be capable of processing, e.g., single instruction, multiple data (SIMD) instructions.
[0064] Other embodiments are described below.
[0065] In a first example, a processor includes at least one core including a first core. The processor also includes interrupt delay logic to receive a first interrupt at a first time, delay, by a first time delay that begins at the first time, processing of the first interrupt by the first core unless the first interrupt is pending at a second time when processing of a second interrupt by the first core begins, and if the first interrupt is pending at the second time, indicate to the first core to begin to process the first interrupt prior to completion of the first time delay.
[0066] In a second example that includes the processor of example 1 , the interrupt delay logic is to receive a plurality of interrupts that are pending at the second time including the first interrupt, and the first core is to process the plurality of pending interrupts during a first active period that commences at the second time, where the first core remains in an active state throughout the first active period.
[0067] In a third example that includes the processor of example 2, the first core is to transition from the active state to an inactive state after the second interrupt and the plurality of pending interrupts are processed.
[0068] In a fourth example that includes the processor of example 1 , the first core is to remain in an active state while the first interrupt and the second interrupt are being processed and to transition to an inactive state after the first interrupt and the second interrupt are processed.
[0069] In a fifth example that includes the processor of example 1 , the second interrupt is received periodically, and for each occurrence of the second interrupt received the second interrupt is to be processed by the first core without intentional delay and the interrupt delay logic is to indicate to the first core to commence processing of additional pending interrupts prior to completion of a corresponding time delay and while the core remains in an active state.
[0070] In a sixth example that includes the processor of example 5, for each occurrence of receipt of the second interrupt, upon completion of processing of the second interrupt and the additional pending interrupts, the first core is to transition to an inactive state.
[0071 ] In a seventh example that includes the processor of examplel , the interrupt delay logic is further to receive a third interrupt at a third time and assign to the third interrupt a second time delay, and the interrupt delay logic is todelay processing of the third interrupt from the third time by the second time delay unless the third interrupt is pending while the first interrupt or the second interrupt are being processed, and if the third interrupt is pending while the first interrupt or the second interrupt is being processed, indicate to the first core to process the third interrupt without completion of the second time delay.
[0072] In an eighth example that includes the processor of example7, if the third interrupt is not pending while the first interrupt or the second interrupt is to be processed, the interrupt delay logic is to indicate to the core to process the third interrupt after completion of the second time delay.
[0073] In a 9th example that includes the processor of example 1 , the interrupt delay logic includes a counter to count the first time delay.
[0074] In a tenth example, a system includes a dynamic random access memory (DRAM) anda processor that includes one or more cores, and an interrupt controller to direct each of one or more received interrupts to a first core of the one or more cores. The processor also includes an interrupt delay controller that includes one or more delay counters to count a respective time delay to process a corresponding interrupt, wherein each delaycounter commences a respective count upon receipt by the processor of the corresponding non-critical interrupt, andpending interrupt release logic to, responsive to execution of another interrupt, send each pending interrupt to the interrupt controller to be directed to the first core while the first core is in an active state.
[0075] In an 1 1 th example that includes the system of example 10, if no other interrupt is being processed during a respective time delay associated with a second interrupt, the interrupt delay controller is to send the interrupt to the interrupt controller upon completion of the count of the corresponding delay counter.
[0076] In a 12th example that includes the system of example 10, wherein when the count of a second delay counter completes, thepending interrupt release logic is to send each pending interrupt to the interrupt controller to be processed while the first core is in the active state.
[0077] In a 13th example that includes the system of example 10, after the pending interrupts are processed, the corresponding core is to become inactive. [0078] In a 14th example that includes the system of example 10, the processor further includes critical interrupt detection logic to, upon receipt of a hard interrupt, send the hard interrupt to the interrupt controller without intentional delay.
[0079] In a 15th example that includes the system of example 10, the processor further includes counter assignment logic to assign a corresponding delay counter to each non-critical interrupt received.
[0080] In a 16th example, a method includes processing a first interrupt by a core of a processor commencing at a first time, assigning, by the processor, a time delay to a second interrupt received at a second time, processing the second interrupt by the core after expiration of the time delay that begins at the second time, unless the second interrupt is pending at the first time, andif the second interrupt is pending at the first time, processing the second interrupt by the core prior to expiration of the time delay.
[0081 ] In a 17th example that includes the method of example 16, if the second interrupt is pending at the first time, processing the second interrupt while the core is in an active state responsive to processing of the first interrupt.
[0082] In an 18th example that includes the method of example 16, after the first interrupt and the second interrupt are processed, transitioning the core to an inactive state.
[0083] In a 19th example that includes the method of example 16, if a plurality of interrupts are pending at the first time, sending the plurality of interrupts, prior to completion of a respective time delay of each of the plurality of interrupts, to the core to be processed by the core where the core is maintained in an active state while the plurality of interrupts are processed.
[0084] In a 20th example that includes the method of example 19, after all pending interrupts are processed, transitioning the core to an inactive state.
[0085] In a 21th example that includes the method of example 16, the time delay is determined based on one or more characteristics of a peripheral device from which the second interrupt is received. [0086] In a 22th example that includes the method of examplel 6, assigning a corresponding time delay to each of a plurality of interrupts, each of which is to be delayed from being processed by the corresponding by the corresponding time delay that begins from a respective received time, unless another interrupt is being processed.
[0087] In a 23rd example that includes the method of example 22, when a particular interrupt begins to be processed, sending each pending interrupt to the core for processing without completion of the corresponding time delay.
[0088] In a 24th example, an apparatus includes means to perform the method of any one of examples 16 - 23.
[0089] In a 25th example, at least one computer-readable medium includes instructions that when executed enable a system to perform the method of any one of examples 16 - 23.
[0090] Embodiments may be used in many different types of systems. For example, in one embodiment a communication device can be arranged to perform the various methods and techniques described herein. Of course, the scope of the present invention is not limited to a communication device, and instead other embodiments can be directed to other types of apparatus for processing instructions, or one or more machine readable media including instructions that in response to being processed on a computing device, cause the device to carry out one or more of the methods and techniques described herein.
[0091 ] Embodiments may be implemented in code and may be stored on a non- transitorystorage medium having stored thereon instructions which can be used to program a system to perform the instructions. The storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, solid state drives (SSDs), compact disk read-only memories (CD-ROMs), compact disk rewritables (CD-RWs), and magneto-optical disks, semiconductor devices such as read-only memories (ROMs), random access memories (RAMs) such as dynamic random access memories (DRAMs), static random access memories (SRAMs), erasable programmable read-only memories (EPROMs), flash memories, electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or any other type of media suitable for storing electronic instructions.
[0092] While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous
modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.

Claims

What is claimed is: 1 . A processor comprising:
at least one core including a first core; and
interrupt delay logic to:
receive a first interrupt at a first time;
delaythe first interrupt from being processed by a first time delay that begins at the first time unless the first interrupt is pending at a second time when a second interrupt is processed by the first core; and
if the first interrupt is pending at the second time, indicate to the first core to begin to process the first interrupt prior to completion of the first time delay.
2. The processor of claim 1 , wherein when a plurality of received interruptsare pending at the second time, the first core is to process the plurality of pending interrupts during a first active period that commences at the second time, wherein the first core remains in an active state throughout the first active period.
3. The processor of claim 2, wherein the first core is to transition from the active state to an inactive state after the second interrupt and the plurality of pending interrupts are processed.
4. The processor of claim 1 , wherein the first core is to remain in an active state while the first interrupt and the second interrupt are being processed and to transition to an inactive state after the first interrupt and the second interrupt are processed.
5. The processor of claim 1 , wherein the second interrupt is received periodically, and wherein for each occurrence of the second interrupt received the second interrupt is to be processed by the first core without intentional delay and the interrupt delay logic is to indicate to the first core to begin to process each additional pending interrupt prior to completion of a corresponding time delay and while the core remains in an active state.
6. The processor of claim 5, further comprising, for each occurrence of receipt of the second interrupt, upon completion of processing of the second interrupt and the additional pending interrupts, the first core is to transition to an inactive state.
7. The processor of claim 1 , wherein the interrupt delay logic is further to receive a third interrupt at a third time and assign to the third interrupt a second time delay, and wherein the interrupt delay logic is to:
delay processing of the third interrupt from the third time by the second time delay unless the third interrupt is pending while the first interrupt or the second interrupt are being processed; and
if the third interrupt is pending while the first interrupt or the second interrupt is being processed, indicate to the first core to process the third interrupt without completion of the second time delay.
8. The processor of claim 7, wherein if the third interrupt is not pending while the first interrupt or the second interrupt is to be processed, the interrupt delay logic is to indicate to the core to process the third interrupt after completion of the second time delay.
9. The processor of claim 1 , wherein the interrupt delay logic includes a counter to count the first time delay.
10. A system comprising:
a dynamic random access memory (DRAM); and
a processor comprising:
one or more cores;
an interrupt controller to direct each of one or more received interrupts to a first core of the one or more cores; and
an interrupt delay controller including:
one or more delay counters to count a respective time delay to processa corresponding interrupt, wherein each delay counter commences a respective count upon receipt by the processor of thecorresponding interrupt; and pending interrupt release logic to, responsive to a first interrupt being processed, send each pendinginterrupt to the interrupt controller prior to expiration of the respective time delay.
1 1 . The system of claim 10, wherein if no interrupt is being processed during a respective time delay associated with a secondinterrupt, the interrupt delay controller is to send the interrupt to the interrupt controller upon completion of the countof the corresponding delay counter.
12. The system of claim 10, wherein when the count of a second delay counter completes, the pending interrupt release logic is to send each pending interrupt to the interrupt controller, to be processed while the first core is in the active state.
13. The system of claim 10, wherein after the pending interrupts are processed the corresponding core is to become inactive.
14. The system of claim 10, wherein the processor further includes interrupt detection logic to, upon receipt of a hard interrupt, send the hard interrupt to the interrupt controller without intentional delay.
15. The system of claim 10, wherein the processor further includes counter assignment logic to assign a corresponding delay counter to each soft interrupt received.
16. A method comprising:
processing a first interrupt by a core of a processor commencing at a first time; assigning, by the processor, a time delay to a second interrupt received at a second time;
processing the second interrupt by the core after expiration of the time delay that begins at the second time, unless the second interrupt is pending at the first time; and if the second interrupt is pending at the first time, processing the second interrupt by the core prior to expiration of the time delay.
17. The method of claim 16, wherein if the second interrupt is pending at the first time, processing the second interrupt while the core is in an active state responsive to processing of the first interrupt.
18. The method of claim 16, further comprising after the first interrupt and the second interrupt are processed, transitioning the core to an inactive state.
19. The method of claim 16, further comprising, if a plurality of interrupts are pending at the first time, sending the plurality of interrupts, prior to completion of a respective time delay of each of the plurality of interrupts, to the core to be processed by the core, wherein the core is maintained in an active state while the plurality of interrupts are processed.
20. The method of claim 19, further comprising, after all pending interrupts are processed, transitioning the core to an inactive state.
21 . The method of claim 16, wherein the time delay is determined based on one or more characteristics of a peripheral device from which the second interrupt is received.
22. The method of claim 16, further comprising:
assigning a corresponding time delay to each of a plurality of interrupts, wherein each of the plurality of interrupts is to be delayed from being processed by the corresponding time delay that begins from a respective received time, unless another interrupt is being processed.
23. The method of claim 22, further comprising when a particular interrupt begins to be processed, sending each pending interrupt to the core for processing without completion of the corresponding time delay.
24. Apparatus comprising means to perform the method of any one of claims 16 - 23.
25. At least one computer-readable medium including instructions that when executed enable a system to perform the method of any one of claims 16 - 23.
PCT/CN2014/073926 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption WO2015143594A1 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
CN201480076274.7A CN106030559A (en) 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption
KR1020167023040A KR20160110509A (en) 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption
JP2016550205A JP2017509059A (en) 2014-03-24 2014-03-24 Synchronize interrupt handling to reduce power consumption
RU2016134601A RU2651238C2 (en) 2014-03-24 2014-03-24 Synchronization of interrupt processing for energy consumption reduction
EP14887397.9A EP3123343A4 (en) 2014-03-24 2014-03-24 Synchronization of interrupt processing to reduce power consumption
US15/118,501 US10089263B2 (en) 2014-03-24 2014-03-24 Synchronization of interrupt processing to reduce power consumption
PCT/CN2014/073926 WO2015143594A1 (en) 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption
DE112014006501.3T DE112014006501T5 (en) 2014-03-24 2014-03-24 Synchronization of interrupt processing to reduce power consumption
EP22174641.5A EP4086776A1 (en) 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/073926 WO2015143594A1 (en) 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption

Publications (2)

Publication Number Publication Date
WO2015143594A1 true WO2015143594A1 (en) 2015-10-01
WO2015143594A8 WO2015143594A8 (en) 2016-08-04

Family

ID=54193839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/073926 WO2015143594A1 (en) 2014-03-24 2014-03-24 Syncronization of interrupt processing to reduce power consumption

Country Status (8)

Country Link
US (1) US10089263B2 (en)
EP (2) EP4086776A1 (en)
JP (1) JP2017509059A (en)
KR (1) KR20160110509A (en)
CN (1) CN106030559A (en)
DE (1) DE112014006501T5 (en)
RU (1) RU2651238C2 (en)
WO (1) WO2015143594A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019108297A1 (en) * 2017-11-29 2019-06-06 Advanced Micro Devices, Inc. Dynamic interrupt rate control in computing systems
CN110489089A (en) * 2019-08-15 2019-11-22 孟庆瑞 Embedded system low-power consumption control method and system based on interrupt management frame
WO2020046909A1 (en) * 2018-08-30 2020-03-05 Qualcomm Incorporated Aggregated in-band interrupt

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9208113B2 (en) * 2013-01-15 2015-12-08 Apple Inc. Deferred inter-processor interrupts
JP6489751B2 (en) * 2014-03-27 2019-03-27 キヤノン株式会社 Data processing apparatus, control method therefor, and program
US9904637B2 (en) * 2014-11-26 2018-02-27 Qualcomm Incorporated In-band interrupt time stamp
US10585826B2 (en) * 2016-01-25 2020-03-10 Advanced Micro Devices, Inc. Using processor types for processing interrupts in a computing device
US10802932B2 (en) * 2017-12-04 2020-10-13 Nxp Usa, Inc. Data processing system having lockstep operation
LU100947B1 (en) * 2018-09-27 2020-03-27 Nanopower As Device connection system and method of operation
CN111723032B (en) * 2019-03-21 2021-09-24 杭州宏杉科技股份有限公司 Interrupt management and control method and electronic equipment
FR3094697B1 (en) 2019-04-02 2021-03-19 Safran Helicopter Engines HYBRID PROPULSIVE INSTALLATION FOR AN AIRCRAFT
JP7374622B2 (en) * 2019-06-17 2023-11-07 キヤノン株式会社 information processing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115779A (en) * 1999-01-21 2000-09-05 Advanced Micro Devices, Inc. Interrupt management system having batch mechanism for handling interrupt events
US7478186B1 (en) * 2004-06-03 2009-01-13 Integrated Device Technology, Inc. Interrupt coalescer for DMA channel
EP2166457A1 (en) 2008-09-12 2010-03-24 Telefonaktiebolaget LM Ericsson (publ) Interrupt controller and methods of operation
US20100077394A1 (en) * 2008-09-19 2010-03-25 Microsoft Corporation Coalescing periodic timer expiration in guest operating systems in a virtualized environment
US20120284444A1 (en) * 2009-10-16 2012-11-08 Brocade Communications Systems, Inc. Interrupt Moderation

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0474229A (en) * 1990-07-17 1992-03-09 Toshiba Corp Information processor
GB2264794B (en) * 1992-03-06 1995-09-20 Intel Corp Method and apparatus for automatic power management in a high integration floppy disk controller
US5708817A (en) * 1995-05-31 1998-01-13 Apple Computer, Inc. Programmable delay of an interrupt
US5905913A (en) * 1997-04-24 1999-05-18 International Business Machines Corporation System for collecting a specified number of peripheral interrupts and transferring the interrupts as a group to the processor
US6065089A (en) * 1998-06-25 2000-05-16 Lsi Logic Corporation Method and apparatus for coalescing I/O interrupts that efficiently balances performance and latency
US6529986B1 (en) * 1999-01-26 2003-03-04 3Com Corporation Interrupt optimization using storage time for peripheral component events
US6477600B1 (en) * 1999-06-08 2002-11-05 Intel Corporation Apparatus and method for processing isochronous interrupts
US6629252B1 (en) * 1999-10-28 2003-09-30 International Business Machines Corporation Method for determining if a delay required before proceeding with the detected interrupt and exiting the interrupt without clearing the interrupt
JP2009098972A (en) * 2007-10-17 2009-05-07 Toshiba Corp Interruption control method and interruption system
US8199758B2 (en) * 2008-02-13 2012-06-12 Qualcomm Incorporated Variable abort timer
US8612998B2 (en) 2010-09-23 2013-12-17 Intel Corporation Coordinating device and application break events for platform power saving
JP5318139B2 (en) * 2011-03-24 2013-10-16 株式会社東芝 Control device and program
US9311137B2 (en) * 2012-09-28 2016-04-12 International Business Machines Corporation Delaying interrupts for a transactional-execution facility

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115779A (en) * 1999-01-21 2000-09-05 Advanced Micro Devices, Inc. Interrupt management system having batch mechanism for handling interrupt events
US7478186B1 (en) * 2004-06-03 2009-01-13 Integrated Device Technology, Inc. Interrupt coalescer for DMA channel
EP2166457A1 (en) 2008-09-12 2010-03-24 Telefonaktiebolaget LM Ericsson (publ) Interrupt controller and methods of operation
US20100077394A1 (en) * 2008-09-19 2010-03-25 Microsoft Corporation Coalescing periodic timer expiration in guest operating systems in a virtualized environment
US20120284444A1 (en) * 2009-10-16 2012-11-08 Brocade Communications Systems, Inc. Interrupt Moderation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3123343A4

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019108297A1 (en) * 2017-11-29 2019-06-06 Advanced Micro Devices, Inc. Dynamic interrupt rate control in computing systems
US10747298B2 (en) 2017-11-29 2020-08-18 Advanced Micro Devices, Inc. Dynamic interrupt rate control in computing system
WO2020046909A1 (en) * 2018-08-30 2020-03-05 Qualcomm Incorporated Aggregated in-band interrupt
US11030133B2 (en) 2018-08-30 2021-06-08 Qualcomm Incorporated Aggregated in-band interrupt based on responses from slave devices on a serial data bus line
CN110489089A (en) * 2019-08-15 2019-11-22 孟庆瑞 Embedded system low-power consumption control method and system based on interrupt management frame
CN110489089B (en) * 2019-08-15 2022-12-30 孟庆瑞 Embedded system low-power consumption control method and system based on interrupt management framework

Also Published As

Publication number Publication date
US20170161096A1 (en) 2017-06-08
RU2651238C2 (en) 2018-04-18
JP2017509059A (en) 2017-03-30
DE112014006501T5 (en) 2017-01-05
RU2016134601A (en) 2018-03-01
EP4086776A1 (en) 2022-11-09
KR20160110509A (en) 2016-09-21
WO2015143594A8 (en) 2016-08-04
EP3123343A4 (en) 2017-11-22
RU2016134601A3 (en) 2018-03-01
US10089263B2 (en) 2018-10-02
CN106030559A (en) 2016-10-12
EP3123343A1 (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US10089263B2 (en) Synchronization of interrupt processing to reduce power consumption
EP2904466B1 (en) Dynamically switching a workload between heterogeneous cores of a processor
US9910470B2 (en) Controlling telemetry data communication in a processor
US7529956B2 (en) Granular reduction in power consumption
US7475231B2 (en) Loop detection and capture in the instruction queue
CN107924219B (en) Masking power states of cores of a processor
US10156884B2 (en) Local power gate (LPG) interfaces for power-aware operations
EP2761394B1 (en) Constrained boot techniques in multi-core platforms
US10324519B2 (en) Controlling forced idle state operation in a processor
US20170364137A1 (en) Processor Having Concurrent Core And Fabric Exit From A Low Power State
US20160231798A1 (en) Method and Apparatus to Provide Telemetry Data in a Processor
CN111512267A (en) System, apparatus and method for data driven low power state control based on performance monitoring information
CN111221403B (en) SoC system and method capable of allocating sleep mode control
US10983551B2 (en) Clock management unit, integrated circuit including the clock management unit, system on chip, and method of operating the system on chip
TW201723806A (en) Reconfiguring execution pipelines of out-of-order (OOO) computer processors based on phase training and prediction
GB2506169A (en) Limiting task context restore if a flag indicates task processing is disabled
KR20220105678A (en) How to transfer tasks between heterogeneous processors
US20220206971A1 (en) Interrupt and exception clustering in a processor using membership groups
US20220206972A1 (en) Interrupt and exception clustering in a processor using external event groups
US20220206973A1 (en) Interrupt and exception clustering in a processor using timing groups
CN114489306B (en) Masking power states of cores of a processor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14887397

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016550205

Country of ref document: JP

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2014887397

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014887397

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15118501

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20167023040

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016134601

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016019508

Country of ref document: BR

WWE Wipo information: entry into national phase

Ref document number: 112014006501

Country of ref document: DE

ENP Entry into the national phase

Ref document number: 112016019508

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160824