The present invention relates to computer bus systems, and more specifically, to methods and apparatus for avoiding bus faults when isolating bus-connected devices from the bus.
A computer system is a highly-integrated set of components, which may include one or more Computer Processing Units (CPUs), Input/Output (I/O) systems, peripheral components and memory storage devices. Buses are used within the computer system as an interconnect mechanism to carry control messages, data, addresses and other information between components of the computer system. Recent graphics-oriented operating systems, such as Windows NT, include high bandwidth requirements for buses such that the buses need to be capable of moving large amounts of video and other data between computer components.
In any computer system, a fault can occur in a component of the system, either in hardware or software. A fault can occur due to the intricate nature of the software, which includes complex programming. Alternatively, the electromechanical devices which make up the hardware upon which the software runs can also fail due to a number of factors such as overheating, power supply problems and the like. When a failure occurs during a bus transaction, peripherals and other components interfaced with the bus, can become “wedged” or otherwise confused because the bus transaction has been suspended or left incomplete. Internal state machines waiting for certain signals to be asserted or de-asserted in accordance with expected protocol, in order to, for example, finalize the transaction may never receive such signals. This leads to errors in the operation of the bus (“bus faults”), or even failure of the other, non-faulty devices on the bus. Ultimately, these circumstances can lead to partial or total system failure and can result in costly downtime.
At present, when a failure occurs on a device interfaced with a bus, operations are suspended, and the computer is shut down and rebooted. Although this may be tolerable as an inconvenience in some environments, it is clearly not a desirable method for handling such failures in a computer system demanding high-reliability and availability. Such computer systems include those used in the operation and tracking of financial markets, the control and routing of Internet and telecommunications information, air traffic control, and other emergency applications. To accommodate current computer systems which are operating in such sensitive environments, a more reliable method and system for handling failures of devices interfaced with the bus is needed.
Accordingly, it is an object of the present invention to provide a process and system for use with a bus architecture within a fault-tolerant computer system to survive bus transaction errors and to allow operations on a bus to continue between the remaining devices after a failure occurs in a device interfaced with the bus.
In one aspect, the invention relates to an apparatus for isolating a device from a bus without interrupting system operation. The apparatus includes bus interface logic that monitors activity on the bus and generates a signal indicating the activity status of the bus, e.g., idle or busy. The apparatus also includes an isolation switch for each bus-connected device and isolation control logic that transmits an isolation switch control signal to the isolation switch to isolate the bus-connected device from the bus. The isolation control logic transmits the isolation switch control signal in response to an idle bus status signal and a received signal requesting the isolation of the device from the bus.
In one embodiment, the isolation control logic receives the device isolation signal from system software. In another embodiment, for a system using virtual memory addressing, the isolation control logic receives the device isolation signal from input/output virtual address (IOVA) error detector detecting bus transactions addressing an invalid memory location. In another embodiment, the isolation control logic receives the device isolation signal from protocol checker logic monitoring the validity of the protocol for each of the bus transactions. In yet another embodiment, the isolation control logic receives the device isolation signal from a hot-plug sensor element responsive to the physical removal of the device from its bus interface slot.
In another aspect, the invention relates to a process for isolating a bus-connected device from the bus, where the bus-connected device is participating in a bus transaction, in a system having a bus controlled by a bus controller and having at least one bus-connected device in communication with the bus via an isolation switch. The process includes the steps of receiving a signal identifying that a particular bus-connected device(s) must be isolated from the bus; receiving a bus status signal indicating the status of the bus; and transmitting an isolation switch control signal responsive to both the received device isolation signal and the received bus status signal. In one embodiment, the process further includes the step of isolating the identified bus-connected device from the bus responsive to the received bus-connected device isolation signal.
The invention is pointed out with particularity in the appended claims. The drawings are not necessarily to scale, emphasis instead generally being placed upon illustrating the principles of the invention. Like reference characters in the respective drawing figures indicate corresponding parts. The advantages of the invention described above, as well as further advantages of the invention, may be better understood by reference to the description taken in conjunction with the accompanying drawings, in which:
Referring now to
The computer system 10 typically also has a hard disk drive 26 and a floppy disk drive 28 for receiving floppy disks such as 3.5-inch disks. Other devices also can be part of the computer 10 including output devices 30 (e.g., printer or plotter) and/or optical disk drives for receiving and reading digital data on a Compact Disk (CD)-ROM. In the disclosed embodiment, one or more computer programs define the operational capabilities of the computer system 10. These programs can be loaded onto the hard drive 26 and/or into the memory 16 of the computer 10 via the floppy drive 28. Applications may be caused to run by double clicking a related icon displayed on the display device 24 using the mouse 23. In general, the controlling software program(s) and all of the data utilized by the program(s) are stored on one or more of the computer's storage mediums such as the hard drive 26, CD-ROM 30, etc.
The system bus 12 allows data to be transferred between the various units in the computer 10. For example, the processor 14 may retrieve program data from the memory 16 over the system bus 12. Various system busses 12 are standard in computer systems 10, such as the Video Electronics Standards Association Local Bus (VESA Local Bus), the Industry Standard Architecture (ISA) bus, the Extended Industry Standard Architecture (EISA) bus, the Micro Channel Architecture (MCA) bus, and the Peripheral Component Interconnect (PCI) bus. In some computer systems 10 multiple busses may be used to provide access to different units of the system. For example, a system 10 may use a PCI bus to connect a processor 14 to peripheral devices 30 and to concurrently connect the processor 14 to main memory 16 using a MCA bus. Other embodiments include a system bus 12 comprised of other bus architectures, or combination of bus architectures, such as an Accelerated Graphics Port (AGP) bus, a Small Computer System Interface (SCSI) bus, a Universal Serial Bus (USB), a Personal Computer Memory Card Industry Association (PCMCIA) bus, a NuBus, a TURBOchannel bus, a Multibus, a STD bus, or a Versa Module Europa (VME) bus.
In brief overview, a device 32 transfers information to another device 32, the central processor 14, or the memory 16 via the bus 12. Generally, the information is transferred through bus transactions that adhere to any one of a number of predetermined bus protocols, depending on the particular bus architecture. These bus architectures may be the standard bus architectures referred to in
Referring now to
The bus interface logic 38 monitors the status of one or more of the signals of the bus 12 and generates a bus status signal (STATUS) indicating the status of the signal activity of the bus 12, e.g., idle or busy. In one embodiment, the bus interface logic 38 monitors the operational state of the bus 12 and generates the STATUS signal indicating the state of the bus 12. For example, in a PCI bus, the bus interface logic 38 may monitor the IRDY#, TRDY# and FRAME# signals.
The isolation control logic 36 receives the STATUS signal and also receives a signal (ISOLATE) indicating that one or more devices 32 may need to be isolated from the bus 12. The ISOLATE signal may identify the device(s) 32 to be isolated from the bus 12 or, alternatively, the ISOLATE signal may indicate the occurrence of a fault requiring additional actions to identify which device(s) 32 may need to be isolated from the bus 12. In response to receiving the STATUS signal and the ISOLATE signal, the isolation control logic 36 generates an isolation switch control signal, CONTROL—A, . . . , CONTROL—N (generally CONTROL). The isolation switch control logic 36 transmits the CONTROL signal to the isolation switch(es) 34 associated with the identified device(s) 32 to be isolated from the bus 12. The isolation switch(es) 34 associated with the identified device(s) 32 receives the CONTROL signal and, in response, isolates the device(s) 32 from the bus 12.
Each isolation switch 34 typically includes a number of individual contacts, or “poles,” one contact for each of the signal lines forming the bus interface. In one embodiment, the isolation switch 34 is an electronically controllable switch such as a field effect transistor (FET) switch having individual FET devices, one FET device for each of the signal lines forming the bus interface. In an alternative embodiment, the isolation switch 34 is an electromechanical switch, such as an electrical relay. In yet another embodiment, the isolation switch 34 is an opto-isolation switch, where interconnections of each of the electrical lines forming the interface are accomplished through electrical-to-optical conversions.
Referring now to
In greater detail, the isolation control logic 36 monitors its inputs for signals indicating that one or more devices 32 should be isolated from the bus 12 (step 100). For example, when the master of a bus transaction aborts the transaction because the intended target does not respond, the target may be faulty and should be isolated from the bus 12 to avoid propagating faulty information into other parts of the computer system 10. Generally, a device 32 should not be removed from the bus 12 if the device 32 is participating in a bus transaction because suspending or leaving the bus transaction incomplete may subsequently disrupt normal operation of the bus 12. One way to ensure that the device 32 is not participating in a bus transaction is to observe that no devices 32 are participating in a bus transaction. Another way to ensure that the device 32 is not participating in a bus transaction is to identify which device 32 are participating in a bus transaction at any one time, then to compare the device 32 to be isolated from the bus 12 with the identified device(s) 32 participating in the bus transaction. If the device(s) 32 is not participating in the bus transaction it may be isolated from the bus immediately, otherwise, the device(s) 32 should not be isolated until it is no longer participating in a bus transaction.
For embodiments including a bus controller, the bus 12 may be placed in an idle state through a command issued to the bus controller by the isolation control logic 36 responsive to the isolation control logic 36 receiving the ISOLATE signal (step 110). For embodiments including a bus arbiter, the bus arbiter may respond to the transmitted idle command by revoking access rights to the bus 12 for the devices 32 connected to the bus 12. Before the isolation control logic 36 can isolate the device 32 from the bus 12, the isolation control logic 36 must be notified that the device 32 is not participating in a bus transaction (step 120). In one embodiment the isolation control logic 36 receives the STATUS signal from the bus interface logic 38 indicating to the isolation switch control logic 36 the activity status of the bus 12. When the STATUS signal indicates that the bus 12 is idle, the isolation control logic 36 may transmit the CONTROL signal to the appropriate isolation switch 34. The isolation switch 34, in turn, responds to the CONTROL signal by isolating the device 32 from the bus 12 (step 130). If isolation control logic 36 cannot confirm within a predetermined time period that the device 32 to be isolated from the bus 12 is not participating in a transaction, such as when the received STATUS signal does not indicate that the bus 12 is idle within a predetermined time period (step 140) after the ISOLATE signal is received at the isolation control logic 36, the isolation control logic 36 may transmit a signal (BROKEN) indicating that the bus 12 is faulty (step 150).
In some embodiments the bus controller 50 determines the identity of the device 32 that is driving data onto the bus 12 and provides a resulting bus-master identity output signal (MASTER—ID) to the isolation control logic 36. For example, where the bus 12 is controlled by a bus controller 50, the bus controller 50 determines the bus-master identity by retaining the identity of the device 32 granted access to the bus 12. In another embodiment where the bus includes bus grant signals, a system element, such as the bus interface logic 38, tracks the current master of a bus transaction by monitoring the bus grant signals. In yet another embodiment where the bus includes dedicated line(s) used to coordinate bus access (e.g., dedicated interconnects such as conductive leads or etches) a system element, such as the bus interface logic 38, tracks the current master of a bus transaction by monitoring the bus grant line(s). Other embodiments include a system element, such as the bus interface logic 38, or system software monitoring and interpreting bus arbitration activity to identify the master of a bus transaction. Likewise, the bus interface logic 38 may determine the identity of the one or more target devices 32 to which the bus transaction is directed. In some embodiments the bus interface logic 38 identifies and transmits the resulting bus-target identity, or identities, as an output signal (TARGET—ID). In some embodiments the bus interface logic 38 determines the bus-target identity by inspecting the contents of the bus transaction to identify the address of the target device(s) 32. Where dedicated memory address ranges are identified with, or mapped to particular devices 32, the bus interface logic 38 may determine the identity of the target by determining the device 32 associated with the address of a bus transaction. Determination of the identity of the device may be achieved by inspecting the bus transaction address against a device-memory association table. In some embodiments, the device-memory association table is setup by system software. In other embodiments, the device-memory association table is predetermined according to the standards of a particular bus. For example, in a PCI bus, where a bus transaction is an I/O write to an I/O device 32, the bus interface logic 38 inspects the address of the I/O write bus transaction. The target identity is determined by inspecting the I/O address and comparing it with the previously set up register containing that device(s) 32 I/O address range. In yet other embodiments the system 10 includes interconnects (e.g., transmission lines) to each of the devices 32 carrying signals indicating that a particular device 32 is the current target, the bus interface logic 38 may determine the identity of the target device 32 by monitoring the signals.
In one embodiment, the isolation control logic 36 receives the one or more isolation signals, ISOLATE—A, . . . , ISOLATE—N, (generally ISOLATE), from system software 42 or any one of a number of error detectors. In one embodiment, these error detectors include an input/output virtual address (IOVA) error detector 44, protocol checker logic 46, and a number of “hot-plug” sensors 48a, . . . 48n (generally 48), with one hot-plug sensor being associated with each of the devices 32 interconnected to the bus 12. System software 42 and each of the error detectors 44, 46, and 48 may generate in response to a system event, the ISOLATE signal. It should be understood that the different logic elements 36, 38, 66, 68 and error detectors 44, 46, shown as independent elements within
In one embodiment and in more detail, the isolation control logic 36 includes a bank of device state registers, 62a, 62b, . . . , 62n (generally 62), with one register being associated with a respective bus-connected device 32. Each of the device state registers 62 stores for the respective device 32 its related state information, e.g., operational or broken. The isolation control logic 36 also contains bus error registers 64 for storing information related to the condition of the bus 12 at any one time. In one embodiment, the bus error registers 64 store information related to the condition of the bus at the time of a reported error. Also included in the isolation control logic 36 is hot-plug logic 66 receiving an isolate device signal and transmitting the CONTROL signal to the appropriate isolation switch(es) 34 to isolate the identified faulty device(s) 32 from the bus as previously described. The isolation control logic 36 also includes error monitor and control logic 68 in communication with the device state registers 62, the bus error registers 64, the hot-plug logic 66, the bus interface logic 38, the IOVA error detector 44, and the protocol checker 46.
The devices 32 to be isolated may be identified from the contents of the state registers 62. In one embodiment, each of the device state registers 62 includes a first bit indicating that the identified device 32 should be isolated due to a hardware-reported error, Each of the device state registers 62 may also include a second bit indicating that the identified device 32 should be isolated due to a software-reported error. The hardware-reported error bit in each of the state registers 62 may be controlled by the respective sensor 48 or by the error monitor and control logic 68. Where the hardware-reported error bit is controlled by the error monitor and control logic 68, the error monitor and control logic 68 first receives an ISOLATE signal from one of the hardware error detectors 44, 46 then determines which device(s) 32 related to the detected error should be isolated. The software-reported error bit in each of the state registers 62 may be controlled directly by system software 42.
In more detail, the bus error registers 64 store status information such as status information relating to the device 32, and to other devices also connected to the bus 12. In one embodiment bus error registers 64 are used to capture and store detailed system bus information at the time an error is identified. One register may contain bus information including information relating to identification of a target and a master, address, data, or whether the system bus 12 is in an idle or wait state. Another register may contain information identifying the bus error type and contains all the error bits provided for by the system bus 12, including any information provided by the particular system bus protocol used. Another register may contain information identifying the address and the particular bus command of the most recent transaction on the bus address phase. Yet another register may contain all the control signals on the system bus 12 at the time the error occurred. And yet another register may contain the data on the system bus 12 data signal lines at the time of the error. In one particular embodiment of the present invention for a PCI system bus 12, Table 1 identifies exemplary error categories that software may report to the bus error registers 64.
In operation, one of the error detectors 44, 46, 48, or system software 42, determines that a device, or devices, 32 must be isolated from the bus 12. The error detectors 44, 46, 48, or system software 42, generate the ISOLATE signal output. The isolation control logic 36 receives the ISOLATE signal indicating that a device, or devices, 32 must be isolated from the bus 12 (step 100) and, in turn, generates the IDLE REQUEST signal output causing the bus 12 to transition to an idle state (step 110). In one embodiment, the isolation control logic 36 transmits a signal (IDLE REQUEST) directed to the bus controller 50. The bus controller 50 receives the IDLE REQUEST signal and, in response, revokes all bus grants such that none of the devices 32 control the bus 12. This should cause the bus 12 to transition to the idle state. In another embodiment particularly well suited for bus architectures without a defined idle state, the isolation control logic 36 is provided with a priority that is higher than all other devices 32. In response to receiving the ISOLATE signal, the isolation control logic 36 transmits the IDLE REQUEST signal output in the form of a request for access to the bus 12. In response to the request from the isolation control logic 36, the bus controller 50 grants access to the bus 12 to the isolation control logic 36 over requests from all other devices 32. The isolation control logic 36 assumes the role of bus master and maintains the bus 12 in the idle state by not initiating any bus transactions and by maintaining access to the bus 12.
The ISOLATE signal is provided by one or more error detectors that may include the IOVA error detector 44, the protocol checker logic 46 and hot-plug sensors 48. IOVA error detection useful in connection with the present invention is disclosed in co-pending U.S. application Ser. No. 09/789,051 filed on Feb. 20, 2001 the contents of which are incorporated herein by reference in its entirety. In one embodiment, the IOVA error detector 44 detects errors in a system 10 using virtual memory addressing resulting from incorrect memory addresses within bus transactions involving system memory 16. In one embodiment, the IOVA error detector 44 monitors the memory address portion of each bus transaction. The IOVA error detector 44 identifies whether the master or the target address of a bus transaction corresponds correctly with a valid memory address. Where the IOVA error detector 44 detects that a particular bus transaction is addressing an invalid virtual address, the IOVA error detector 44 transmits the ISOLATE signal to the isolation control logic 36 initiating the isolation of the device 32 from the bus 12 as previously described.
In one embodiment, and in more detail, the protocol checker logic 46 is a state machine that tracks operation of the system bus 12. The protocol checker logic 46 checks all transactions on the bus for protocol violations. When the protocol checker logic 46 detects a protocol violation, the protocol checker logic 46 transmits the ISOLATE signal to the isolation control logic 36 initiating the isolation of the appropriate device 32 from the bus 12 as previously described.
Protocol violations include physical protocol violations, such as invalid commands; sequential protocol violations, such as receiving a bus transaction responsive to a requesting bus transaction where the requesting transaction had not been previously issued; and logical protocol violations, such as a system memory 16 receiving a read or write command directed to an I/O device. Protocol checker logic 46 useful in connection with the present invention is disclosed in co-pending U.S. application Ser. No.: 09/796,155, filed on Feb. 28, 2001 the contents of which are incorporated herein by reference in its entirety. In one embodiment, the protocol checker logic 46 is implemented with hardware. Other embodiments are possible where the protocol checker logic 46 is implemented in software or a combination of hardware and software.
In one embodiment, a hot-plug sensor 48 is provided to sense the physical removal of the device 32 from its bus interface slot. When the device 32 is extracted from its bus interface slot the device 32 must be isolated from the bus as described herein to avoid causing a bus fault. The sensor hot-plug 48 senses that the device 32 is being physically removed from its bus interface slot. In response to sensing the physical removal of the device 32, the hot-plug sensor 48 transmits the ISOLATE signal to the isolation control logic 36. The isolation control logic 36 response to the ISOLATE signal by commanding the isolation of the device 32 from the bus 12 as previously described.
In one embodiment, the hot-plug sensor 48 is a mechanical device, such as a switch or a lever, sensing the physical removal of the devices 32 from its respective bus interface slot. Hot-plug sensing useful in connection with the present invention is disclosed in co-pending Unites States patent application Ser. No. 09/548,529 filed on Apr. 13, 2000, the contents of which are incorporated herein by reference in its entirety. In another embodiment, the hot-plug sensor 48 is an electrical sensor, sensing an electrical stimuli, such as a current or voltage associated with one of the pins of the physical bus interface. In one embodiment, as the device 32 is removed from the interface, the current/voltage-sensing pin is removed from its socket causing the current/voltage to change, thus sensing the removal of the device 32 from its bus interface slot. In yet another embodiment, the hot-plug sensor 48 is an optical sensor sensing the physical removal of the device 32 from the physical bus interface through optical stimuli.
The isolation control logic 36 receives the STATUS signal from the bus interface logic 38 and continuously monitors the STATUS signal input to determine when the bus 12 is idle (step 120). When the STATUS signal indicates that the bus 12 is idle, having already received the ISOLATE signal, the isolation control logic 36 determines which of the devices 32 should be isolated from the bus 12. The isolation control logic 36, responsive to determining which device, or devices, 32 should be isolated from the bus 12, generates an isolation switch control command(s) to isolate the identified device(s) 32 from the bus 12 (step 130).
In operation, the system software 42 writes particular values into the contents of the device state registers 62 identifying that a particular device(s) 32 should be isolated. The error monitor/control logic 68 reads the hardware and software-reported error bits for each of the device state registers 62 to determine if a hardware or software device error has been reported. If the error monitor/control logic 68 reads an error condition from the first and second bits of any of the device status registers 62 the error monitor/control logic 68 transmits the IDLE—REQUEST signal to the bus controller 50 requesting that the bus be transitioned to the idle state. The error monitor/control logic 68 monitor the STATUS input signal transmitted from the bus interface logic 38 reporting the idle status of the bus 12. When the error monitor/control logic 68 receives the STATUS signal indicating that the bus 12 is idle within a predefined time, the period measured from the time that the related ISOLATE signal was received, the error monitor/control logic 68 transmits a device isolation signal to the hot plug logic 66, identifying the particular device(es) 32 to be isolated from the bus. The hot plug logic 66, in turn, generates the CONTROL signal(s) directed to the identified isolation switch(es) 34 to isolate the identified device(s) 32 from the bus. If the error monitor/control receives the ISOLATE signal from the IOVA error detector 44, or the protocol checker logic 46, the error monitor/control logic 68 determines the device(s) 32 to be isolated and similarly transmits the IDLE—REQUEST signal and monitors the received STATUS signal, transmitting the device isolation signal to the hot-plug logic 66 requesting that the identified device(s) 32 be isolated from the bus 12. Likewise, if the error monitor/control logic 68 reads error bits from the bus error registers 64 indicating the occurrence of an error on the bus 12, the error monitor/control logic 68 isolates the appropriate device(s) 32 as previously described.
In some instances, the isolation control logic 36 does not receive the STATUS signal within a predefined time period, and, in turn, generates the BROKEN signal indicating a faulty bus (step 150). In one embodiment, the time-out error is reported as a protocol violation by the protocol-checker logic 46. In another embodiment the isolation control logic 36 includes a timing circuit that measures elapsed time from the time when the isolation control logic 36 receives the isolate device signal, until the time that the isolation control logic provides the isolation switch control signal. As previously described referring to
In yet another embodiment, in response to receiving the device isolation signal and observing that the measured elapsed time has surpassed the predefined timeout threshold, the output provided by the isolation control logic 36 and directed toward the bus controller 50 is a bus controller reset signal to the input of the bus controller 50. In response to the bus controller reset signal, the bus controller 50 performs a reset operation, bringing the bus 12 to an operational and idle state, ready to continue supporting bus transactions. The bus reset operation clears the bus 12 when the bus 12 has become unusable, or “wedged,” a condition where the device 32 participating in a bus transaction has failed in a manner that does not allow the device 32 to complete the bus transaction then in process.
In an example of one embodiment of the present invention, a device 32 is isolated in response to an error occurring in a PCI bus transaction. Information is communicated between devices 32 connected to a PCI bus 12 through bus transactions consisting, generally, of an address phase and a data phase. A bus-connected device 32 functions as a bus master by requesting access to the bus 12 from the bus controller. After receiving a grant of access to the bus 12, the bus master initiates one or more transactions addressed to one or more target devices 32. A PCI bus includes a number of parallel lines generally grouped into address and data, interface control, error reporting, arbitration and system signal groups. In particular, among other signals, the interface control signals include a cycle frame signal (FRAME#) indicating the beginning and duration of a bus access, an initiator ready signal (IRDY#) indicating the initiating agent's (bus master's) ability to complete the current data phase of the transaction, and a target ready signal (TRDY#) indicating the target agent's (target device's) ability to complete the current data phase of the transaction.
In this example, the error results from a target ready signal (TRDY#) time-out. That is, the device 32 functioning as the bus master asserts the FRAME# signal indicating the beginning of a bus transaction. The bus master drives the address lines with the address of the bus transaction and the command lines with the particular command (e.g., I/O device write or read) during the address phase of the bus transaction. Under normal operation, the bus master asserts the IRDY# signal and the device 32 functioning as the target asserts the TRDY# signal indicating that the master and target are ready to continue with the data phase(s) and complete the bus transaction. In this example, the target does not assert the TRDY# signal within a predetermined time period (e.g., eight clock cycles). The protocol checker logic 46 monitoring the PCI bus control lines, detects the TRDY# timeout and in response provides an ISOLATE signal output. The isolation control logic 36 receives the ISOLATE signal, determines which device(s) 32 should be isolated in response to the detected protocol violation and controls the appropriate isolation switch(es) 34 to isolate the corresponding device(s) 32.
In more detail, the error monitor and control logic 68 receives the ISOLATE signal from the protocol checker logic 46 indicating that a protocol violation has been detected. In response to the detected error, the error monitor and control logic 68 sets a bit, or series of bits, in the error registers 64, at substantially the same time that the error was detected causing the storage of certain information relating to the current bus transaction associated with the detected protocol violation. The error monitor and control logic 68 determines the faulty peripheral device(s) 32 associated with the protocol violation and sets the hardware error bit in the corresponding device state register 62 associated with the identified device indicating that the device(s) 32 is broken.
In this example, the bus interface logic 38 includes target identification logic identifying the target(s) of each bus transaction and providing the output TARGET—ID signal identifying those target(s). In other embodiments, the target identification logic may be included in the isolation control logic 36. The target identification logic of the bus interface logic 38 determines the target(s) of the bus transaction by inspecting the contents of the bus transaction. Specifically, for the PCI-bus example, the target detection logic reads the portions of the bus transaction associated with the address(es) of the target(s). From the address(es), the target detection logic determines target(s) identity by comparing the target memory location with a stored association of memory ranges with device(s) 32, the association established during an initial configuration of the PCI bus 12.
The error monitor and control logic 68 determining from the hardware error bit of the device state register 62 that a particular device(s) 32 should be isolated, sends a signal to the hot plug logic 66 identifying the particular device(s) 32 to be isolated from the bus 12. The hot plug logic 66, in turn, provides an output control signal(s) 37 to the appropriate isolation switch(es) 34. The isolation switch(es) 34 respond to the control signal by driving the electrical interconnections to the bus 12 of the faulty device(s) 32, to a high-impedance state, thus isolating the device 32 from the bus 12. At substantially the same time that the faulty device 32 is isolated from the system bus 12, the hot plug logic 66 notifies the isolation control logic 36 that the faulty device 32 has been isolated. Thus, a faulty peripheral device 32 connected to the system bus 12 failed, was identified, isolated from the system bus 12 and the system bus 12 was returned to an idle state without substantial interruption to normal system 10 processing.
Having shown the preferred embodiments, one skilled in the art will realize that many variations are possible within the scope and spirit of the claimed invention. It is therefor the intention to limit the invention only by the scope of the claims.
Number | Name | Date | Kind |
---|---|---|---|
3460094 | Pryor et al. | Aug 1969 | A |
3544973 | Borck, Jr. et al. | Dec 1970 | A |
3548176 | Shutler | Dec 1970 | A |
3548382 | Lichty et al. | Dec 1970 | A |
3609704 | Shurter | Sep 1971 | A |
3641505 | Artz et al. | Feb 1972 | A |
3705388 | Nishimoto | Dec 1972 | A |
3710324 | Cohen et al. | Jan 1973 | A |
3736566 | Anderson et al. | May 1973 | A |
3795901 | Boehm et al. | Mar 1974 | A |
3805039 | Stiffler | Apr 1974 | A |
3820079 | Bergh et al. | Jun 1974 | A |
3840861 | Amdahl et al. | Oct 1974 | A |
3893084 | Kotok et al. | Jul 1975 | A |
3997896 | Cassarino, Jr. et al. | Dec 1976 | A |
4015246 | Hopkins, Jr. et al. | Mar 1977 | A |
4032893 | Moran | Jun 1977 | A |
4059736 | Perucca et al. | Nov 1977 | A |
4164787 | Aranguren | Aug 1979 | A |
4228496 | Katzman et al. | Oct 1980 | A |
4245344 | Richter | Jan 1981 | A |
4263649 | Lapp, Jr. | Apr 1981 | A |
4275440 | Adams, Jr. et al. | Jun 1981 | A |
4309754 | Dinwiddie, Jr. | Jan 1982 | A |
4356550 | Katzman et al. | Oct 1982 | A |
4365295 | Katzman et al. | Dec 1982 | A |
4366535 | Cedolin et al. | Dec 1982 | A |
4434463 | Quinquis et al. | Feb 1984 | A |
4449182 | Rubinson et al. | May 1984 | A |
4453215 | Reid | Jun 1984 | A |
4466098 | Southard | Aug 1984 | A |
4467436 | Chance et al. | Aug 1984 | A |
4484273 | Stiffler et al. | Nov 1984 | A |
4486826 | Wolff et al. | Dec 1984 | A |
4503496 | Holzner et al. | Mar 1985 | A |
4543628 | Pomfret | Sep 1985 | A |
4590554 | Glazer et al. | May 1986 | A |
4597084 | Dynneson et al. | Jun 1986 | A |
4608631 | Stiffler et al. | Aug 1986 | A |
4628447 | Cartret et al. | Dec 1986 | A |
4630193 | Kris | Dec 1986 | A |
4633394 | Georgiou et al. | Dec 1986 | A |
4654857 | Samson et al. | Mar 1987 | A |
4669056 | Waldecker et al. | May 1987 | A |
4669079 | Blum | May 1987 | A |
4695975 | Bedrij | Sep 1987 | A |
4700292 | Campanini | Oct 1987 | A |
4700348 | Ise et al. | Oct 1987 | A |
4703420 | Irwin | Oct 1987 | A |
4716523 | Burrus, Jr. et al. | Dec 1987 | A |
4750177 | Hendrie et al. | Jun 1988 | A |
4805091 | Thiel et al. | Feb 1989 | A |
4809169 | Sfarti et al. | Feb 1989 | A |
4816990 | Williams | Mar 1989 | A |
4827409 | Dickson | May 1989 | A |
4835737 | Herrig et al. | May 1989 | A |
4866604 | Reid | Sep 1989 | A |
4914580 | Jensen et al. | Apr 1990 | A |
4916695 | Ossfeldt | Apr 1990 | A |
4924427 | Savage et al. | May 1990 | A |
4926315 | Long et al. | May 1990 | A |
4931922 | Baty et al. | Jun 1990 | A |
4939643 | Long et al. | Jul 1990 | A |
4942517 | Cok | Jul 1990 | A |
4942519 | Nakayama | Jul 1990 | A |
4965717 | Cutts, Jr. et al. | Oct 1990 | A |
4974144 | Long et al. | Nov 1990 | A |
4974150 | Long et al. | Nov 1990 | A |
4985830 | Atac et al. | Jan 1991 | A |
4993030 | Krakauer et al. | Feb 1991 | A |
4994960 | Tuchler et al. | Feb 1991 | A |
4999787 | McNally et al. | Mar 1991 | A |
5083258 | Yamasaki | Jan 1992 | A |
5115490 | Komuro et al. | May 1992 | A |
5117486 | Clark et al. | May 1992 | A |
5138257 | Katsura | Aug 1992 | A |
5175855 | Putnam et al. | Dec 1992 | A |
5179663 | Iimura | Jan 1993 | A |
5193162 | Bordsen et al. | Mar 1993 | A |
5193180 | Hastings | Mar 1993 | A |
5195040 | Goldsmith | Mar 1993 | A |
5231640 | Hanson et al. | Jul 1993 | A |
5243704 | Baty et al. | Sep 1993 | A |
5247522 | Reiff | Sep 1993 | A |
5251303 | Fogg, Jr. et al. | Oct 1993 | A |
5270699 | Signaigo et al. | Dec 1993 | A |
5272584 | Austruy et al. | Dec 1993 | A |
5276860 | Fortier et al. | Jan 1994 | A |
5280612 | Lorie et al. | Jan 1994 | A |
5280619 | Wang | Jan 1994 | A |
5295258 | Jewett et al. | Mar 1994 | A |
5313627 | Amini et al. | May 1994 | A |
5317726 | Horst | May 1994 | A |
5321706 | Holm et al. | Jun 1994 | A |
5335334 | Takahashi et al. | Aug 1994 | A |
5357612 | Alaiwan | Oct 1994 | A |
5386524 | Lary et al. | Jan 1995 | A |
5404361 | Casorso et al. | Apr 1995 | A |
5418404 | Araoka et al. | May 1995 | A |
5423037 | Hvasshovd | Jun 1995 | A |
5423046 | Nunnelley et al. | Jun 1995 | A |
5426747 | Weinreb et al. | Jun 1995 | A |
5428766 | Seaman | Jun 1995 | A |
5440727 | Bhide et al. | Aug 1995 | A |
5440732 | Lomet et al. | Aug 1995 | A |
5463755 | Dumarot et al. | Oct 1995 | A |
5465340 | Creedon et al. | Nov 1995 | A |
5475860 | Ellison et al. | Dec 1995 | A |
5497476 | Oldfield et al. | Mar 1996 | A |
5504873 | Martin et al. | Apr 1996 | A |
5513314 | Kandasamy et al. | Apr 1996 | A |
5530302 | Hamre et al. | Jun 1996 | A |
5537535 | Maruyama et al. | Jul 1996 | A |
5550986 | DuLac | Aug 1996 | A |
5555372 | Tetreault et al. | Sep 1996 | A |
5555404 | Torbjørnsen et al. | Sep 1996 | A |
5557770 | Bhide et al. | Sep 1996 | A |
5566316 | Fechner et al. | Oct 1996 | A |
5568629 | Gentry et al. | Oct 1996 | A |
5572685 | Fisher et al. | Nov 1996 | A |
5574865 | Hashemi | Nov 1996 | A |
5584008 | Shimada et al. | Dec 1996 | A |
5584018 | Kamiyama | Dec 1996 | A |
5584030 | Husak et al. | Dec 1996 | A |
5586253 | Green et al. | Dec 1996 | A |
5586310 | Sharman | Dec 1996 | A |
5600784 | Bissett et al. | Feb 1997 | A |
5613162 | Kabenjian | Mar 1997 | A |
5627961 | Sharman | May 1997 | A |
5627965 | Liddell et al. | May 1997 | A |
5630056 | Horvath et al. | May 1997 | A |
5632031 | Velissaropoulos et al. | May 1997 | A |
5659681 | Ojima | Aug 1997 | A |
5664172 | Antoshenkov | Sep 1997 | A |
5671443 | Stauffer et al. | Sep 1997 | A |
5687392 | Radko | Nov 1997 | A |
5696905 | Reimer et al. | Dec 1997 | A |
5701410 | BeMent et al. | Dec 1997 | A |
5701457 | Fujiwara | Dec 1997 | A |
5737601 | Jain et al. | Apr 1998 | A |
5751955 | Sonnier et al. | May 1998 | A |
5758065 | Reams et al. | May 1998 | A |
5784576 | Guthrie et al. | Jul 1998 | A |
5809256 | Najemy | Sep 1998 | A |
5812748 | Ohran et al. | Sep 1998 | A |
5815647 | Buckland et al. | Sep 1998 | A |
5815649 | Utter et al. | Sep 1998 | A |
5828903 | Sethuram et al. | Oct 1998 | A |
5838899 | Leavitt et al. | Nov 1998 | A |
5838900 | Horvath et al. | Nov 1998 | A |
5838993 | Riley et al. | Nov 1998 | A |
5862145 | Grossman et al. | Jan 1999 | A |
5875308 | Egan et al. | Feb 1999 | A |
5875351 | Riley | Feb 1999 | A |
5881251 | Fung et al. | Mar 1999 | A |
5892928 | Wallach et al. | Apr 1999 | A |
5894560 | Carmichael et al. | Apr 1999 | A |
5928339 | Nishikawa | Jul 1999 | A |
5944800 | Mattheis et al. | Aug 1999 | A |
5953538 | Duncan et al. | Sep 1999 | A |
5953742 | Williams | Sep 1999 | A |
5956476 | Ranson et al. | Sep 1999 | A |
5956756 | Khalidi et al. | Sep 1999 | A |
5978866 | Nain | Nov 1999 | A |
5982672 | Moon et al. | Nov 1999 | A |
5983289 | Ishikawa et al. | Nov 1999 | A |
5991158 | Chan et al. | Nov 1999 | A |
5991900 | Garnett | Nov 1999 | A |
5996035 | Allen et al. | Nov 1999 | A |
6000043 | Abramson | Dec 1999 | A |
6009535 | Halligan et al. | Dec 1999 | A |
6012106 | Schumann et al. | Jan 2000 | A |
6012120 | Duncan et al. | Jan 2000 | A |
6021456 | Herdeg et al. | Feb 2000 | A |
6026458 | Rasums | Feb 2000 | A |
6032271 | Goodrum et al. | Feb 2000 | A |
6041375 | Bass et al. | Mar 2000 | A |
6047343 | Olarig | Apr 2000 | A |
6049894 | Gates | Apr 2000 | A |
6055584 | Bridges et al. | Apr 2000 | A |
6062480 | Evoy | May 2000 | A |
6073196 | Goodrum et al. | Jun 2000 | A |
6098137 | Goodrum et al. | Aug 2000 | A |
6105075 | Ghaffari | Aug 2000 | A |
6125417 | Bailis et al. | Sep 2000 | A |
6128711 | Duncan et al. | Oct 2000 | A |
6138198 | Garnett et al. | Oct 2000 | A |
6141711 | Shah et al. | Oct 2000 | A |
6141722 | Parsons | Oct 2000 | A |
6141744 | Wing So | Oct 2000 | A |
6141769 | Petivan et al. | Oct 2000 | A |
6170029 | Kelley et al. | Jan 2001 | B1 |
6232676 | Kozyra et al. | May 2001 | B1 |
6321286 | Goodrum et al. | Nov 2001 | B1 |
6363452 | Lach | Mar 2002 | B1 |
6453429 | Sadana | Sep 2002 | B1 |
6484227 | Mergard et al. | Nov 2002 | B1 |
6487623 | Emerson et al. | Nov 2002 | B1 |
6546483 | Lai | Apr 2003 | B1 |
6598106 | Grieshaber et al. | Jul 2003 | B1 |
6658507 | Chan | Dec 2003 | B1 |
6708283 | Nelvin et al. | Mar 2004 | B1 |
20020129303 | Karppanen | Sep 2002 | A1 |
20020156954 | Edwards | Oct 2002 | A1 |
Number | Date | Country |
---|---|---|
0 301 499 | Feb 1989 | EP |
0 428 330 | May 1991 | EP |
0 428 330 | May 1991 | EP |
0 406 759 | Sep 1991 | EP |
0 486 172 | May 1992 | EP |
0 534 675 | Mar 1993 | EP |
0 475 005 | Nov 1995 | EP |
0 293 860 | Feb 1996 | EP |
0 390 567 | Jun 1999 | EP |
2 060 229 | Apr 1981 | GB |
Number | Date | Country | |
---|---|---|---|
20020194548 A1 | Dec 2002 | US |