Accelerator access control
AssigneeInternational Business Machines Corporation
InventorsBrian F. Veale, Bruce Mealey, Andre L. Albot, Nick Stilwell
Life of this patent
Estimating the term…
Abstract
Accelerator access control whereby an application's access to an accelerator is revoked in order to allow the system to perform a system function. In one or more embodiments, when an application is executing, a credit system is utilized to provide credits for controlled access to the accelerator. When request information is received to remove access to a credit associated with the application's access to the accelerator, the credit is marked to fail with operating system interfaces. Also, in one or more embodiments, if the credit is in use for accessing the accelerator, an effective address associated with the credit is unmapped from the accelerator.
Claims25
A method of controlling access to an accelerator installed in a digital computer system, the method comprising:
- executing, via a processor, an application;
- utilizing a credit system where credits are made available for controlling access to the accelerator;
- receiving request information to remove access to a credit associated with the application's access to the accelerator;
- and
- marking the credit to fail upon receiving the request information.
A method of revoking access to an accelerator, the method comprising:
- executing, via a processor, an application;
- providing an effective address associated with the accelerator;
- mapping the effective address to a send window associated with the accelerator;
- returning the effective address to the application for use to access the accelerator;
- in response to receiving request information to revoke the application's access to the accelerator, unmapping the effective address to the accelerator.
A computer system configured to control access to an accelerator, the system comprising:
- a processor configured to execute an application;
- the accelerator communicating with the processor and configured to perform a data processing operation in response to request information output from the application;
- and
- a virtual accelerator switchboard (VAS) communicating with the processor and the accelerator, wherein access to the accelerator is controlled based on an availability of at least one credit, and
- wherein the application's access to the accelerator is revoked by performing at least one of:
- unmap an effective address to the accelerator wherein the effective address is associated with the at least one credit;
- and
- mark the at least one credit to fail with operating system interfaces.
A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer processor to cause the computer processor to perform a method, comprising:
- executing, via a processor, an application;
- utilizing a credit system where credits are made available for controlling access to the accelerator;
- receiving request information to remove a credit from providing the application access to the accelerator;
- marking the credit to fail with operating system interfaces upon receiving the request information;
- determining if the credit is in use for accessing the accelerator;
- and
- if the credit is in use, unmapping an effective address associated with the credit.
A computer program product for controlling access to an accelerator, comprising:
- a computer readable storage medium having program instructions thereon to:
- execute, via a processor, an application;
- provide an effective address associated with the accelerator;
- map the effective address to a send window associated with the accelerator;
- return the effective address to the application for use to access the accelerator;
- in response to receiving request information to revoke the application's access to the accelerator, unmap the effective address to the accelerator.
Dependencies are inferred from the claim text.