USPatent applicationPatented

System for detection and routing of platform events in a multi-cell computer

Granted 21 Jun 2005 · no office action yet

Current assignee: Hewlett Packard Enterprise Development LP · originally Hewlett Packard Enterprise

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Edward A Cross, Christopher S Kroeger, Michael S Allison · Examiner: Lynne H. Browne · AU 2116 · TC 2100

Life of the application

8 dated events
⤢ drag to zoom20022004200620082010201220142016201820202022ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A system for providing notification, to the associated operating system, of removal and replacement of I/O devices during operation of a multiprocessor computer system running multiple operating systems. The system includes a plurality of cells, each containing multiple RISC processors, low-level I/O firmware, a local service processor, scratch RAM, external registers, a memory and I/O manager, and interfacing hardware. Each partition comprises one or more cells and runs its own operating system (OS). Each cell is connected to a peripheral backplane containing a plurality of peripheral I/O card slots via a switch on the system backplane, which also connects the cell to a supervisory processor, which sends card slot status information to the appropriate cell. Each I/O (typically PCI) card slot has an associated latch which provides an indication, to the supervisory processor, that a platform event has occurred. Platform events include inserting or removing an I/O (peripheral device interface) card to/from a card slot, and opening an access panel that provides access to the I/O cards.

Description

5 parts
›FIELD OF THE INVENTION

The present invention relates generally to computer systems, and more particularly, to a system that provides notification, to the associated operating system, of removal and replacement of I/O devices during operation of a multiple cell, multiprocessor computer system running multiple operating systems.

›BACKGROUND OF THE INVENTION

Statement Of The Problem

In a computer system comprising multiple processors and operating systems, there are a number of problems associated with removing and inserting (swapping) cards containing I/O (or other) devices while the system is operating. These problems include detection of card removal and insertion, and providing notification thereof to the operating systems associated with the card slots containing the particular cards being swapped.

In addition, when access to these I/O cards is gained via intrusion into a cabinet containing the cards, most previously known computer systems typically ignore the intrusion and risk computer system failure if a card is removed while the system is running.

Furthermore, these prior systems also typically perform I/O device discovery every time the systems are re-booted, since they are unable to determine whether I/O devices were added or removed prior to a particular boot operation, and are thus unable to determine the I/O device configuration at boot time without re-scanning for I/O devices.

Previous computer systems having multiple processors and operating systems have also not effectively dealt with other problems presented by detection and routing of platform events associated with the insertion and removal of I/O cards while the system is operating.

An additional problem is encountered in prior systems having latches that indicate when an I/O card has been removed from its slot. When an I/O card is removed from a slot, the slot associated with the latch causes the power to the slot to be turned off. Once the slot is detected by the system as being powered down, it is marked as deconfigured. Therefore, after a card is re-inserted in the slot, the slot (i.e., the card) is not available for use until after a re-boot operation on the partition is performed, and the slot is reset.

Solution To The Problem

The present system solves the above problems and achieves an advance in the field by providing a mechanism for removing and installing I/O hardware while a computer system is operating. The system includes a novel method for detecting and routing information concerning the occurrence of events associated with the removal and replacement of system I/O cards from their respective slots.

The architecture of the present system includes one or more partitions, each including a plurality of cells, each containing multiple RISC processors, low-level I/O firmware, a local service processor, scratch RAM, external registers, a memory and I/O manager, and interfacing hardware. Each partition runs its own operating system (OS).

Each cell is connected to a peripheral backplane containing a plurality of peripheral I/O card slots via a switch on the system backplane, which also connects the cell to a supervisory processor, which sends card slot status information to the appropriate cell.

Each I/O (typically PCI) card slot has an associated latch which provides an indication, to the supervisory processor, that a platform event has occurred. Platform events include inserting or removing an I/O (peripheral device interface) card to/from a card slot, and opening an access panel that provides access to the I/O cards. The access panel has an intrusion door with a latch connected to a switch for indicating the open or closed state of the intrusion door. A ‘doorbell’ button is located adjacent to each card slot for indicating that a user is ready to remove an I/O card from the slot.

When a platform event occurs, the supervisory processor notifies the local service processor in the cell containing the firmware and OS responsible for controlling the card associated with the particular event. The local service processor then notifies the firmware and OS responsible for the relevant slot. The supervisory processor has knowledge of which partition should be notified of particular events, so it notifies only the service processors in the relevant partition. Communication between the supervisory processor, local service processor, and firmware is accomplished via scratch RAM, which is cheaper than general purpose hardware registers.

More specifically, when a doorbell button is pressed, the following sequence takes place:

(a) An interrupt is generated that notifies the supervisory processor of the event; (b) the supervisory processor sends a ‘doorbell pressed’ message to the local service processor on the cells containing the OS responsible for the relevant I/O card slot; (c) the local service processor indicates the doorbell status by writing a message to scratch RAM, and also by causing an interrupt to be sent to the OS on its cell board; (d) the OS then calls the firmware to get the specific doorbell event; (e) the firmware notifies the OS of the specific slot that is associated with the doorbell event; and (f) the I/O driver for the slot is shut down and the slot/resident board is powered off.

The board may then be removed from the slot for replacement. When a board is re-inserted into the slot, a latch interrupt is generated, and the following steps are performed:

(a) The interrupt notifies the supervisory processor of the event; (b) the supervisory processor sends a ‘latch open’ message to the local service processor on the cells containing the OS responsible for the relevant I/O card slot; (c) the local service processor indicates the latch status by writing a message to scratch RAM, and also by causing an interrupt to be sent to the OS; (d) the OS then calls the firmware to get the specific latch event; (e) the firmware notifies the OS of the specific slot that is associated with the latch event; and (f) the I/O driver for the slot is enabled and the slot/resident board is powered up.

Therefore, after a card is re-inserted in the slot, the card is available for use, without waiting for a re-boot operation on the partition.

A further aspect of the present system is the inclusion of an intrusion latch on the access panel to the cabinet containing the I/O cards. When the access panel is opened, the supervisory processor is notified of the event. Intrusion events are reported to the appropriate OS in a manner similar to the doorbell and latch events described above. If no intrusion is detected between successive boot operations, boot time is significantly reduced by avoiding initial scanning for non-existent devices. The present method handles intrusion events by reporting an event only once to the appropriate entities.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating exemplary components of a multi-cell computer for which the present system provides detection and routing of platform events to each cell;

FIG. 2A is a flowchart illustrating exemplary steps performed in detection and routing of intrusion events;

FIG. 2B is a flowchart illustrating, in greater detail, exemplary steps performed in intrusion event handling;

FIG. 3 is a flowchart illustrating exemplary steps performed when a ‘doorbell’ is pressed;

FIG. 4 is a flowchart illustrating exemplary steps performed during the latch initialization process; and

FIG. 5 is a flowchart illustrating exemplary steps performed when a latch on a card slot is opened or closed during normal operation.

›DETAILED DESCRIPTION · 1 of 2

FIG. 1 is a block diagram illustrating an exemplary embodiment of the present multi-cell computer system 100 which provides detection and routing of platform events for each cell 101 in the system. As used herein, the term ‘cell’ refers to an entity (typically a single board) comprising a group of processors 106 that share memory and I/O resources. A plurality of cells 101 may be combined, as a partition, to execute one instance of an operating system 103 . As shown in FIG. 1 , system 100 comprises a plurality of cells 101 connected, via switch 112 in system backplane 110 , to a plurality of I/O card slots 150 in PCI (I/O card) backplane 120 . Note that where there is a plurality of similar devices, a single one of the devices is hereinafter denoted by a reference number followed by a wild card symbol; e.g., cell 101 * represents any one of the cells 101 ( 1 )- 101 ( n ); the plurality of similar devices is simply denoted by the reference number only.

System 100 also includes a supervisory processor 130 , core I/O devices 140 , and mass storage 114 interconnected, via system backplane 110 and switch 112 , with cells 101 and PCI backplane 120 . Each cell 101 * includes a one or more main processors 106 (typically 4), a local service processor 105 , external hardware registers 107 , memory & I/O manager 109 , scratch RAM 104 , and interfacing hardware 108 . Each main processor 106 * in a given partition is associated with one instance of the OS (operating system) 103 . Each processor 106 has associated firmware, hereinafter referred to as platform dependent code (PDC) 102 , for managing low-level I/O functions including booting the OS 103 across one or more cells 101 . There is one PDC image per cell, therefore all processors 106 in a given cell 101 * share the same PDC 102 .

The supervisory processor, herein after referred to as the main service processor (MSP) 130 , performs functions including receiving notification of events and sending event information to each cell 101 *. Local service processor (LSP) 105 coordinates event handling between main service processor 130 and main processors 106 . In an exemplary embodiment, processors 106 * are RISC processors, which perform the major computing functions in system 100 .

Each card slot 150 * in PCI backplane 120 has a card insertion latch 165 * and a manually activated switch (e.g., a pushbutton switch) 155 * associated therewith. Switch 155 * functions as a ‘doorbell’ to provide notification to that a user is ready to replace an I/O card in one of the slots 150 *. Each group of card slots 150 is accessed through an access panel 170 , the open or closed condition of which is detectable via a switch 175 .

FIG. 2A is a flowchart illustrating, at a high level, exemplary steps performed in detection and routing of intrusion events. As shown in FIG. 2 , when access panel 170 is opened, at step 205 , switch 175 detects the intrusion, causing an interrupt to be generated. At step 210 , main service processor 130 is notified of the intrusion via the interrupt. At step 215 MSP 130 then sends an intrusion event message to local service processor 105 . Intrusion data comprises two types of information, both of which may be stored in external registers 107 . There is an event register indicating that intrusion has occurred since the event was last cleared, and an intrusion status register indicating current intrusion latch status. Intrusion latch status is always placed in an external register, and intrusion event data is stored either in an external register or in scratch RAM inter-communication memory (ICM) 104 . Local service processor 105 updates either external registers or ICM with intrusion event data, as explained below.

At step 220 , local service processor 105 sets the event-corresponding bit in the interrupt pending register. At step 225 , LSP notifies OS 103 of the intrusion event, and OS 103 then notifies PDC 102 . At step 230 , the intrusion event is cleared by PDC 102 , since all concerned entities have now been informed of the intrusion. At step 235 , main service processor 130 resets the intrusion state, for each affected card slot, in the intrusion status register.

After the next time the system is booted, at step 237 , a check is made of previously saved uncleared intrusion events or any new intrusion events by main service processor 130 , at step 240 , to determine whether an intrusion occurred since the last boot. If access panel 170 has not been opened since the previous boot, then, at step 245 , PDC 102 does not have to scan for new devices, since the device configuration is known to be unchanged. Therefore, by avoiding scanning for non-existent devices, the present system allows the boot process to occur more quickly when no intrusion has occurred between boot operations. If, however, it is determined that an intrusion occurred since the last boot, then at step 250 the previously pending interrupt is generated for the intrusion event, and PDC 102 scans for new devices, at step 255 .

FIG. 2B is a flowchart illustrating, in greater detail, exemplary steps performed in intrusion event handling. After main service processor 130 is notified of the intrusion event, and MSP 130 sends an intrusion event message to local service processor 105 (steps 210 and 215 ), then at step 216 , local service processor 105 checks to see if PDC 102 has signaled that the PDC code has initialized the shared memory communication path between the PDC and the main service processor 130 . In the present embodiment, this situation is indicated by an SM_GOOD signal from the PDC. If the shared memory (in FIG. 1 , block 108 ) has not been initialized, then at step 217 , local service processor 105 writes the intrusion event data to an external register 107 .

At step 218 , PDC 102 moves the intrusion event data in external register 107 to inter-communication memory (ICM) 104 of FIG. 1 . Intrusion event processing then continues at step 225 , described below.

If, at step 216 , it was determined that the shared memory has been initialized, then, at step 219 , local service processor 105 writes intrusion event data to ICM in block 104 . At step 220 , local service processor 105 sets the event-corresponding bit in the interrupt pending register, and at step 225 , OS 103 sends a message to PDC 102 (via an event handler) to clear the event from the event register. At step 230 , the intrusion event is cleared by PDC 102 at the request of the OS 103 . At step 235 , main service processor 130 resets the intrusion state, for each affected card slot, in the intrusion status register, and intrusion event processing continues at step 237 in FIG. 2A , as described above.

›DETAILED DESCRIPTION · 2 of 2

FIG. 3 is a flowchart illustrating exemplary steps performed when a ‘doorbell’ is pressed in system 100 . As shown in FIG. 3 , at step 305 , a user presses a ‘doorbell’ pushbutton switch 155 associated with a specific card slot 150 containing an I/O card that is to be removed, so that it can be repaired or replaced. At Step 310 , main service processor 130 is notified of the doorbell event by an interrupt generated when switch 155 was pressed. At step 315 , main service processor 130 then sends a message to only the local service processor 105 on the affected partition. More specifically, main service processor 130 sends a message to the LSP 105 in the cell 101 *associated with the card slot 150 for which the doorbell was pressed.

At step 320 , local service processor 105 writes the card slot identifying information (e.g., slot N) to an area in scratch RAM (ICM) 104 reserved for doorbell data. At step 325 , LSP 105 causes an interrupt for slot N to be sent to its associated OS 103 . When the interrupt is serviced, at step 330 , the OS issues a call to a PDC function to get the doorbell event from ICM 104 . The PDC function sends the doorbell event and physical location to the OS 103 , at step 335 .

At step 340 , the I/O driver(s) (located on core I/O card 140 ) for the slot 150 associated with the doorbell 155 is (are) quiesced. OS 103 then turns off power to card slot N, at step 345 , by notifying the appropriate controller (not shown) to power down the slot. At step 346 , an attention light 156 is optionally illuminated to notify the user that it is OK to remove the I/O board (in slot N) associated with the doorbell that was pressed. At step 350 , the board is removed from slot N, and at step 355 , a board is (re)inserted into the slot. Insertion of a board into the slot causes closure of a latch (switch) 165 associated with the slot, which in turn triggers a latch interrupt. This latch interrupt is sent to main service processor 130 at step 360 , and doorbell/latch processing continues at step 505 in FIG. 5 , as described below.

FIG. 4 is a flowchart illustrating exemplary steps performed during the latch initialization process, which takes place prior to I/O discovery. As shown in FIG. 4 , at step 405 , if a latch interrupt is generated (because a board was removed from its slot), main service processor 130 sends a status message to local service processor 105 . Note that the status message may, alternatively, indicate a doorbell or an intrusion event. If, at step 410 , PDC 102 has signaled (via an SM_GOOD signal) that the shared memory (in block 108 ) between the PDC and main service processor 130 has been initialized, then, at step 415 , local service processor 105 moves the event information in external registers 107 to ICM (scratch RAM) 104 , and latch initialization continues at step 423 . If the shared memory has not been initialized, then at step 420 , the event is ignored, since shared memory must be initialized prior to I/O discovery (at step 425 ). At step 423 , local service processor 105 sets the appropriate latch status bits in the interrupt pending register.

At step 425 , I/O discovery takes place. I/O discovery is part of the PDC boot process. During boot, PDC 102 initializes processors 106 , ICM 104 , and I/O devices. When the PDC finds and initializes I/O, the I/O discovery phase occurs. During this step, PDC 102 reads the latch status from ICM 104 . Next, at step 430 , PDC 102 checks the latch status for each card slot 150 . If a given latch 165 is closed, the PDC powers up the associated slot (step 440 ); if a given latch is open, the PDC does not power up the slot (step 435 ).

FIG. 5 is a flowchart illustrating exemplary steps performed when a latch on a card slot is opened or closed during normal operation of system 100 , i.e., when OS 103 has been booted and is running. As shown in FIG. 5 , at step 505 , if a latch interrupt is generated (because a board was removed from its slot), main service processor 130 sends a status message to local service processor 105 . The status message may, alternatively, indicate a doorbell or an intrusion event. If, at step 510 , PDC 102 has signaled (via an SM_GOOD signal) that the shared memory (in block 108 ) between the PDC and main service processor 130 has been initialized, then, at step 515 , local service processor 105 moves the event information in external registers 107 to ICM (scratch RAM) 104 , and latch initialization continues at step 523 . If the shared memory has not been initialized, then at step 520 , the event is ignored. At step 523 , local service processor 105 sets the appropriate latch status bits in the interrupt pending register.

At step 525 , OS 103 receives the interrupt and requests the latch status from PDC 102 . At step 530 , PDC 102 reads the latch status from ICM 104 . At step 531 , PDC 102 checks the latch status for each card slot 150 . If a given latch is open, the PDC does not power up the slot (step 532 ), if a given latch 165 is closed, then at step 533 , PDC 102 sends a slot “power down” message to OS 103 . At step 535 , OS 103 shuts down the I/O driver for the relevant slot 150 , and at step 540 , PDC 103 powers down the slot.

While exemplary embodiments of the present invention have been shown in the drawings and described above, it will be apparent to one skilled in the art that various embodiments of the present invention are possible. For example, the specific configuration of the system as shown in FIG. 1 , as well as the particular sequence of steps described above in FIGS. 2 through 5 should not be construed as limited to the specific embodiments described herein. Modification may be made to these and other specific elements of the invention without departing from its spirit and scope as expressed in the following claims.

Claims as granted

20 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

9 codes
IPC · International Patent Classification
Section G — Physics
  • G06F3/00
Section H — Electricity
  • H04L12/24
USPC · US Patent Classification
713/324710/301713/323713/300710/302713/320710/304

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2001Jan 2002Jul 2002Jan 2003Jul 2003Jan 2004Jul 2004Jan 2005Jul 2005USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
3.9 y
1,424 days filing → grant
Office actions
0
none on record
Interviews
1
examiner interview summaries
Examiner
Lynne H. Browne
art unit 2116 · TC 2100
Citations: 6 back · 8 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20022004200620082010201220142016201820202022Owner 2Owner 3
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock