Techniques for escalating interrupts in a data processing system

US9870329B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9870329-B2
Application numberUS-201615339382-A
CountryUS
Kind codeB2
Filing dateOct 31, 2016
Priority dateNov 16, 2015
Publication dateJan 16, 2018
Grant dateJan 16, 2018

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 method of handling interrupts includes receiving an event notification message (ENM) that specifies a level, an event target number (ETN), and a number of bits to ignore. A group of virtual processor threads that may be potentially interrupted are determined based on the ETN, the number of bits to ignore, and a process identifier when the level specified in the ENM corresponds to a user level. The ETN identifies a specific virtual processor thread and the number of bits to ignore identifies the number of lower-order bits to ignore when determining a group of virtual processor threads that may be potentially interrupted. In response to no virtual processor thread within the group of virtual processor threads being dispatched and operating on an associated physical processor, an escalate message that includes an escalate event number is transmitted. The escalate event number is used to generate a subsequent ENM.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of handling interrupts in a data processing system, the method comprising: receiving, at an interrupt presentation controller (IPC), an event notification message (ENM), wherein the ENM specifies a level, an event target number, and a number of bits to ignore; determining, by the IPC, a group of virtual processor threads that may be potentially interrupted based on the event target number, the number of bits to ignore, and a process identifier (ID) when the level specified in the ENM corresponds to a user level, wherein 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; and in response to no virtual processor thread within the group of virtual processor threads being dispatched and operating on an associated physical processor, transmitting, by the IPC, an escalate message, wherein the escalate message includes an escalate event number that is used by an interrupt source controller (ISC) to generate a subsequent ENM, and wherein the number of bits to ignore is ‘n’ bits and the specific virtual processor thread and (2 n −1) other virtual processor threads may be potentially interrupted. 2. The method of claim 1 , wherein the process ID is not used when the level corresponds to an operating system (OS) level. 3. The method of claim 1 , wherein the number of bits to ignore is not equal to zero and the method further comprises: determining 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, issuing a reject message to a notification source designated by an event source number specified in the ENM. 4. The method of claim 1 , wherein the number of bits to ignore is not equal to zero and the method further comprises: determining 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, selecting one of the multiple virtual processor threads to interrupt that does not already have a pending interrupt. 5. The method of claim 1 , wherein the number of bits to ignore is not equal to zero and the method further comprises: determining 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, determining whether all of the multiple virtual processor threads have pending interrupts; in response to determining that all of the multiple virtual processor threads have pending interrupts, determining whether an event priority specified in 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 is not greater than the operating priority of any of the multiple virtual processor threads, issuing a reject message to a notification source designated by an event source number specified in the ENM. 6. The method of claim 2 , wherein the process ID is not used when the level corresponds to a hypervisor level. 7. The method of claim 4 , further comprising: in response to more than one of the multiple virtual processor threads not already having a pending interrupt, selecting one of the multiple virtual processor threads to interrupt that does not already have a pending interrupt based on secondary selection criteria. 8. The method of claim 7 , wherein the secondary selection criteria includes one or more of an event priority, specified in 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. 9. The method of claim 5 , further comprising: in response to determining that the event priority is greater than the operating priority of any of the multiple virtual processor threads, selecting one of the multiple virtual processor threads to interrupt with the operating priority less than the event priority. 10. The method of claim 5 , further comprising: in response to determining that the event priority is greater than the operating priority of more than one of the multiple virtual processor threads, selecting one of the multiple virtual processor threads to interrupt with the operating priority less than the event priority based on secondary selection criteria. 11. The method of claim 10 , wherein the secondary selection criteria includes one or more of the event priority relative to the operating priority for 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. 12. 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) from the ISC, wherein the ENM specifies a level, an event target number, and a number of bits to ignore; determine a group of virtual processor threads that may be potentially interrupted based on the event target number, the number of bits to ignore, and a process identifier (ID) when the level specified in the ENM corresponds to a user level, wherein 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; and in response to no virtual processor thread within the group of virtual processor threads being dispatched and operating on an associated physical processor, transmit an escalate message, wherein the escalate message includes an escalate event number that is used by the ISC to generate a subsequent ENM, and wherein the number of bits to ignore is ‘n’ bits and the specific virtual processor thread and (2 n −1) other virtual processor threads may be potentially interrupted. 13. The processing unit of claim 12 , wherein the number of bits to ignore is not equal to zero and 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 designated by an event source number specified in the ENM. 14. The processing unit of claim 12 , 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

Assignees

Inventors

Classifications

  • G06F9/4812Primary

    by interrupt, e.g. masked · CPC title

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

  • Replacement control · CPC title

  • Electrical coupling · 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 US9870329B2 cover?
A method of handling interrupts includes receiving an event notification message (ENM) that specifies a level, an event target number (ETN), and a number of bits to ignore. A group of virtual processor threads that may be potentially interrupted are determined based on the ETN, the number of bits to ignore, and a process identifier when the level specified in the ENM corresponds to a user level…
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 Jan 16 2018 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).