CN1202482C - Hot plug interval design method based on compact periphery components interconnecting bus system - Google Patents

Hot plug interval design method based on compact periphery components interconnecting bus system Download PDF

Info

Publication number
CN1202482C
CN1202482C CN 02123514 CN02123514A CN1202482C CN 1202482 C CN1202482 C CN 1202482C CN 02123514 CN02123514 CN 02123514 CN 02123514 A CN02123514 A CN 02123514A CN 1202482 C CN1202482 C CN 1202482C
Authority
CN
China
Prior art keywords
hot plug
interruption
interface board
board
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 02123514
Other languages
Chinese (zh)
Other versions
CN1464408A (en
Inventor
张键
付汉杰
马华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 02123514 priority Critical patent/CN1202482C/en
Publication of CN1464408A publication Critical patent/CN1464408A/en
Application granted granted Critical
Publication of CN1202482C publication Critical patent/CN1202482C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a hot plug interruption design method based on a compact peripheral component interconnection bus system, more specifically an ENUM interruption line connection method. In the method, each interruption line of hot plug interruption of each interface board of the system is connected to an interrupt controller of a system board through an independent signal line; thus, when the interface board generates interruption, the system board can directly determine the interface board which generate the interruption, a corresponding interruption processing routine is executed, and a primary lock control line of a hot plug control device of the interface board is set to be Disable. By the proposal of the present invention, system hangs and data processing delay because of the processing of the system to the hot plug interruption of the interface boards can be effectively avoided.

Description

Hot plug interrupt method for designing based on compact periphery components interconnecting bus system
Technical field
The present invention relates to the hot plug interrupt method for designing of computing machine and communication system, relate in particular to hot plug interrupt method for designing based on compact periphery components interconnecting bus (cpci bus) system.
Background technology
CPCI (Compact PCI, PCI:Peripheral Component Interconnect) bus is a kind of industrial control computer bus standard, it is based on the PCI technology, and abides by a series of bus specifications that PICMG (PCI Industrial Computers Manufacturers Group) organizes to set up.In PICMG 2.0 D3.0 versions, the PICMG tissue defines the hot plug interrupt (ENUM) of CPCI system.In the CPCI system, in order to make each veneer of system (refer to peripheral cards Periphery Card or nonsystematic plate Non-system Board, be the veneer that is used to provide external interface and business processing in the CPCI system) cooperating, on its CPCI interface chip (this paper refers in particular to the chip that the interface board local bus links to each other with cpci bus), have some restrictions, limit as " primary side locking " (Primary lockOut).When pci interface chip was in Primary lockOut state, it will respond but can be produced " target device retry " (target retry) configuration cycle not to the address cycle generation response of CPCI system.In addition, because the veneer of system may be in nondeterministic statement, and the definition of existing ENUM can make system that the veneer of nondeterministic statement is inquired about, and the delay that so can cause system data to handle can cause system crash when serious.
For example, according to the regulation of PICMG 2.0 D3.0 standards, the ENUM interrupt line of all veneers connects together in the CPCI system, with reference to figure 2.Therefore receiving ENUM when the CPCI system will work when interrupting according to the following steps: interface board sends ENUM and interrupts, and has no progeny during system board is received, with the status register that reads in proper order on the interface board, produces the interface board that interrupts until finding.The ENUM of interface board interrupts driving generation by pci interface among Fig. 2, and system board is had no progeny in receiving ENUM and will be inquired about the corresponding registers state of pci interface driver.Because system board must repeating query total interface plate (by PCI configuration cycle), until find produce the interface board that ENUM interrupts till.If the situation that exists CPCI side (being primary side) to pin in the interface board of repeating query, promptly pci interface chip is in Primary lockOut state, will cause system board to hang up, even system crash.With the model of Intel Company is that 21554 pci interface chip is an example, chip controls 0 register (Chip Control 0 Register) is arranged in 21554 chips, and this register has one to be " primary side visit locking " (Primary Access lockOut) position.When this position is changed to ' 1 ', 21554 chips will produce " target device retry " (target retry) operation.If system board is initiated PCI configuration cycle to the interface board that is in this state, because interface board produces target retry, system will produce retry (retry) operation on hardware like this.Cpci bus can be in suspended state during the retry, all will cause system crash if repeatedly this situation or system board house dog software are overtime etc.
Summary of the invention
The object of the present invention is to provide a kind of method for designing of the hot plug interrupt based on compact periphery components interconnecting bus system, the system that the processing of using this method can effectively avoid the ENUM owing to system docking mouth veneer to interrupt causes hangs up and data processing postpones.
For achieving the above object, the method for designing based on the hot plug interrupt of compressing periphery components interconnecting bus system provided by the invention comprises:
A. the independent interrupt line of each interface board hot plug interrupt of system is connected respectively to the interruptable controller of system board;
B. when a certain interface board generation hot plug interrupt, system board is determined to produce the interface board that interrupts by interruptable controller, enters corresponding interrupt handling routine then, and it is invalid that " primary side locking " control line that produces the interface board of interruption simultaneously is set to.
Because the present invention will be connected respectively to the interruptable controller of system board based on the ENUM look-at-me line of each interface board in the system of cpci bus, receive among the ENUM when system board like this and have no progeny, just can determine to produce the interface board that interrupts by interruptable controller, thereby prevent that existing hot plug interrupt method is in order to determine to produce the interface board that ENUM interrupts, and visit is in the interface board of Primarylockout state in the repeating query process, thereby the hang-up of the cpci bus that causes reduces system board simultaneously and handles may delaying time of ENUM interruption.
Description of drawings
Fig. 1 is the embodiment process flow diagram of the method for the invention;
The ENUM bus schemes of the original hot plug interrupt of Fig. 2.
The ENUM interrupt line connectivity scenario of the point-to-point that the described embodiment of Fig. 3 Fig. 1 adopts.
Embodiment
For solving prior art problems, the present invention has adopted two measures in fact, and the one, make system board not be configured visit to the interface board that is in Primary lockout state; The 2nd, shorten time of the Primary lockout state of interface board as far as possible.
The present invention is described in further detail below in conjunction with accompanying drawing.
Fig. 1 is the embodiment process flow diagram of the method for the invention.Implement the present invention according to Fig. 1 and need carry out two steps: at first, in order to guarantee that system board is not configured visit to the interface board that is in Primary lockout, just must guarantee system board to the not clear interface board initiation configuration access of state, system is the ENUM interruption which piece interface board produces with regard to locating when interface board produces the ENUM interruption.Therefore, in step 1 interrupt line of each interface board hot plug interrupt of system is connected respectively to the interruptable controller of system board, with reference to figure 3.As shown in Figure 3, after the ENUM interruption changes the connected mode of point-to-point into by original ENUM bus mode, when interface board produces the ENUM interruption, system board can know which piece interface board has produced the ENUM interruption by corresponding interruptable controller, thereby can prevent that system board from conducting interviews to the not clear interface board of state.
Based on step 1, when interface board took place to interrupt, system board was determined to produce the interface board that interrupts by interruptable controller, enters corresponding interrupt handling routine then.If system board received the ENUM of interface board and interrupted and entered interrupt service routine, and interface board has at this moment entered Primary lockOut state because of certain reason (as the people for resetting etc.).Because system board will dock oralia and carry out the PCI configuration operation, can produce the hang-up of cpci bus equally.For preventing the appearance of the problems referred to above, be set to invalid (Disable) at " primary side locking " (Primary lockOut) of step 2 interface board control line, so just can shorten the time that interface board has entered Primary lockOut state, become minimum probability event thereby will produce unusual chance.

Claims (1)

1, a kind of method for designing of the hot plug interrupt based on compact periphery components interconnecting bus system comprises:
A. the independent interrupt line of each interface board hot plug interrupt of system is connected respectively to the interruptable controller of system board;
B. when a certain interface board generation hot plug interrupt, system board is determined to produce the interface board that interrupts by interruptable controller, enters corresponding interrupt handling routine then, and it is invalid that " primary side locking " control line that produces the interface board of interruption simultaneously is set to.
CN 02123514 2002-06-28 2002-06-28 Hot plug interval design method based on compact periphery components interconnecting bus system Expired - Fee Related CN1202482C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02123514 CN1202482C (en) 2002-06-28 2002-06-28 Hot plug interval design method based on compact periphery components interconnecting bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02123514 CN1202482C (en) 2002-06-28 2002-06-28 Hot plug interval design method based on compact periphery components interconnecting bus system

Publications (2)

Publication Number Publication Date
CN1464408A CN1464408A (en) 2003-12-31
CN1202482C true CN1202482C (en) 2005-05-18

Family

ID=29743563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02123514 Expired - Fee Related CN1202482C (en) 2002-06-28 2002-06-28 Hot plug interval design method based on compact periphery components interconnecting bus system

Country Status (1)

Country Link
CN (1) CN1202482C (en)

Also Published As

Publication number Publication date
CN1464408A (en) 2003-12-31

Similar Documents

Publication Publication Date Title
US5898861A (en) Transparent keyboard hot plug
JP3838278B2 (en) Bridge circuit between two buses of a computer system
US7548994B2 (en) Disk initiated asynchronous event notification in an information handling system
US7260749B2 (en) Hot plug interfaces and failure handling
CN101604301B (en) Use of bond option to alternate between pci configuration space
US20040059852A1 (en) System and method of mastering a serial bus
US20040003322A1 (en) Method and apparatus for maintaining data integrity using a system management processor
CN101667152A (en) Computer system and method for monitoring bus of same
US5764660A (en) Processor independent error checking arrangement
CN1303545C (en) Aggregation of hardware events in multi-node systems
EP0775959A2 (en) Method and apparatus for optimizing PCI interrupt binding and associated latency in extended/bridged PCI busses
CN102778927A (en) Electronic device and universal serial bus 3.0 module
EP0575042A1 (en) Physical partitioning of logically continuous bus
US7343526B2 (en) Low cost compliance test system and method
CN106502951A (en) PCIE interface data ferry-boat card and its method for ferry-boat data
CN102063341A (en) High-density server
CN1202482C (en) Hot plug interval design method based on compact periphery components interconnecting bus system
CN100498731C (en) Process for basic input output system supporting vertical card
CN100414526C (en) Method and device for automatically adjusting bus width
JPH09146875A (en) Separation of adaptor card slot for hot plugging
US5293589A (en) Circuit with predetermined delay for selectively relaying interrupt signals through a daisy-chain of linked modules upon removal of a module from a slot
CN103207850B (en) The transmission system of heterogeneous device
CN100454232C (en) Notebook computer system and method of operating the system
CN1414489A (en) Basic system connected with end-to-end joint bus and its control method
CN1560748A (en) Drive method of USB interface

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050518

Termination date: 20150628

EXPY Termination of patent right or utility model