Managing processing associated with hardware events
First Claim
Patent Images
1. A computer program product for managing events of a computing environment, said computer program product comprising:
- a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
performing processing, based on detecting an event associated with an adapter, the performing processing comprising;
blocking instructions from accessing the adapter, the blocking comprising setting one or more indicators in a function table entry located in a system memory and associated with the adapter, the function table entry located using a function handle associated with the adapter, the function handle comprising at least one of a function number identifying the adapter, an enable indicator indicating whether the function handle is enabled, and an instance number specifying a particular instance of the function handle;
determining from a plurality of possible error types a type of error of the event being detected;
creating a PCI event based on the determined type of error of the event, the PCI event comprising one or more error details depending on the determined type of error;
initiating notification of an operating system of the created PCI event; and
executing a Store Event Information command issued by the operating system to obtain information from the created PCI event, the information comprising the function handle identifying the adapter, error details depending on the determined type of error, and a PCI event code describing a reason for notification of the event.
1 Assignment
0 Petitions
Accused Products
Abstract
Detection, notification and/or processing of events, such as errors associated with adapters, are facilitated. Hardware detects an event, places one or more adapters in an error state to prevent access to/from the adapters, and notifies the operating system of the event.
-
Citations
22 Claims
-
1. A computer program product for managing events of a computing environment, said computer program product comprising:
a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; performing processing, based on detecting an event associated with an adapter, the performing processing comprising; blocking instructions from accessing the adapter, the blocking comprising setting one or more indicators in a function table entry located in a system memory and associated with the adapter, the function table entry located using a function handle associated with the adapter, the function handle comprising at least one of a function number identifying the adapter, an enable indicator indicating whether the function handle is enabled, and an instance number specifying a particular instance of the function handle; determining from a plurality of possible error types a type of error of the event being detected; creating a PCI event based on the determined type of error of the event, the PCI event comprising one or more error details depending on the determined type of error; initiating notification of an operating system of the created PCI event; and executing a Store Event Information command issued by the operating system to obtain information from the created PCI event, the information comprising the function handle identifying the adapter, error details depending on the determined type of error, and a PCI event code describing a reason for notification of the event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
14. A computer system for managing events of a computing environment, said computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; performing processing, based on detecting an event associated with an adapter, the performing processing comprising; blocking instructions from accessing the adapter, the blocking comprising setting one or more indicators in a function table entry located in a system memory and associated with the adapter, the function table entry located using a function handle associated with the adapter, the function handle comprising at least one of a function number identifying the adapter, an enable indicator indicating whether the function handle is enabled, and an instance number specifying a particular instance of the function handle; determining from a plurality of possible error types a type of error of the event being detected; creating a PCI event based on the determined type of error of the event, the PCI event comprising one or more error details depending on the determined type of error; initiating notification of an operating system of the created PCI event; and executing a Store Event Information command issued by the operating system to obtain information from the created PCI event, the information comprising the function handle identifying the adapter, error details depending on the determined type of error, and a PCI event code describing a reason for notification of the event. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A method for managing events of a computing environment, said method comprising:
performing processing by a processing unit, based on detecting an event associated with an adapter, the performing processing comprises; blocking instructions from accessing the adapter, the blocking comprising setting one or more indicators in a function table entry located in a system memory and associated with the adapter, the function table entry located using a function handle associated with the adapter, the function handle comprising at least one of a function number identifying the adapter, an enable indicator indicating whether the function handle is enabled, and an instance number specifying a particular instance of the function handle; determining from a plurality of possible error types a type of error of the event being detected; creating a PCI event based on the determined type of error of the event, the PCI event comprising one or more error details depending on the determined type of error; initiating notification of an operating system of the created PCI event; and executing a Store Event Information command issued by the operating system to obtain information from the created PCI event, the information comprising the function handle identifying the adapter, error details depending on the determined type of error, and a PCI event code describing a reason for notification of the event. - View Dependent Claims (22)
Specification