Configurable processor interrupts for allowing an application to independently handle interrupts

US10083134B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10083134-B2
Application numberUS-201514953309-A
CountryUS
Kind codeB2
Filing dateNov 28, 2015
Priority dateNov 28, 2015
Publication dateSep 25, 2018
Grant dateSep 25, 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.

Embodiments relate to configurable processor interrupts. An aspect includes sending, by an application to supervisor software in a computer system, a request, the request including a plurality of exception types to be handled by the application. Another aspect includes determining, by the supervisor software, a subset of the plurality of exception types for which to approve handling by the application. Yet another aspect includes sending a response from the supervisor software to the application notifying the application of the subset of exception types.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method for configurable interrupts for a processor, the method comprising: sending, by an application to supervisor software in a computer system, a request, the request including a plurality of exception types to be handled by the application; determining, by the supervisor software, a subset of the plurality of exception types for which to approve handling by the application; sending a response from the supervisor software to the application notifying the application of the subset of exception types; based on an exception occurring in a processor of the computer system during execution of the application, determining whether a type of the exception is one of the subset of exception types; and based on determining that the type of the exception is one of the subset of exception types, sending a lightweight interrupt corresponding to the exception to an exception handler in the application. 2. The method of claim 1 , further comprising, based on determining that the type of the exception is not one of the subset of exception types, interrupting execution of the application and handling the exception by the supervisor software. 3. The method of claim 1 , further comprising setting, by the supervisor software, a control register of the processor to indicate the subset of the plurality of exception types. 4. The method of claim 1 , wherein the plurality of exception types comprises: performance monitor exceptions, floating-point exceptions, trap exceptions, divide by zero exceptions, out of bounds exceptions, and changes to priority. 5. The method of claim 1 , wherein determining, by the supervisor software, the subset of the plurality of exception types for which to grant handling to the application is performed based on an ability of the application to handle each respective exception type of the plurality of exception types without interfering with any other threads in a processor of the computer system, and wherein at least one of the plurality of exception types is not in the subset of exception types. 6. The method of claim 3 , wherein the determination of whether a type of an exception is one of the subset of exception types is made based on the control register. 7. A computer program product for implementing configurable interrupts for a processor, the computer program product comprising: a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processing circuit to cause the processing circuit to perform a method comprising: sending, by an application to supervisor software in a computer system, a request, the request including a plurality of exception types to be handled by the application; determining, by the supervisor software, a subset of the plurality of exception types for which to approve handling by the application; sending a response from the supervisor software to the application notifying the application of the subset of exception types:, based on an exception occurring in a processor of the computer system during execution of the application, determining whether a type of the exception is one of the subset of exception types; and based on determining that the type of the exception is one of the subset of exception types, sending a lightweight interrupt corresponding to the exception to an exception handler in the application. 8. The computer program product of claim 7 , the method further comprising, based on determining that the type of the exception is not one of the subset of exception types, interrupting execution of the application and handling the exception by the supervisor software. 9. The computer program product of claim 7 , the method further comprising setting, by the supervisor software, a control register of the processor to indicate the subset of the plurality of exception types. 10. The computer program product of claim 7 , wherein the plurality of exception types comprises: performance monitor exceptions, floating-point exceptions, trap exceptions, divide by zero exceptions, out of bounds exceptions, and changes to priority. 11. The computer program product of claim 7 , wherein determining, by the supervisor software, the subset of the plurality of exception types for which to grant handling to the application is performed based on an ability of the application to handle each respective exception type of the plurality of exception types without interfering with any other threads in a processor of the computer system, and wherein at least one of the plurality of exception types is not in the subset of exception types. 12. The computer program product of claim 9 , wherein the determination of whether a type of an exception is one of the subset of exception types is made based on the control register. 13. A computer system for configurable interrupts for a processor, the system comprising: a memory; and the processor, communicatively coupled to said memory, the computer system configured to perform a method comprising: sending, by an application to supervisor software in a computer system, a request, the request including a plurality of exception types to be handled by the application; determining, by the supervisor software, a subset of the plurality of exception types for which to approve handling by the application; sending a response from the supervisor software to the application notifying the application of the subset of exception types; based on an exception occurring in the processor during execution of the application, determining whether a type of the exception is one of the subset of exception types; and based on determining that the type of the exception is one of the subset of exception types, sending a lightweight interrupt corresponding to the exception to an exception handler in the application. 14. The computer system of claim 13 , the method further comprising, based on determining that the type of the exception is not one of the subset of exception types, interrupting execution of the application and handling the exception by the supervisor software. 15. The computer system of claim 13 , the method further comprising setting, by the supervisor software, a control register of the processor to indicate the subset of the plurality of exception types. 16. The computer system of claim 13 , wherein the plurality of exception types comprises: performance monitor exceptions, floating-point exceptions, trap exceptions, divide by zero exceptions, out of bounds exceptions, and changes to priority. 17. The computer system of claim 15 , wherein the determination of whether a type of an exception is one of the subset of exception types is made based on the control register.

Assignees

Inventors

Classifications

  • with priority control · CPC title

  • G06F13/24Primary

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

  • by interrupt, e.g. masked · CPC title

  • Exception handling · CPC title

  • Configuring for program initiating, e.g. using registry, configuration files · 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 US10083134B2 cover?
Embodiments relate to configurable processor interrupts. An aspect includes sending, by an application to supervisor software in a computer system, a request, the request including a plurality of exception types to be handled by the application. Another aspect includes determining, by the supervisor software, a subset of the plurality of exception types for which to approve handling by the appl…
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 Sep 25 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).