Efficient communication of interrupts from kernel space to user space using event queues
US-9378047-B1 · Jun 28, 2016 · US
US9779043B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9779043-B2 |
| Application number | US-201615335047-A |
| Country | US |
| Kind code | B2 |
| Filing date | Oct 26, 2016 |
| Priority date | Nov 16, 2015 |
| Publication date | Oct 3, 2017 |
| Grant date | Oct 3, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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.
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
with priority control · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.