IP Library › Granted Patent US 10,248,593
Granted Patent B2
US 10,248,593 · App. 15/613,239 · Granted Apr 2, 2019

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

Inventors: Florian A. Auernhammer (Adliswil, CH); Daniel Wind (Drap, FR)
Assignee: International Business Machines Corporation
G06F13/24G06F12/122G06F2212/69
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,248,593
App. No.
15/613,239
Granted
Apr 2, 2019
Kind
B2
Abstract

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.

Claims (31)

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.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 19, 2026
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KIDON IP CORPORATION
Reel/Frame 074125/0530 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2026
From: KIDON IP CORPORATION
To: CAPROCK INTEGRATED TECHNOLOGIES LLC
Reel/Frame 073866/0504 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2026
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: KIDON IP CORPORATION
Reel/Frame 074975/0477 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2017
From: AUERNHAMMER, FLORIAN A; WIND, DANIEL
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 042869/0063 →
Continuity (1)
Related Publication 20180349304A1 · Dec 6, 2018