Techniques for handling interrupts in a processing unit using interrupt request queues

US10248593B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10248593-B2
Application numberUS-201715613239-A
CountryUS
Kind codeB2
Filing dateJun 4, 2017
Priority dateJun 4, 2017
Publication dateApr 2, 2019
Grant dateApr 2, 2019

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 interrupts in a data processing system includes receiving, at an interrupt presentation controller (IPC), an event notification message (ENM) that specifies an event target number and a number of bits to ignore. In response to a slot being available in an interrupt request queue, the IPC enqueues the ENM in the slot. In response to the ENM being dequeued from the interrupt request queue, the IPC determines a group of virtual processor threads that may be potentially interrupted based on the event target number and the number of bits to ignore specified in the ENM. The event target number identifies a specific virtual processor thread and the number of bits to ignore identifies the number of lower-order bits to ignore with respect to the specific virtual processor thread when determining a group of virtual processor threads that may be potentially interrupted.

First claim

Opening claim text (preview).

What is claimed is: 1. A processing unit for a multithreaded data processing system, the processing unit comprising: an interrupt source controller (ISC); and an interrupt presentation controller (IPC) coupled to the ISC, wherein the IPC is configured to: receive an event notification message (ENM), wherein the ENM specifies an event target number and a number of bits to ignore; in response to a slot being available in an interrupt request queue of the data processing system, enqueue the ENM in the slot; and in response to the ENM being dequeued from the interrupt request queue, determine a group of virtual processor threads that may be potentially interrupted based on the event target number and the number of bits to ignore specified in the ENM, wherein the event target number identifies a specific virtual processor thread and the number of bits to ignore identifies a positive, integer number of lower-order bits to ignore with respect to the specific virtual processor thread when determining a group of virtual processor threads that may be potentially interrupted. 2. The processing unit of claim 1 , wherein the IPC is further configured to: determine whether one or more virtual processor threads within the group of virtual processor threads are dispatched and operating on an associated physical processor; and in response to no virtual processor thread within the group of virtual processor threads being dispatched and operating on an associated physical processor, issue a reject message to a notification source specified by an event source number in the ENM. 3. The processing unit of claim 1 , wherein the IPC is further configured to: determine whether multiple virtual processor threads within the group of virtual processor threads are dispatched and operating on an associated physical processor; and in response to the multiple virtual processor threads within the group of virtual processor threads being dispatched and operating on an associated physical processor, select one of the multiple virtual processor threads to interrupt that does not already have a pending interrupt. 4. The processing unit of claim 3 , wherein the IPC is further configured to: in response to more than one of the multiple virtual processor threads not already having a pending interrupt, select one of the multiple virtual processor threads to interrupt that does not already have a pending interrupt based on secondary selection criteria. 5. The processing unit of claim 4 , wherein the secondary selection criteria includes one or more of an event priority of the ENM relative to an operating priority for each of the multiple virtual processor threads, a least recently used (LRU) one of the multiple virtual processor threads, and a random one of the multiple virtual processor threads. 6. The processing unit of claim 1 , wherein the number of bits to ignore is not equal to zero and the IPC is further configured to: determine whether multiple virtual processor threads within the group of virtual processor threads are dispatched and operating on an associated physical processor; in response to the multiple virtual processor threads within the group of virtual processor threads being dispatched and operating on an associated physical processor, determine whether all of the multiple processor threads have pending interrupts; in response to determining that all of the multiple processor threads have pending interrupts, determine whether an event priority of the ENM is greater than an operating priority of any of the multiple virtual processor threads; and in response to determining that the event priority of the ENM is not greater than the operating priority of any of the multiple virtual processor threads, issue a reject message to a notification source specified by an event source number in the ENM. 7. The processing unit of claim 1 , wherein the IPC is further configured to: in response to a slot not being available in the interrupt request queue, issue a reject message to a notification source specified by an event source number in the ENM. 8. A design structure tangibly embodied in a computer-readable storage device for designing, manufacturing, or testing an integrated circuit, the design structure comprising: an interrupt source controller (ISC); and an interrupt presentation controller (IPC) coupled to the ISC, wherein the IPC is configured to: receive an event notification message (ENM), wherein the ENM specifies an event target number and a number of bits to ignore; in response to a slot being available in an interrupt request queue of a multithreaded data processing system that includes the ISC and the IPC, enqueue the ENM in the slot; and in response to the ENM being dequeued from the interrupt request queue, determine a group of virtual processor threads that may be potentially interrupted based on the event target number and the number of bits to ignore specified in the ENM, wherein the event target number identifies a specific virtual processor thread and the number of bits to ignore identifies a positive, integer number of lower-order bits to ignore with respect to the specific virtual processor thread when determining a group of virtual processor threads that may be potentially interrupted. 9. The design structure of claim 8 , wherein the IPC is further configured to: in response to a slot not being available in the interrupt request queue, issue a reject message to a notification source specified by an event source number in the ENM.

Assignees

Inventors

Classifications

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

  • of the least frequently used [LFU] type, e.g. with individual count value · CPC title

  • Details relating to dynamic memory management · CPC title

  • G06F13/24Primary

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

  • Replacement 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 US10248593B2 cover?
A technique for handling interrupts in a data processing system includes receiving, at an interrupt presentation controller (IPC), an event notification message (ENM) that specifies an event target number and a number of bits to ignore. In response to a slot being available in an interrupt request queue, the IPC enqueues the ENM in the slot. In response to the ENM being dequeued from the interr…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F13/24. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 02 2019 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).