Techniques for handling queued interrupts in a data processing system

US9779043B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9779043-B2
Application numberUS-201615335047-A
CountryUS
Kind codeB2
Filing dateOct 26, 2016
Priority dateNov 16, 2015
Publication dateOct 3, 2017
Grant dateOct 3, 2017

How to read this patent

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

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

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

  4. Key dates

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

  5. First independent claim

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

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A technique for handling queued interrupts includes accumulating respective backlog counts for respective event paths. The background counts track a number of events received but not delivered as interrupts to associated virtual processor (VP) threads. In response to a lowering of an operating priority (OP) of a VP thread (VPT), a scan backlog (SB) message is received that identifies the VPT and specifies a current operating priority for the VPT. In response to receiving the SB message, a linked list of event paths associated with the VPT is scanned to search for backlog events that have a higher priority than the current OP for the VPT. In response to a backlog event being located that has a higher priority than the current OP of the VPT, an interrupt to the VPT is initiated starting with a highest priority event path and the backlog count for the VPT is decremented.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of handling queued interrupts, comprising: accumulating, by an interrupt routing controller (IRC), respective backlog counts for respective event paths, wherein the backlog counts track a number of events received but not delivered as interrupts to associated virtual processor (VP) threads upon which respective target interrupt handlers execute; in response to a lowering of an operating priority of a VP thread, receiving, by the IRC, a scan backlog (SB) message that identifies the VP thread and specifies a current operating priority for the VP thread; in response to receiving the SB message, scanning, by the IRC, a linked list of event paths associated with the VP thread to search for backlog events that have a higher priority than the current operating priority for the VP thread; and in response to a backlog event being located that has a higher priority than the current operating priority of the VP thread, initiating, by the IRC, an interrupt to the VP thread starting with a highest priority event path and decrementing, by the IRC, the backlog count for the VP thread. 2. The method of claim 1 , wherein links for the linked list of event paths are stored in entries of an event notification descriptor table (ENDT). 3. The method of claim 1 , wherein a separate one of the backlog counts is maintained for each of the event paths. 4. The method of claim 1 , wherein the IRC interrupts the VP thread by building and issuing an event notification message to an interrupt presentation controller (IPC) on a memory I/O bus. 5. The method of claim 1 , further comprising: receiving, by the IRC, an increment backlog (IB) message; and in response to receiving the IB message, incrementing, by the IRC, an associated backlog count for an event path specified in the IB message. 6. The method of claim 5 , wherein the IB message is received in response to the VP thread not being dispatched or the operating priority of the VP thread being at a higher priority than an event priority. 7. The method of claim 1 , further comprising: receiving, by the IRC, a redistribute message that specifies an event path number; building, by the IRC, an event notification message for an entry in an event notification descriptor table (ENDT) identified by the event path number; and issuing, by the IRC, the event notification message on a memory I/O bus. 8. A processing unit for a multithreaded data processing system, the processing unit comprising: an interrupt source controller (ISC); an interrupt presentation controller (IPC); and an interrupt routing controller (IRC) coupled to the ISC and the IPC, wherein the IRC is configured to: accumulate respective backlog counts for respective event paths, wherein the backlog counts track a number of events received but not delivered as interrupts to associated virtual processor (VP) threads upon which respective target interrupt handlers execute; in response to a lowering of an operating priority of a VP thread, receive a scan backlog (SB) message that identifies the VP thread and specifies a current operating priority for the VP thread; in response to receiving the SB message, scan a linked list of event paths associated with the VP thread to search for backlog events that have a higher priority than the current operating priority for the VP thread; and in response to a backlog event being located that has a higher priority than the current operating priority of the VP thread, initiate an interrupt to the VP thread starting with a highest priority event path and decrementing, by the IRC, the backlog count for the VP thread. 9. The processing unit of claim 8 , wherein links for the linked list of event paths are stored in entries of an event notification descriptor table (ENDT). 10. The processing unit of claim 8 , wherein a separate one of the backlog counts is maintained for each of the event paths. 11. The processing unit of claim 8 , wherein the IRC interrupts the VP thread by building and issuing an event notification message to an interrupt presentation controller (IPC) on a memory I/O bus. 12. The processing unit of claim 8 , wherein the IRC is further configured to: receive an increment backlog (IB) message; and in response to receiving the IB message, increment an associated backlog count for an event path specified in the IB message. 13. The processing unit of claim 12 , wherein the IB message is received in response to the VP thread not being dispatched or the operating priority of the VP thread being at a higher priority than an event priority. 14. The processing unit of claim 8 , wherein the IRC is further configured to: receive a redistribute message that specifies an event path number; build an event notification message for an entry in an event notification descriptor table (ENDT) identified by the event path number; and issue the event notification message on a memory I/O bus. 15. A data processing system, comprising: a memory; and a processing unit coupled to the memory, wherein the processing unit includes an interrupt source controller (ISC) and an interrupt routing controller (IRC) coupled to the ISC, wherein the IRC is configured to: accumulate respective backlog counts for respective event paths, wherein the backlog counts track a number of events received but not delivered as interrupts to associated virtual processor (VP) threads upon which respective target interrupt handlers execute; in response to a lowering of an operating priority of a VP thread, receive a scan backlog (SB) message that identifies the VP thread and specifies a current operating priority for the VP thread; in response to receiving the SB message, scan a linked list of event paths associated with the VP thread to search for backlog events that have a higher priority than the current operating priority for the VP thread; and in response to a backlog event being located that has a higher priority than the current operating priority of the VP thread, initiate an interrupt to the VP thread starting with a highest priority event path and decrementing, by the IRC, the backlog count for the VP thread. 16. The data processing system of claim 15 , wherein links for the linked list of event paths are stored in entries of an event notification descriptor table (ENDT). 17. The data processing system of claim 15 , wherein a separate one of the backlog counts is maintained for each of the event paths. 18. The data processing system of claim 15 , wherein the IRC interrupts the VP thread by building and issuing an event notification message to an interrupt presentation controller (IPC) on a memory I/O bus. 19. The data processing system of claim 15 , wherein the IRC is further configured to: receive an increment backlog (IB) message; and in response to receiving the IB message, increment an associated backlog count for an event path specified in the IB message. 20. The data processing system of claim 19 , wherein the IB message is received in response to the VP thread not being dispatched or the operating priority of the VP thread being at a higher priority than an event priority, and wherein the IRC is further configured to: receive a redistribute message that specifies an event path number; build an event notification message for an entry in an event notification descriptor table (ENDT) identified by the event path number; and issue the event notification message on a memory I/O bus.

Assignees

Inventors

Classifications

  • G06F9/4812Primary

    by interrupt, e.g. masked · CPC title

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

  • using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence) · CPC title

  • Event management; Broadcasting; Multicasting; Notifications · CPC title

  • G06F13/26Primary

    with priority control · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

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

What does patent US9779043B2 cover?
A technique for handling queued interrupts includes accumulating respective backlog counts for respective event paths. The background counts track a number of events received but not delivered as interrupts to associated virtual processor (VP) threads. In response to a lowering of an operating priority (OP) of a VP thread (VPT), a scan backlog (SB) message is received that identifies the VPT an…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/4812. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 03 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).