Claims
- 1. A method for simulating an error condition in a multiprocessor data processing system having a plurality of processors, the method comprising the steps of:requesting a simulated error condition for a specified processor of the plurality of processors; and in response to the requested simulated error condition, injecting an error condition into the specified processor of the multiprocessor data processing system by instruction execution.
- 2. The method of claim 1 further comprising:detecting the error condition in the processor.
- 3. The method of claim 2 further comprising:invoking error-path processing in response to the detected error condition.
- 4. The method of claim 3 further comprising:deconfiguring the processor in response to the error-path processing.
- 5. The method of claim 1 further comprising:executing an instruction to set an error condition bit in an error condition register.
- 6. The method of claim 5 further comprising:detecting the error condition in the processor by monitoring an error condition register for active error condition bits.
- 7. The method of claim 6 further comprising:deconfiguring the processor in response to the detected error condition.
- 8. The method of claim 1 wherein the requested simulated error condition indicates a selected processor within the multiprocessor data processing system in which the simulated error condition is to occur.
- 9. The method of claim 1 wherein the requested simulated error condition indicates a type of error condition to be injected.
- 10. An apparatus for simulating an error condition in a multiprocessor data processing system having a plurality of processors, the apparatus comprising:requesting means for requesting a simulated error condition for a specified processor of the plurality of processors; and injecting means for injecting, in response to the requested simulated error condition, an error condition into the specified processor of the multiprocessor data processing system by instruction execution.
- 11. The apparatus of claim 10 further comprising:first detecting means for detecting the error condition in the processor.
- 12. The apparatus of claim 11 further comprising:invoking means for invoking error-path processing in response to the detected error condition.
- 13. The apparatus of claim 12 further comprising:first deconfiguring means for deconfiguring the processor in response to the error-path processing.
- 14. The apparatus of claim 10 further comprising:executing means for executing an instruction to set an error condition bit in an error condition register.
- 15. The apparatus of claim 14 further comprising:second detecting means for detecting the error condition in the processor by monitoring an error condition register for active error condition bits.
- 16. The apparatus of claim 15 further comprising:second deconfiguring means for deconfiguring the processor in response to the detected error condition.
- 17. The apparatus of claim 10 wherein the requested simulated error condition indicates a selected processor within the multiprocessor data processing system in which the simulated error condition is to occur.
- 18. The apparatus of claim 10 wherein the requested simulated error condition indicates a type of error condition to be injected.
- 19. A computer program product in a computer-readable medium for use in a multiprocessor data processing system having a plurality of processors for simulating an error condition, the computer program product:instructions for requesting a simulated error condition for a specified processor of the plurality of processors; and instruction for injecting, in response to the requested simulated error condition, an error condition into the specified processor of the multiprocessor data processing system by instruction execution.
- 20. The computer program product of claim 19 further comprising:instructions for detecting the error condition in the processor.
- 21. The computer program product of claim 20 further comprising:instructions for invoking error-path processing in response to the detected error condition.
- 22. The computer program product of claim 21 further comprising:instructions for deconfiguring the processor in response to the error-path processing.
CROSS-REFERENCE TO RELATED APPLICATIONS
The present invention is related to the following applications entitled “Method and System for Boot-Time Deconfiguration of a Processor in a Symmetrical Multi-Processor System,” U.S. application Ser. No. 09/165,952, filed on Oct. 2, 1998, now U.S. Pat. No. 6,233,680, and “Method and Apparatus for Run-Time Deconfiguration of a Processor in a Symmetrical Multi-Processing System”, U.S. application Ser. No. 09/434,767, filed on Nov. 4, 1999 now U.S. Pat. No. 6,516,429 which are hereby incorporated by reference.
US Referenced Citations (15)
Number |
Name |
Date |
Kind |
5438528 |
Emerson et al. |
Aug 1995 |
A |
5649090 |
Edwards et al. |
Jul 1997 |
A |
5675803 |
Preisler et al. |
Oct 1997 |
A |
5764883 |
Satterfield et al. |
Jun 1998 |
A |
6018812 |
Deyst, Jr. et al. |
Jan 2000 |
A |
6122756 |
Baxter et al. |
Sep 2000 |
A |
6182248 |
Armstrong et al. |
Jan 2001 |
B1 |
6233680 |
Bossen et al. |
May 2001 |
B1 |
6247079 |
Papa et al. |
Jun 2001 |
B1 |
6304984 |
Neal et al. |
Oct 2001 |
B1 |
6345369 |
Kitamorn et al. |
Feb 2002 |
B1 |
6430586 |
Williams |
Aug 2002 |
B1 |
6457147 |
Williams |
Sep 2002 |
B1 |
6487208 |
Chirashnya et al. |
Nov 2002 |
B1 |
6502212 |
Coyle et al. |
Dec 2002 |
B1 |